Class Control (0.20.0)

public final class Control extends GeneratedMessage implements ControlOrBuilder

The regulatory control.

Protobuf type google.cloud.cloudsecuritycompliance.v1.Control

Implements

ControlOrBuilder

Static Fields

ADDITIONAL_CONTENT_URI_FIELD_NUMBER

public static final int ADDITIONAL_CONTENT_URI_FIELD_NUMBER
Field Value
Type Description
int

CONTROL_FAMILY_FIELD_NUMBER

public static final int CONTROL_FAMILY_FIELD_NUMBER
Field Value
Type Description
int

CUSTOMER_RESPONSIBILITY_DESCRIPTION_FIELD_NUMBER

public static final int CUSTOMER_RESPONSIBILITY_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

CUSTOMER_RESPONSIBILITY_IMPLEMENTATION_FIELD_NUMBER

public static final int CUSTOMER_RESPONSIBILITY_IMPLEMENTATION_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

FAMILY_FIELD_NUMBER

public static final int FAMILY_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_RESPONSIBILITY_DESCRIPTION_FIELD_NUMBER

public static final int GOOGLE_RESPONSIBILITY_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_RESPONSIBILITY_IMPLEMENTATION_FIELD_NUMBER

public static final int GOOGLE_RESPONSIBILITY_IMPLEMENTATION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int
public static final int RELATED_FRAMEWORKS_FIELD_NUMBER
Field Value
Type Description
int

RESPONSIBILITY_TYPE_FIELD_NUMBER

public static final int RESPONSIBILITY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SHARED_RESPONSIBILITY_DESCRIPTION_FIELD_NUMBER

public static final int SHARED_RESPONSIBILITY_DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Control getDefaultInstance()
Returns
Type Description
Control

getDescriptor()

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

newBuilder()

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

newBuilder(Control prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAdditionalContentUri()

public String getAdditionalContentUri()

Output only. A link to the documentation that's related to this control.

string additional_content_uri = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The additionalContentUri.

getAdditionalContentUriBytes()

public ByteString getAdditionalContentUriBytes()

Output only. A link to the documentation that's related to this control.

string additional_content_uri = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for additionalContentUri.

getControlFamily()

public ControlFamily getControlFamily()

Output only. The regulatory family that the control belongs to.

.google.cloud.cloudsecuritycompliance.v1.ControlFamily control_family = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ControlFamily

The controlFamily.

getControlFamilyOrBuilder()

public ControlFamilyOrBuilder getControlFamilyOrBuilder()

Output only. The regulatory family that the control belongs to.

.google.cloud.cloudsecuritycompliance.v1.ControlFamily control_family = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ControlFamilyOrBuilder

getCustomerResponsibilityDescription()

public String getCustomerResponsibilityDescription()

Output only. A description of your responsibility for the regulatory control.

string customer_responsibility_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The customerResponsibilityDescription.

getCustomerResponsibilityDescriptionBytes()

public ByteString getCustomerResponsibilityDescriptionBytes()

Output only. A description of your responsibility for the regulatory control.

string customer_responsibility_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for customerResponsibilityDescription.

getCustomerResponsibilityImplementation()

public String getCustomerResponsibilityImplementation()

Output only. A description of the your responsibility for implementing the regulatory control.

string customer_responsibility_implementation = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The customerResponsibilityImplementation.

getCustomerResponsibilityImplementationBytes()

public ByteString getCustomerResponsibilityImplementationBytes()

Output only. A description of the your responsibility for implementing the regulatory control.

string customer_responsibility_implementation = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for customerResponsibilityImplementation.

getDefaultInstanceForType()

public Control getDefaultInstanceForType()
Returns
Type Description
Control

getDescription()

public String getDescription()

Output only. The description of the regulatory control.

string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. The description of the regulatory control.

string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Output only. The friendly name for the regulatory control.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The friendly name for the regulatory control.

string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getFamily()

public Control.Family getFamily()

Output only. The regulatory group that the control belongs to.

.google.cloud.cloudsecuritycompliance.v1.Control.Family family = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Control.Family

The family.

getFamilyValue()

public int getFamilyValue()

Output only. The regulatory group that the control belongs to.

.google.cloud.cloudsecuritycompliance.v1.Control.Family family = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for family.

getGoogleResponsibilityDescription()

public String getGoogleResponsibilityDescription()

Output only. A description of Google's responsibility for the regulatory control.

string google_responsibility_description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The googleResponsibilityDescription.

getGoogleResponsibilityDescriptionBytes()

public ByteString getGoogleResponsibilityDescriptionBytes()

Output only. A description of Google's responsibility for the regulatory control.

string google_responsibility_description = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for googleResponsibilityDescription.

getGoogleResponsibilityImplementation()

public String getGoogleResponsibilityImplementation()

Output only. A description of Google's responsibility for implementing the regulatory control.

string google_responsibility_implementation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The googleResponsibilityImplementation.

getGoogleResponsibilityImplementationBytes()

public ByteString getGoogleResponsibilityImplementationBytes()

Output only. A description of Google's responsibility for implementing the regulatory control.

string google_responsibility_implementation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for googleResponsibilityImplementation.

getName()

public String getName()

Output only. The name of a regulatory control, in one of the following formats:

  • organizations/{organization}/locations/{location}/controls/{control}
  • projects/{project}/locations/{location}/controls/{control}.

    The only supported location is global.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of a regulatory control, in one of the following formats:

  • organizations/{organization}/locations/{location}/controls/{control}
  • projects/{project}/locations/{location}/controls/{control}.

    The only supported location is global.

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

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getRelatedFrameworks(int index)

public String getRelatedFrameworks(int index)

Output only. The frameworks that include this control.

repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The relatedFrameworks at the given index.

getRelatedFrameworksBytes(int index)

public ByteString getRelatedFrameworksBytes(int index)

Output only. The frameworks that include this control.

repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the relatedFrameworks at the given index.

getRelatedFrameworksCount()

public int getRelatedFrameworksCount()

Output only. The frameworks that include this control.

repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of relatedFrameworks.

getRelatedFrameworksList()

public ProtocolStringList getRelatedFrameworksList()

Output only. The frameworks that include this control.

repeated string related_frameworks = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the relatedFrameworks.

getResponsibilityType()

public RegulatoryControlResponsibilityType getResponsibilityType()

Output only. The entity that's responsible for the control, whether Google, you as the customer, or both.

.google.cloud.cloudsecuritycompliance.v1.RegulatoryControlResponsibilityType responsibility_type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RegulatoryControlResponsibilityType

The responsibilityType.

getResponsibilityTypeValue()

public int getResponsibilityTypeValue()

Output only. The entity that's responsible for the control, whether Google, you as the customer, or both.

.google.cloud.cloudsecuritycompliance.v1.RegulatoryControlResponsibilityType responsibility_type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for responsibilityType.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSharedResponsibilityDescription()

public String getSharedResponsibilityDescription()

Output only. A description of the responsibility that's shared between Google and you in implementing this control.

string shared_responsibility_description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The sharedResponsibilityDescription.

getSharedResponsibilityDescriptionBytes()

public ByteString getSharedResponsibilityDescriptionBytes()

Output only. A description of the responsibility that's shared between Google and you in implementing this control.

string shared_responsibility_description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for sharedResponsibilityDescription.

hasControlFamily()

public boolean hasControlFamily()

Output only. The regulatory family that the control belongs to.

.google.cloud.cloudsecuritycompliance.v1.ControlFamily control_family = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the controlFamily field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Control.Builder newBuilderForType()
Returns
Type Description
Control.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Control.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Control.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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