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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
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_FIELD_NUMBER
public static final int RESOURCE_PARENT_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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Asset.SecurityCenterProperties.Builder newBuilder()
newBuilder(Asset.SecurityCenterProperties prototype)
public static Asset.SecurityCenterProperties.Builder newBuilder(Asset.SecurityCenterProperties prototype)
public static Asset.SecurityCenterProperties parseDelimitedFrom(InputStream input)
public static Asset.SecurityCenterProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Asset.SecurityCenterProperties parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Asset.SecurityCenterProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Asset.SecurityCenterProperties parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Asset.SecurityCenterProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Asset.SecurityCenterProperties parseFrom(CodedInputStream input)
public static Asset.SecurityCenterProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Asset.SecurityCenterProperties parseFrom(InputStream input)
public static Asset.SecurityCenterProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Asset.SecurityCenterProperties parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Asset.SecurityCenterProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Asset.SecurityCenterProperties> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Asset.SecurityCenterProperties getDefaultInstanceForType()
getParserForType()
public Parser<Asset.SecurityCenterProperties> getParserForType()
Overrides
getResourceName()
public String getResourceName()
Returns |
---|
Type | Description |
String | The resourceName.
|
getResourceNameBytes()
public ByteString getResourceNameBytes()
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;
getResourceParent()
public String getResourceParent()
Returns |
---|
Type | Description |
String | The resourceParent.
|
getResourceParentBytes()
public ByteString getResourceParentBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for resourceParent.
|
getResourceProject()
public String getResourceProject()
Returns |
---|
Type | Description |
String | The resourceProject.
|
getResourceProjectBytes()
public ByteString getResourceProjectBytes()
Returns |
---|
Type | Description |
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 |
---|
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Asset.SecurityCenterProperties.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Asset.SecurityCenterProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Asset.SecurityCenterProperties.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides