- 2.60.0 (latest)
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
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.v1.Asset.SecurityCenterProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Asset.SecurityCenterProperties.BuilderImplements
Asset.SecurityCenterPropertiesOrBuilderMethods
addAllFolders(Iterable<? extends Folder> values)
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;
Name | Description |
values | Iterable<? extends com.google.cloud.securitycenter.v1.Folder> |
Type | Description |
Asset.SecurityCenterProperties.Builder |
addAllResourceOwners(Iterable<String> values)
public Asset.SecurityCenterProperties.Builder addAllResourceOwners(Iterable<String> values)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Name | Description |
values | Iterable<String> The resourceOwners to add. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
addFolders(Folder value)
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;
Name | Description |
value | Folder |
Type | Description |
Asset.SecurityCenterProperties.Builder |
addFolders(Folder.Builder builderForValue)
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;
Name | Description |
builderForValue | Folder.Builder |
Type | Description |
Asset.SecurityCenterProperties.Builder |
addFolders(int index, Folder value)
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;
Name | Description |
index | int |
value | Folder |
Type | Description |
Asset.SecurityCenterProperties.Builder |
addFolders(int index, Folder.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Folder.Builder |
Type | Description |
Asset.SecurityCenterProperties.Builder |
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;
Type | Description |
Folder.Builder |
addFoldersBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
Folder.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Asset.SecurityCenterProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Asset.SecurityCenterProperties.Builder |
addResourceOwners(String value)
public Asset.SecurityCenterProperties.Builder addResourceOwners(String value)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Name | Description |
value | String The resourceOwners to add. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
addResourceOwnersBytes(ByteString value)
public Asset.SecurityCenterProperties.Builder addResourceOwnersBytes(ByteString value)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Name | Description |
value | ByteString The bytes of the resourceOwners to add. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
build()
public Asset.SecurityCenterProperties build()
Type | Description |
Asset.SecurityCenterProperties |
buildPartial()
public Asset.SecurityCenterProperties buildPartial()
Type | Description |
Asset.SecurityCenterProperties |
clear()
public Asset.SecurityCenterProperties.Builder clear()
Type | Description |
Asset.SecurityCenterProperties.Builder |
clearField(Descriptors.FieldDescriptor field)
public Asset.SecurityCenterProperties.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Asset.SecurityCenterProperties.Builder |
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;
Type | Description |
Asset.SecurityCenterProperties.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Asset.SecurityCenterProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Asset.SecurityCenterProperties.Builder |
clearResourceDisplayName()
public Asset.SecurityCenterProperties.Builder clearResourceDisplayName()
The user defined display name for this resource.
string resource_display_name = 6;
Type | Description |
Asset.SecurityCenterProperties.Builder | 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;
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
clearResourceOwners()
public Asset.SecurityCenterProperties.Builder clearResourceOwners()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Type | Description |
Asset.SecurityCenterProperties.Builder | 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;
Type | Description |
Asset.SecurityCenterProperties.Builder | 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;
Type | Description |
Asset.SecurityCenterProperties.Builder | 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;
Type | Description |
Asset.SecurityCenterProperties.Builder | 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;
Type | Description |
Asset.SecurityCenterProperties.Builder | 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;
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
clone()
public Asset.SecurityCenterProperties.Builder clone()
Type | Description |
Asset.SecurityCenterProperties.Builder |
getDefaultInstanceForType()
public Asset.SecurityCenterProperties getDefaultInstanceForType()
Type | Description |
Asset.SecurityCenterProperties |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFolders(int index)
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;
Name | Description |
index | int |
Type | Description |
Folder |
getFoldersBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
Folder.Builder |
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;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
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;
Type | Description |
List<Folder> |
getFoldersOrBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
FolderOrBuilder |
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;
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.FolderOrBuilder> |
getResourceDisplayName()
public String getResourceDisplayName()
The user defined display name for this resource.
string resource_display_name = 6;
Type | Description |
String | The resourceDisplayName. |
getResourceDisplayNameBytes()
public ByteString getResourceDisplayNameBytes()
The user defined display name for this resource.
string resource_display_name = 6;
Type | Description |
ByteString | The bytes for resourceDisplayName. |
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;
Type | Description |
String | The resourceName. |
getResourceNameBytes()
public 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;
Type | Description |
ByteString | The bytes for resourceName. |
getResourceOwners(int index)
public String getResourceOwners(int index)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The resourceOwners at the given index. |
getResourceOwnersBytes(int index)
public ByteString getResourceOwnersBytes(int index)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the resourceOwners at the given index. |
getResourceOwnersCount()
public int getResourceOwnersCount()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Type | Description |
int | The count of resourceOwners. |
getResourceOwnersList()
public ProtocolStringList getResourceOwnersList()
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Type | Description |
ProtocolStringList | A list containing the resourceOwners. |
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;
Type | Description |
String | The resourceParent. |
getResourceParentBytes()
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;
Type | Description |
ByteString | The bytes for resourceParent. |
getResourceParentDisplayName()
public String getResourceParentDisplayName()
The user defined display name for the parent of this resource.
string resource_parent_display_name = 7;
Type | Description |
String | The resourceParentDisplayName. |
getResourceParentDisplayNameBytes()
public ByteString getResourceParentDisplayNameBytes()
The user defined display name for the parent of this resource.
string resource_parent_display_name = 7;
Type | Description |
ByteString | The bytes for resourceParentDisplayName. |
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;
Type | Description |
String | The resourceProject. |
getResourceProjectBytes()
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;
Type | Description |
ByteString | The bytes for resourceProject. |
getResourceProjectDisplayName()
public String getResourceProjectDisplayName()
The user defined display name for the project of this resource.
string resource_project_display_name = 8;
Type | Description |
String | The resourceProjectDisplayName. |
getResourceProjectDisplayNameBytes()
public ByteString getResourceProjectDisplayNameBytes()
The user defined display name for the project of this resource.
string resource_project_display_name = 8;
Type | Description |
ByteString | The bytes for resourceProjectDisplayName. |
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;
Type | Description |
String | The resourceType. |
getResourceTypeBytes()
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;
Type | Description |
ByteString | The bytes for resourceType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Asset.SecurityCenterProperties other)
public Asset.SecurityCenterProperties.Builder mergeFrom(Asset.SecurityCenterProperties other)
Name | Description |
other | Asset.SecurityCenterProperties |
Type | Description |
Asset.SecurityCenterProperties.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Asset.SecurityCenterProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Asset.SecurityCenterProperties.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Asset.SecurityCenterProperties.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Asset.SecurityCenterProperties.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Asset.SecurityCenterProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Asset.SecurityCenterProperties.Builder |
removeFolders(int index)
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;
Name | Description |
index | int |
Type | Description |
Asset.SecurityCenterProperties.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Asset.SecurityCenterProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Asset.SecurityCenterProperties.Builder |
setFolders(int index, Folder value)
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;
Name | Description |
index | int |
value | Folder |
Type | Description |
Asset.SecurityCenterProperties.Builder |
setFolders(int index, Folder.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Folder.Builder |
Type | Description |
Asset.SecurityCenterProperties.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Asset.SecurityCenterProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Asset.SecurityCenterProperties.Builder |
setResourceDisplayName(String value)
public Asset.SecurityCenterProperties.Builder setResourceDisplayName(String value)
The user defined display name for this resource.
string resource_display_name = 6;
Name | Description |
value | String The resourceDisplayName to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceDisplayNameBytes(ByteString value)
public Asset.SecurityCenterProperties.Builder setResourceDisplayNameBytes(ByteString value)
The user defined display name for this resource.
string resource_display_name = 6;
Name | Description |
value | ByteString The bytes for resourceDisplayName to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceName(String value)
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;
Name | Description |
value | String The resourceName to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceNameBytes(ByteString value)
public Asset.SecurityCenterProperties.Builder setResourceNameBytes(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;
Name | Description |
value | ByteString The bytes for resourceName to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceOwners(int index, String value)
public Asset.SecurityCenterProperties.Builder setResourceOwners(int index, String value)
Owners of the Google Cloud resource.
repeated string resource_owners = 5;
Name | Description |
index | int The index to set the value at. |
value | String The resourceOwners to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceParent(String value)
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;
Name | Description |
value | String The resourceParent to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceParentBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for resourceParent to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceParentDisplayName(String value)
public Asset.SecurityCenterProperties.Builder setResourceParentDisplayName(String value)
The user defined display name for the parent of this resource.
string resource_parent_display_name = 7;
Name | Description |
value | String The resourceParentDisplayName to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceParentDisplayNameBytes(ByteString value)
public Asset.SecurityCenterProperties.Builder setResourceParentDisplayNameBytes(ByteString value)
The user defined display name for the parent of this resource.
string resource_parent_display_name = 7;
Name | Description |
value | ByteString The bytes for resourceParentDisplayName to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceProject(String value)
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;
Name | Description |
value | String The resourceProject to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceProjectBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for resourceProject to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceProjectDisplayName(String value)
public Asset.SecurityCenterProperties.Builder setResourceProjectDisplayName(String value)
The user defined display name for the project of this resource.
string resource_project_display_name = 8;
Name | Description |
value | String The resourceProjectDisplayName to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceProjectDisplayNameBytes(ByteString value)
public Asset.SecurityCenterProperties.Builder setResourceProjectDisplayNameBytes(ByteString value)
The user defined display name for the project of this resource.
string resource_project_display_name = 8;
Name | Description |
value | ByteString The bytes for resourceProjectDisplayName to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceType(String value)
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;
Name | Description |
value | String The resourceType to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setResourceTypeBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for resourceType to set. |
Type | Description |
Asset.SecurityCenterProperties.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Asset.SecurityCenterProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Asset.SecurityCenterProperties.Builder |