Class Control (0.1.0)

public final class Control extends GeneratedMessageV3 implements ControlOrBuilder

Represents a 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. Link to the public documentation 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. Link to the public documentation 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. Regulatory Family of the control E.g. Access Control

.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. Regulatory Family of the control E.g. Access Control

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

Returns
Type Description
ControlFamilyOrBuilder

getCustomerResponsibilityDescription()

public String getCustomerResponsibilityDescription()

Output only. Customer responsibility description of 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. Customer responsibility description of 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. Customer responsibility implementation of 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. Customer responsibility implementation of 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 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 control.

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

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Output only. display_name

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. display_name

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. Group where the control belongs. E.g. Access Control.

.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. Group where the control belongs. E.g. Access Control.

.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. Google responsibility description of 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. Google responsibility description of 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. Google responsibility implementation of 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. Google responsibility implementation of 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 Control. Format: 'organizations/{organization}/locations/{location}/controls/{control}''

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 Control. Format: 'organizations/{organization}/locations/{location}/controls/{control}''

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 CloudControl

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 CloudControl

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 CloudControl

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 CloudControl

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 control comes under whoose responsibility e.g. GOOGLE, CUSTOMER or SHARED.

.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 control comes under whoose responsibility e.g. GOOGLE, CUSTOMER or SHARED.

.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. Description of shared Responsibility between Google and Customer 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. Description of shared Responsibility between Google and Customer 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. Regulatory Family of the control E.g. Access Control

.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 GeneratedMessageV3.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(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
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