Class Asset.SecurityCenterProperties (2.3.2)

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.v1beta1.Asset.SecurityCenterProperties

Inheritance

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

Fields

RESOURCE_NAME_FIELD_NUMBER

public static final int RESOURCE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_OWNERS_FIELD_NUMBER

public static final int RESOURCE_OWNERS_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_PARENT_FIELD_NUMBER

public static final int RESOURCE_PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_PROJECT_FIELD_NUMBER

public static final int RESOURCE_PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_TYPE_FIELD_NUMBER

public static final int RESOURCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstance()

public static Asset.SecurityCenterProperties getDefaultInstance()
Returns
TypeDescription
Asset.SecurityCenterProperties

getDefaultInstanceForType()

public Asset.SecurityCenterProperties getDefaultInstanceForType()
Returns
TypeDescription
Asset.SecurityCenterProperties

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getParserForType()

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

getResourceName()

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

Returns
TypeDescription
String

The resourceName.

getResourceNameBytes()

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

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of resourceOwners.

getResourceOwnersList()

public ProtocolStringList getResourceOwnersList()

Owners of the Google Cloud resource.

repeated string resource_owners = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for resourceParent.

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
TypeDescription
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
TypeDescription
ByteString

The bytes for resourceProject.

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
TypeDescription
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
TypeDescription
ByteString

The bytes for resourceType.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static Asset.SecurityCenterProperties.Builder newBuilder()
Returns
TypeDescription
Asset.SecurityCenterProperties.Builder

newBuilder(Asset.SecurityCenterProperties prototype)

public static Asset.SecurityCenterProperties.Builder newBuilder(Asset.SecurityCenterProperties prototype)
Parameter
NameDescription
prototypeAsset.SecurityCenterProperties
Returns
TypeDescription
Asset.SecurityCenterProperties.Builder

newBuilderForType()

public Asset.SecurityCenterProperties.Builder newBuilderForType()
Returns
TypeDescription
Asset.SecurityCenterProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Asset.SecurityCenterProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Asset.SecurityCenterProperties.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static Asset.SecurityCenterProperties parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Asset.SecurityCenterProperties
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Asset.SecurityCenterProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.SecurityCenterProperties
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Asset.SecurityCenterProperties parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Asset.SecurityCenterProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Asset.SecurityCenterProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.SecurityCenterProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Asset.SecurityCenterProperties parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Asset.SecurityCenterProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Asset.SecurityCenterProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.SecurityCenterProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Asset.SecurityCenterProperties parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Asset.SecurityCenterProperties
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Asset.SecurityCenterProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.SecurityCenterProperties
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Asset.SecurityCenterProperties parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Asset.SecurityCenterProperties
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Asset.SecurityCenterProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.SecurityCenterProperties
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Asset.SecurityCenterProperties parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Asset.SecurityCenterProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Asset.SecurityCenterProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Asset.SecurityCenterProperties
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

toBuilder()

public Asset.SecurityCenterProperties.Builder toBuilder()
Returns
TypeDescription
Asset.SecurityCenterProperties.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException