Class CloudControlGroup (0.1.0)

public final class CloudControlGroup extends GeneratedMessageV3 implements CloudControlGroupOrBuilder

CloudControlGroup is an optional entity within a Framework that helps customers organize their CloudControls.

Protobuf type google.cloud.cloudsecuritycompliance.v1.CloudControlGroup

Static Fields

CLOUD_CONTROL_DETAILS_FIELD_NUMBER

public static final int CLOUD_CONTROL_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

CONTROL_FIELD_NUMBER

public static final int CONTROL_FIELD_NUMBER
Field Value
Type Description
int

CONTROL_ID_FIELD_NUMBER

public static final int CONTROL_ID_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

MAJOR_REVISION_ID_FIELD_NUMBER

public static final int MAJOR_REVISION_ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudControlGroup getDefaultInstance()
Returns
Type Description
CloudControlGroup

getDescriptor()

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

newBuilder()

public static CloudControlGroup.Builder newBuilder()
Returns
Type Description
CloudControlGroup.Builder

newBuilder(CloudControlGroup prototype)

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

parseDelimitedFrom(InputStream input)

public static CloudControlGroup parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudControlGroup
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static CloudControlGroup parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CloudControlGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static CloudControlGroup parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CloudControlGroup
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static CloudControlGroup parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudControlGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static CloudControlGroup parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CloudControlGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CloudControlGroup> parser()
Returns
Type Description
Parser<CloudControlGroup>

Methods

equals(Object obj)

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

getCloudControlDetails(int index)

public CloudControlDetails getCloudControlDetails(int index)

Required. The details of the cloud controls to be referred to in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CloudControlDetails

getCloudControlDetailsCount()

public int getCloudControlDetailsCount()

Required. The details of the cloud controls to be referred to in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getCloudControlDetailsList()

public List<CloudControlDetails> getCloudControlDetailsList()

Required. The details of the cloud controls to be referred to in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<CloudControlDetails>

getCloudControlDetailsOrBuilder(int index)

public CloudControlDetailsOrBuilder getCloudControlDetailsOrBuilder(int index)

Required. The details of the cloud controls to be referred to in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CloudControlDetailsOrBuilder

getCloudControlDetailsOrBuilderList()

public List<? extends CloudControlDetailsOrBuilder> getCloudControlDetailsOrBuilderList()

Required. The details of the cloud controls to be referred to in the framework.

repeated .google.cloud.cloudsecuritycompliance.v1.CloudControlDetails cloud_control_details = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.cloudsecuritycompliance.v1.CloudControlDetailsOrBuilder>

getControl()

public String getControl()

Optional. The industry-defined Control assciated with the cloud controls in this group. organizations/{organization}/locations/{location}/controls/{control_id}

string control = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The control.

getControlBytes()

public ByteString getControlBytes()

Optional. The industry-defined Control assciated with the cloud controls in this group. organizations/{organization}/locations/{location}/controls/{control_id}

string control = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for control.

getControlId()

public String getControlId()

Optional. The control identifier used to fetch the findings. This is same as the control report name.

string control_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The controlId.

getControlIdBytes()

public ByteString getControlIdBytes()

Optional. The control identifier used to fetch the findings. This is same as the control report name.

string control_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for controlId.

getDefaultInstanceForType()

public CloudControlGroup getDefaultInstanceForType()
Returns
Type Description
CloudControlGroup

getDescription()

public String getDescription()

Optional. The description of the cloud control group.The maximum length is 2000 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. The description of the cloud control group.The maximum length is 2000 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getMajorRevisionId()

public long getMajorRevisionId()

Optional. Major revision of the cloud control group.

int64 major_revision_id = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The majorRevisionId.

getName()

public String getName()

Required. The name of the cloud control group in the format: “organizations/{organization}/locations/{location}/ cloudControlGroups/{cloud-control-group}”

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the cloud control group in the format: “organizations/{organization}/locations/{location}/ cloudControlGroups/{cloud-control-group}”

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<CloudControlGroup> getParserForType()
Returns
Type Description
Parser<CloudControlGroup>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public CloudControlGroup.CloudControlGroupType getType()

Optional. Output only. The type of the cloud control group. Default is TYPE_CUSTOM.

.google.cloud.cloudsecuritycompliance.v1.CloudControlGroup.CloudControlGroupType type = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudControlGroup.CloudControlGroupType

The type.

getTypeValue()

public int getTypeValue()

Optional. Output only. The type of the cloud control group. Default is TYPE_CUSTOM.

.google.cloud.cloudsecuritycompliance.v1.CloudControlGroup.CloudControlGroupType type = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

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 CloudControlGroup.Builder newBuilderForType()
Returns
Type Description
CloudControlGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CloudControlGroup.Builder toBuilder()
Returns
Type Description
CloudControlGroup.Builder

writeTo(CodedOutputStream output)

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