public static final class Asset.SecurityCenterProperties.Builder extends GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder> implements Asset.SecurityCenterPropertiesOrBuilder
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.Protobuf type
google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
public Asset.SecurityCenterProperties.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
public Asset.SecurityCenterProperties getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Asset.SecurityCenterProperties build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Asset.SecurityCenterProperties buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Asset.SecurityCenterProperties.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
public Asset.SecurityCenterProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
public Asset.SecurityCenterProperties.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
public Asset.SecurityCenterProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
public Asset.SecurityCenterProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
public Asset.SecurityCenterProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
public Asset.SecurityCenterProperties.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Asset.SecurityCenterProperties.Builder>
public Asset.SecurityCenterProperties.Builder mergeFrom(Asset.SecurityCenterProperties other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
public Asset.SecurityCenterProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Asset.SecurityCenterProperties.Builder>
IOException
public String getResourceName()
Immutable. The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE];
getResourceName
in interface Asset.SecurityCenterPropertiesOrBuilder
public ByteString getResourceNameBytes()
Immutable. The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE];
getResourceNameBytes
in interface Asset.SecurityCenterPropertiesOrBuilder
public Asset.SecurityCenterProperties.Builder setResourceName(String value)
Immutable. The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE];
value
- The resourceName to set.public Asset.SecurityCenterProperties.Builder clearResourceName()
Immutable. The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE];
public Asset.SecurityCenterProperties.Builder setResourceNameBytes(ByteString value)
Immutable. The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE];
value
- The bytes for resourceName to set.public String getResourceType()
The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.
string resource_type = 2;
getResourceType
in interface Asset.SecurityCenterPropertiesOrBuilder
public ByteString getResourceTypeBytes()
The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.
string resource_type = 2;
getResourceTypeBytes
in interface Asset.SecurityCenterPropertiesOrBuilder
public Asset.SecurityCenterProperties.Builder setResourceType(String value)
The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.
string resource_type = 2;
value
- The resourceType to set.public Asset.SecurityCenterProperties.Builder clearResourceType()
The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.
string resource_type = 2;
public Asset.SecurityCenterProperties.Builder setResourceTypeBytes(ByteString value)
The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.
string resource_type = 2;
value
- The bytes for resourceType to set.public String getResourceParent()
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_parent = 3;
getResourceParent
in interface Asset.SecurityCenterPropertiesOrBuilder
public ByteString getResourceParentBytes()
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_parent = 3;
getResourceParentBytes
in interface Asset.SecurityCenterPropertiesOrBuilder
public Asset.SecurityCenterProperties.Builder setResourceParent(String value)
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_parent = 3;
value
- The resourceParent to set.public Asset.SecurityCenterProperties.Builder clearResourceParent()
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_parent = 3;
public Asset.SecurityCenterProperties.Builder setResourceParentBytes(ByteString value)
The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_parent = 3;
value
- The bytes for resourceParent to set.public String getResourceProject()
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_project = 4;
getResourceProject
in interface Asset.SecurityCenterPropertiesOrBuilder
public ByteString getResourceProjectBytes()
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_project = 4;
getResourceProjectBytes
in interface Asset.SecurityCenterPropertiesOrBuilder
public Asset.SecurityCenterProperties.Builder setResourceProject(String value)
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_project = 4;
value
- The resourceProject to set.public Asset.SecurityCenterProperties.Builder clearResourceProject()
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_project = 4;
public Asset.SecurityCenterProperties.Builder setResourceProjectBytes(ByteString value)
The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
string resource_project = 4;
value
- The bytes for resourceProject to set.public ProtocolStringList getResourceOwnersList()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
getResourceOwnersList
in interface Asset.SecurityCenterPropertiesOrBuilder
public int getResourceOwnersCount()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
getResourceOwnersCount
in interface Asset.SecurityCenterPropertiesOrBuilder
public String getResourceOwners(int index)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
getResourceOwners
in interface Asset.SecurityCenterPropertiesOrBuilder
index
- The index of the element to return.public ByteString getResourceOwnersBytes(int index)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
getResourceOwnersBytes
in interface Asset.SecurityCenterPropertiesOrBuilder
index
- The index of the value to return.public Asset.SecurityCenterProperties.Builder setResourceOwners(int index, String value)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
index
- The index to set the value at.value
- The resourceOwners to set.public Asset.SecurityCenterProperties.Builder addResourceOwners(String value)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
value
- The resourceOwners to add.public Asset.SecurityCenterProperties.Builder addAllResourceOwners(Iterable<String> values)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
values
- The resourceOwners to add.public Asset.SecurityCenterProperties.Builder clearResourceOwners()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
public Asset.SecurityCenterProperties.Builder addResourceOwnersBytes(ByteString value)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
value
- The bytes of the resourceOwners to add.public final Asset.SecurityCenterProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
public final Asset.SecurityCenterProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
Copyright © 2022 Google LLC. All rights reserved.