Class Asset.SecurityCenterProperties (2.63.0)

public static final class Asset.SecurityCenterProperties extends GeneratedMessageV3 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.v1p1beta1.Asset.SecurityCenterProperties

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Asset.SecurityCenterProperties

Static Fields

FOLDERS_FIELD_NUMBER

public static final int FOLDERS_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_DISPLAY_NAME_FIELD_NUMBER

public static final int RESOURCE_DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_NAME_FIELD_NUMBER

public static final int RESOURCE_NAME_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_OWNERS_FIELD_NUMBER

public static final int RESOURCE_OWNERS_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_PARENT_DISPLAY_NAME_FIELD_NUMBER

public static final int RESOURCE_PARENT_DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_PARENT_FIELD_NUMBER

public static final int RESOURCE_PARENT_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_PROJECT_DISPLAY_NAME_FIELD_NUMBER

public static final int RESOURCE_PROJECT_DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_PROJECT_FIELD_NUMBER

public static final int RESOURCE_PROJECT_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Asset.SecurityCenterProperties getDefaultInstance()
Returns
Type Description
Asset.SecurityCenterProperties

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Asset.SecurityCenterProperties.Builder newBuilder()
Returns
Type Description
Asset.SecurityCenterProperties.Builder

newBuilder(Asset.SecurityCenterProperties prototype)

public static Asset.SecurityCenterProperties.Builder newBuilder(Asset.SecurityCenterProperties prototype)
Parameter
Name Description
prototype Asset.SecurityCenterProperties
Returns
Type Description
Asset.SecurityCenterProperties.Builder

parseDelimitedFrom(InputStream input)

public static Asset.SecurityCenterProperties parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Asset.SecurityCenterProperties
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Asset.SecurityCenterProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.SecurityCenterProperties
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Asset.SecurityCenterProperties parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Asset.SecurityCenterProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Asset.SecurityCenterProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.SecurityCenterProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Asset.SecurityCenterProperties parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Asset.SecurityCenterProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Asset.SecurityCenterProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.SecurityCenterProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Asset.SecurityCenterProperties parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Asset.SecurityCenterProperties
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Asset.SecurityCenterProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.SecurityCenterProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Asset.SecurityCenterProperties parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Asset.SecurityCenterProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Asset.SecurityCenterProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.SecurityCenterProperties
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Asset.SecurityCenterProperties parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Asset.SecurityCenterProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Asset.SecurityCenterProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.SecurityCenterProperties
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Asset.SecurityCenterProperties> parser()
Returns
Type Description
Parser<SecurityCenterProperties>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Asset.SecurityCenterProperties getDefaultInstanceForType()
Returns
Type Description
Asset.SecurityCenterProperties

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.v1p1beta1.Folder folders = 10;

Parameter
Name Description
index int
Returns
Type Description
Folder

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.v1p1beta1.Folder folders = 10;

Returns
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.v1p1beta1.Folder folders = 10;

Returns
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.v1p1beta1.Folder folders = 10;

Parameter
Name Description
index int
Returns
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.v1p1beta1.Folder folders = 10;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1p1beta1.FolderOrBuilder>

getParserForType()

public Parser<Asset.SecurityCenterProperties> getParserForType()
Returns
Type Description
Parser<SecurityCenterProperties>
Overrides

getResourceDisplayName()

public String getResourceDisplayName()

The user defined display name for this resource.

string resource_display_name = 6;

Returns
Type Description
String

The resourceDisplayName.

getResourceDisplayNameBytes()

public ByteString getResourceDisplayNameBytes()

The user defined display name for this resource.

string resource_display_name = 6;

Returns
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;

Returns
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;

Returns
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;

Parameter
Name Description
index int

The index of the element to return.

Returns
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;

Parameter
Name Description
index int

The index of the value to return.

Returns
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;

Returns
Type Description
int

The count of resourceOwners.

getResourceOwnersList()

public ProtocolStringList getResourceOwnersList()

Owners of the Google Cloud resource.

repeated string resource_owners = 5;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
ByteString

The bytes for resourceType.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Asset.SecurityCenterProperties.Builder newBuilderForType()
Returns
Type Description
Asset.SecurityCenterProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Asset.SecurityCenterProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Asset.SecurityCenterProperties.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Asset.SecurityCenterProperties.Builder toBuilder()
Returns
Type Description
Asset.SecurityCenterProperties.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException