Class Asset.SecurityCenterProperties.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
- com.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties.Builder
-
- All Implemented Interfaces:
Asset.SecurityCenterPropertiesOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Asset.SecurityCenterProperties
public static final class Asset.SecurityCenterProperties.Builder extends com.google.protobuf.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 typegoogle.cloud.securitycenter.v1.Asset.SecurityCenterProperties
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Asset.SecurityCenterProperties.Builder
addAllFolders(Iterable<? extends Folder> values)
Contains a Folder message for each folder in the assets ancestry.Asset.SecurityCenterProperties.Builder
addAllResourceOwners(Iterable<String> values)
Owners of the Google Cloud resource.Asset.SecurityCenterProperties.Builder
addFolders(int index, Folder value)
Contains a Folder message for each folder in the assets ancestry.Asset.SecurityCenterProperties.Builder
addFolders(int index, Folder.Builder builderForValue)
Contains a Folder message for each folder in the assets ancestry.Asset.SecurityCenterProperties.Builder
addFolders(Folder value)
Contains a Folder message for each folder in the assets ancestry.Asset.SecurityCenterProperties.Builder
addFolders(Folder.Builder builderForValue)
Contains a Folder message for each folder in the assets ancestry.Folder.Builder
addFoldersBuilder()
Contains a Folder message for each folder in the assets ancestry.Folder.Builder
addFoldersBuilder(int index)
Contains a Folder message for each folder in the assets ancestry.Asset.SecurityCenterProperties.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Asset.SecurityCenterProperties.Builder
addResourceOwners(String value)
Owners of the Google Cloud resource.Asset.SecurityCenterProperties.Builder
addResourceOwnersBytes(com.google.protobuf.ByteString value)
Owners of the Google Cloud resource.Asset.SecurityCenterProperties
build()
Asset.SecurityCenterProperties
buildPartial()
Asset.SecurityCenterProperties.Builder
clear()
Asset.SecurityCenterProperties.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Asset.SecurityCenterProperties.Builder
clearFolders()
Contains a Folder message for each folder in the assets ancestry.Asset.SecurityCenterProperties.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Asset.SecurityCenterProperties.Builder
clearResourceDisplayName()
The user defined display name for this resource.Asset.SecurityCenterProperties.Builder
clearResourceName()
The full resource name of the Google Cloud resource this asset represents.Asset.SecurityCenterProperties.Builder
clearResourceOwners()
Owners of the Google Cloud resource.Asset.SecurityCenterProperties.Builder
clearResourceParent()
The full resource name of the immediate parent of the resource.Asset.SecurityCenterProperties.Builder
clearResourceParentDisplayName()
The user defined display name for the parent of this resource.Asset.SecurityCenterProperties.Builder
clearResourceProject()
The full resource name of the project the resource belongs to.Asset.SecurityCenterProperties.Builder
clearResourceProjectDisplayName()
The user defined display name for the project of this resource.Asset.SecurityCenterProperties.Builder
clearResourceType()
The type of the Google Cloud resource.Asset.SecurityCenterProperties.Builder
clone()
Asset.SecurityCenterProperties
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Folder
getFolders(int index)
Contains a Folder message for each folder in the assets ancestry.Folder.Builder
getFoldersBuilder(int index)
Contains a Folder message for each folder in the assets ancestry.List<Folder.Builder>
getFoldersBuilderList()
Contains a Folder message for each folder in the assets ancestry.int
getFoldersCount()
Contains a Folder message for each folder in the assets ancestry.List<Folder>
getFoldersList()
Contains a Folder message for each folder in the assets ancestry.FolderOrBuilder
getFoldersOrBuilder(int index)
Contains a Folder message for each folder in the assets ancestry.List<? extends FolderOrBuilder>
getFoldersOrBuilderList()
Contains a Folder message for each folder in the assets ancestry.String
getResourceDisplayName()
The user defined display name for this resource.com.google.protobuf.ByteString
getResourceDisplayNameBytes()
The user defined display name for this resource.String
getResourceName()
The full resource name of the Google Cloud resource this asset represents.com.google.protobuf.ByteString
getResourceNameBytes()
The full resource name of the Google Cloud resource this asset represents.String
getResourceOwners(int index)
Owners of the Google Cloud resource.com.google.protobuf.ByteString
getResourceOwnersBytes(int index)
Owners of the Google Cloud resource.int
getResourceOwnersCount()
Owners of the Google Cloud resource.com.google.protobuf.ProtocolStringList
getResourceOwnersList()
Owners of the Google Cloud resource.String
getResourceParent()
The full resource name of the immediate parent of the resource.com.google.protobuf.ByteString
getResourceParentBytes()
The full resource name of the immediate parent of the resource.String
getResourceParentDisplayName()
The user defined display name for the parent of this resource.com.google.protobuf.ByteString
getResourceParentDisplayNameBytes()
The user defined display name for the parent of this resource.String
getResourceProject()
The full resource name of the project the resource belongs to.com.google.protobuf.ByteString
getResourceProjectBytes()
The full resource name of the project the resource belongs to.String
getResourceProjectDisplayName()
The user defined display name for the project of this resource.com.google.protobuf.ByteString
getResourceProjectDisplayNameBytes()
The user defined display name for the project of this resource.String
getResourceType()
The type of the Google Cloud resource.com.google.protobuf.ByteString
getResourceTypeBytes()
The type of the Google Cloud resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Asset.SecurityCenterProperties.Builder
mergeFrom(Asset.SecurityCenterProperties other)
Asset.SecurityCenterProperties.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Asset.SecurityCenterProperties.Builder
mergeFrom(com.google.protobuf.Message other)
Asset.SecurityCenterProperties.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Asset.SecurityCenterProperties.Builder
removeFolders(int index)
Contains a Folder message for each folder in the assets ancestry.Asset.SecurityCenterProperties.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Asset.SecurityCenterProperties.Builder
setFolders(int index, Folder value)
Contains a Folder message for each folder in the assets ancestry.Asset.SecurityCenterProperties.Builder
setFolders(int index, Folder.Builder builderForValue)
Contains a Folder message for each folder in the assets ancestry.Asset.SecurityCenterProperties.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Asset.SecurityCenterProperties.Builder
setResourceDisplayName(String value)
The user defined display name for this resource.Asset.SecurityCenterProperties.Builder
setResourceDisplayNameBytes(com.google.protobuf.ByteString value)
The user defined display name for this resource.Asset.SecurityCenterProperties.Builder
setResourceName(String value)
The full resource name of the Google Cloud resource this asset represents.Asset.SecurityCenterProperties.Builder
setResourceNameBytes(com.google.protobuf.ByteString value)
The full resource name of the Google Cloud resource this asset represents.Asset.SecurityCenterProperties.Builder
setResourceOwners(int index, String value)
Owners of the Google Cloud resource.Asset.SecurityCenterProperties.Builder
setResourceParent(String value)
The full resource name of the immediate parent of the resource.Asset.SecurityCenterProperties.Builder
setResourceParentBytes(com.google.protobuf.ByteString value)
The full resource name of the immediate parent of the resource.Asset.SecurityCenterProperties.Builder
setResourceParentDisplayName(String value)
The user defined display name for the parent of this resource.Asset.SecurityCenterProperties.Builder
setResourceParentDisplayNameBytes(com.google.protobuf.ByteString value)
The user defined display name for the parent of this resource.Asset.SecurityCenterProperties.Builder
setResourceProject(String value)
The full resource name of the project the resource belongs to.Asset.SecurityCenterProperties.Builder
setResourceProjectBytes(com.google.protobuf.ByteString value)
The full resource name of the project the resource belongs to.Asset.SecurityCenterProperties.Builder
setResourceProjectDisplayName(String value)
The user defined display name for the project of this resource.Asset.SecurityCenterProperties.Builder
setResourceProjectDisplayNameBytes(com.google.protobuf.ByteString value)
The user defined display name for the project of this resource.Asset.SecurityCenterProperties.Builder
setResourceType(String value)
The type of the Google Cloud resource.Asset.SecurityCenterProperties.Builder
setResourceTypeBytes(com.google.protobuf.ByteString value)
The type of the Google Cloud resource.Asset.SecurityCenterProperties.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
clear
public Asset.SecurityCenterProperties.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
getDefaultInstanceForType
public Asset.SecurityCenterProperties getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Asset.SecurityCenterProperties build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Asset.SecurityCenterProperties buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Asset.SecurityCenterProperties.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
setField
public Asset.SecurityCenterProperties.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
clearField
public Asset.SecurityCenterProperties.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
clearOneof
public Asset.SecurityCenterProperties.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
setRepeatedField
public Asset.SecurityCenterProperties.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
addRepeatedField
public Asset.SecurityCenterProperties.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
mergeFrom
public Asset.SecurityCenterProperties.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Asset.SecurityCenterProperties.Builder>
-
mergeFrom
public Asset.SecurityCenterProperties.Builder mergeFrom(Asset.SecurityCenterProperties other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
mergeFrom
public Asset.SecurityCenterProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Asset.SecurityCenterProperties.Builder>
- Throws:
IOException
-
getResourceName
public String getResourceName()
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;
- Specified by:
getResourceName
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
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;
- Specified by:
getResourceNameBytes
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The bytes for resourceName.
-
setResourceName
public Asset.SecurityCenterProperties.Builder setResourceName(String value)
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;
- Parameters:
value
- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
public Asset.SecurityCenterProperties.Builder clearResourceName()
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;
- Returns:
- This builder for chaining.
-
setResourceNameBytes
public Asset.SecurityCenterProperties.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getResourceType
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;
- Specified by:
getResourceType
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The resourceType.
-
getResourceTypeBytes
public com.google.protobuf.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;
- Specified by:
getResourceTypeBytes
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The bytes for resourceType.
-
setResourceType
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;
- Parameters:
value
- The resourceType to set.- Returns:
- This builder for chaining.
-
clearResourceType
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;
- Returns:
- This builder for chaining.
-
setResourceTypeBytes
public Asset.SecurityCenterProperties.Builder setResourceTypeBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for resourceType to set.- Returns:
- This builder for chaining.
-
getResourceParent
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;
- Specified by:
getResourceParent
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The resourceParent.
-
getResourceParentBytes
public com.google.protobuf.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;
- Specified by:
getResourceParentBytes
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The bytes for resourceParent.
-
setResourceParent
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;
- Parameters:
value
- The resourceParent to set.- Returns:
- This builder for chaining.
-
clearResourceParent
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;
- Returns:
- This builder for chaining.
-
setResourceParentBytes
public Asset.SecurityCenterProperties.Builder setResourceParentBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for resourceParent to set.- Returns:
- This builder for chaining.
-
getResourceProject
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;
- Specified by:
getResourceProject
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The resourceProject.
-
getResourceProjectBytes
public com.google.protobuf.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;
- Specified by:
getResourceProjectBytes
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The bytes for resourceProject.
-
setResourceProject
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;
- Parameters:
value
- The resourceProject to set.- Returns:
- This builder for chaining.
-
clearResourceProject
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;
- Returns:
- This builder for chaining.
-
setResourceProjectBytes
public Asset.SecurityCenterProperties.Builder setResourceProjectBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for resourceProject to set.- Returns:
- This builder for chaining.
-
getResourceOwnersList
public com.google.protobuf.ProtocolStringList getResourceOwnersList()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Specified by:
getResourceOwnersList
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- A list containing the resourceOwners.
-
getResourceOwnersCount
public int getResourceOwnersCount()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Specified by:
getResourceOwnersCount
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The count of resourceOwners.
-
getResourceOwners
public String getResourceOwners(int index)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Specified by:
getResourceOwners
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The resourceOwners at the given index.
-
getResourceOwnersBytes
public com.google.protobuf.ByteString getResourceOwnersBytes(int index)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Specified by:
getResourceOwnersBytes
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the resourceOwners at the given index.
-
setResourceOwners
public Asset.SecurityCenterProperties.Builder setResourceOwners(int index, String value)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Parameters:
index
- The index to set the value at.value
- The resourceOwners to set.- Returns:
- This builder for chaining.
-
addResourceOwners
public Asset.SecurityCenterProperties.Builder addResourceOwners(String value)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Parameters:
value
- The resourceOwners to add.- Returns:
- This builder for chaining.
-
addAllResourceOwners
public Asset.SecurityCenterProperties.Builder addAllResourceOwners(Iterable<String> values)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Parameters:
values
- The resourceOwners to add.- Returns:
- This builder for chaining.
-
clearResourceOwners
public Asset.SecurityCenterProperties.Builder clearResourceOwners()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Returns:
- This builder for chaining.
-
addResourceOwnersBytes
public Asset.SecurityCenterProperties.Builder addResourceOwnersBytes(com.google.protobuf.ByteString value)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
- Parameters:
value
- The bytes of the resourceOwners to add.- Returns:
- This builder for chaining.
-
getResourceDisplayName
public String getResourceDisplayName()
The user defined display name for this resource.
string resource_display_name = 6;
- Specified by:
getResourceDisplayName
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The resourceDisplayName.
-
getResourceDisplayNameBytes
public com.google.protobuf.ByteString getResourceDisplayNameBytes()
The user defined display name for this resource.
string resource_display_name = 6;
- Specified by:
getResourceDisplayNameBytes
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The bytes for resourceDisplayName.
-
setResourceDisplayName
public Asset.SecurityCenterProperties.Builder setResourceDisplayName(String value)
The user defined display name for this resource.
string resource_display_name = 6;
- Parameters:
value
- The resourceDisplayName to set.- Returns:
- This builder for chaining.
-
clearResourceDisplayName
public Asset.SecurityCenterProperties.Builder clearResourceDisplayName()
The user defined display name for this resource.
string resource_display_name = 6;
- Returns:
- This builder for chaining.
-
setResourceDisplayNameBytes
public Asset.SecurityCenterProperties.Builder setResourceDisplayNameBytes(com.google.protobuf.ByteString value)
The user defined display name for this resource.
string resource_display_name = 6;
- Parameters:
value
- The bytes for resourceDisplayName to set.- Returns:
- This builder for chaining.
-
getResourceParentDisplayName
public String getResourceParentDisplayName()
The user defined display name for the parent of this resource.
string resource_parent_display_name = 7;
- Specified by:
getResourceParentDisplayName
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The resourceParentDisplayName.
-
getResourceParentDisplayNameBytes
public com.google.protobuf.ByteString getResourceParentDisplayNameBytes()
The user defined display name for the parent of this resource.
string resource_parent_display_name = 7;
- Specified by:
getResourceParentDisplayNameBytes
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The bytes for resourceParentDisplayName.
-
setResourceParentDisplayName
public Asset.SecurityCenterProperties.Builder setResourceParentDisplayName(String value)
The user defined display name for the parent of this resource.
string resource_parent_display_name = 7;
- Parameters:
value
- The resourceParentDisplayName to set.- Returns:
- This builder for chaining.
-
clearResourceParentDisplayName
public Asset.SecurityCenterProperties.Builder clearResourceParentDisplayName()
The user defined display name for the parent of this resource.
string resource_parent_display_name = 7;
- Returns:
- This builder for chaining.
-
setResourceParentDisplayNameBytes
public Asset.SecurityCenterProperties.Builder setResourceParentDisplayNameBytes(com.google.protobuf.ByteString value)
The user defined display name for the parent of this resource.
string resource_parent_display_name = 7;
- Parameters:
value
- The bytes for resourceParentDisplayName to set.- Returns:
- This builder for chaining.
-
getResourceProjectDisplayName
public String getResourceProjectDisplayName()
The user defined display name for the project of this resource.
string resource_project_display_name = 8;
- Specified by:
getResourceProjectDisplayName
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The resourceProjectDisplayName.
-
getResourceProjectDisplayNameBytes
public com.google.protobuf.ByteString getResourceProjectDisplayNameBytes()
The user defined display name for the project of this resource.
string resource_project_display_name = 8;
- Specified by:
getResourceProjectDisplayNameBytes
in interfaceAsset.SecurityCenterPropertiesOrBuilder
- Returns:
- The bytes for resourceProjectDisplayName.
-
setResourceProjectDisplayName
public Asset.SecurityCenterProperties.Builder setResourceProjectDisplayName(String value)
The user defined display name for the project of this resource.
string resource_project_display_name = 8;
- Parameters:
value
- The resourceProjectDisplayName to set.- Returns:
- This builder for chaining.
-
clearResourceProjectDisplayName
public Asset.SecurityCenterProperties.Builder clearResourceProjectDisplayName()
The user defined display name for the project of this resource.
string resource_project_display_name = 8;
- Returns:
- This builder for chaining.
-
setResourceProjectDisplayNameBytes
public Asset.SecurityCenterProperties.Builder setResourceProjectDisplayNameBytes(com.google.protobuf.ByteString value)
The user defined display name for the project of this resource.
string resource_project_display_name = 8;
- Parameters:
value
- The bytes for resourceProjectDisplayName to set.- Returns:
- This builder for chaining.
-
getFoldersList
public List<Folder> getFoldersList()
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
- Specified by:
getFoldersList
in interfaceAsset.SecurityCenterPropertiesOrBuilder
-
getFoldersCount
public int getFoldersCount()
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
- Specified by:
getFoldersCount
in interfaceAsset.SecurityCenterPropertiesOrBuilder
-
getFolders
public Folder getFolders(int index)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
- Specified by:
getFolders
in interfaceAsset.SecurityCenterPropertiesOrBuilder
-
setFolders
public Asset.SecurityCenterProperties.Builder setFolders(int index, Folder value)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
setFolders
public Asset.SecurityCenterProperties.Builder setFolders(int index, Folder.Builder builderForValue)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
addFolders
public Asset.SecurityCenterProperties.Builder addFolders(Folder value)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
addFolders
public Asset.SecurityCenterProperties.Builder addFolders(int index, Folder value)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
addFolders
public Asset.SecurityCenterProperties.Builder addFolders(Folder.Builder builderForValue)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
addFolders
public Asset.SecurityCenterProperties.Builder addFolders(int index, Folder.Builder builderForValue)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
addAllFolders
public Asset.SecurityCenterProperties.Builder addAllFolders(Iterable<? extends Folder> values)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
clearFolders
public Asset.SecurityCenterProperties.Builder clearFolders()
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
removeFolders
public Asset.SecurityCenterProperties.Builder removeFolders(int index)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
getFoldersBuilder
public Folder.Builder getFoldersBuilder(int index)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
getFoldersOrBuilder
public FolderOrBuilder getFoldersOrBuilder(int index)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
- Specified by:
getFoldersOrBuilder
in interfaceAsset.SecurityCenterPropertiesOrBuilder
-
getFoldersOrBuilderList
public List<? extends FolderOrBuilder> getFoldersOrBuilderList()
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
- Specified by:
getFoldersOrBuilderList
in interfaceAsset.SecurityCenterPropertiesOrBuilder
-
addFoldersBuilder
public Folder.Builder addFoldersBuilder()
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
addFoldersBuilder
public Folder.Builder addFoldersBuilder(int index)
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
getFoldersBuilderList
public List<Folder.Builder> getFoldersBuilderList()
Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.
repeated .google.cloud.securitycenter.v1.Folder folders = 10;
-
setUnknownFields
public final Asset.SecurityCenterProperties.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
mergeUnknownFields
public final Asset.SecurityCenterProperties.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.SecurityCenterProperties.Builder>
-
-