Class Control.Builder (0.1.0)

public static final class Control.Builder extends GeneratedMessageV3.Builder<Control.Builder> implements ControlOrBuilder

Represents a Regulatory control.

Protobuf type google.cloud.cloudsecuritycompliance.v1.Control

Implements

ControlOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllRelatedFrameworks(Iterable<String> values)

public Control.Builder addAllRelatedFrameworks(Iterable<String> values)

Output only. The Frameworks that include this CloudControl

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

Parameter
Name Description
values Iterable<String>

The relatedFrameworks to add.

Returns
Type Description
Control.Builder

This builder for chaining.

addRelatedFrameworks(String value)

public Control.Builder addRelatedFrameworks(String value)

Output only. The Frameworks that include this CloudControl

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

Parameter
Name Description
value String

The relatedFrameworks to add.

Returns
Type Description
Control.Builder

This builder for chaining.

addRelatedFrameworksBytes(ByteString value)

public Control.Builder addRelatedFrameworksBytes(ByteString value)

Output only. The Frameworks that include this CloudControl

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

Parameter
Name Description
value ByteString

The bytes of the relatedFrameworks to add.

Returns
Type Description
Control.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Control.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Control.Builder
Overrides

build()

public Control build()
Returns
Type Description
Control

buildPartial()

public Control buildPartial()
Returns
Type Description
Control

clear()

public Control.Builder clear()
Returns
Type Description
Control.Builder
Overrides

clearAdditionalContentUri()

public Control.Builder clearAdditionalContentUri()

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
Control.Builder

This builder for chaining.

clearControlFamily()

public Control.Builder clearControlFamily()

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
Control.Builder

clearCustomerResponsibilityDescription()

public Control.Builder clearCustomerResponsibilityDescription()

Output only. Customer responsibility description of regulatory control.

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

Returns
Type Description
Control.Builder

This builder for chaining.

clearCustomerResponsibilityImplementation()

public Control.Builder clearCustomerResponsibilityImplementation()

Output only. Customer responsibility implementation of regulatory control.

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

Returns
Type Description
Control.Builder

This builder for chaining.

clearDescription()

public Control.Builder clearDescription()

Output only. The description of the control.

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

Returns
Type Description
Control.Builder

This builder for chaining.

clearDisplayName()

public Control.Builder clearDisplayName()

Output only. display_name

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

Returns
Type Description
Control.Builder

This builder for chaining.

clearFamily()

public Control.Builder clearFamily()

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.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Control.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Control.Builder
Overrides

clearGoogleResponsibilityDescription()

public Control.Builder clearGoogleResponsibilityDescription()

Output only. Google responsibility description of regulatory control.

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

Returns
Type Description
Control.Builder

This builder for chaining.

clearGoogleResponsibilityImplementation()

public Control.Builder clearGoogleResponsibilityImplementation()

Output only. Google responsibility implementation of regulatory control.

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

Returns
Type Description
Control.Builder

This builder for chaining.

clearName()

public Control.Builder clearName()

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
Control.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Control.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Control.Builder
Overrides

clearRelatedFrameworks()

public Control.Builder clearRelatedFrameworks()

Output only. The Frameworks that include this CloudControl

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

Returns
Type Description
Control.Builder

This builder for chaining.

clearResponsibilityType()

public Control.Builder clearResponsibilityType()

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
Control.Builder

This builder for chaining.

clearSharedResponsibilityDescription()

public Control.Builder clearSharedResponsibilityDescription()

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
Control.Builder

This builder for chaining.

clone()

public Control.Builder clone()
Returns
Type Description
Control.Builder
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.

getControlFamilyBuilder()

public ControlFamily.Builder getControlFamilyBuilder()

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.Builder

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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeControlFamily(ControlFamily value)

public Control.Builder mergeControlFamily(ControlFamily value)

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

Parameter
Name Description
value ControlFamily
Returns
Type Description
Control.Builder

mergeFrom(Control other)

public Control.Builder mergeFrom(Control other)
Parameter
Name Description
other Control
Returns
Type Description
Control.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Control.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Control.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Control.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Control.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Control.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Control.Builder
Overrides

setAdditionalContentUri(String value)

public Control.Builder setAdditionalContentUri(String value)

Output only. Link to the public documentation related to this control

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

Parameter
Name Description
value String

The additionalContentUri to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setAdditionalContentUriBytes(ByteString value)

public Control.Builder setAdditionalContentUriBytes(ByteString value)

Output only. Link to the public documentation related to this control

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

Parameter
Name Description
value ByteString

The bytes for additionalContentUri to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setControlFamily(ControlFamily value)

public Control.Builder setControlFamily(ControlFamily value)

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

Parameter
Name Description
value ControlFamily
Returns
Type Description
Control.Builder

setControlFamily(ControlFamily.Builder builderForValue)

public Control.Builder setControlFamily(ControlFamily.Builder builderForValue)

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

Parameter
Name Description
builderForValue ControlFamily.Builder
Returns
Type Description
Control.Builder

setCustomerResponsibilityDescription(String value)

public Control.Builder setCustomerResponsibilityDescription(String value)

Output only. Customer responsibility description of regulatory control.

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

Parameter
Name Description
value String

The customerResponsibilityDescription to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setCustomerResponsibilityDescriptionBytes(ByteString value)

public Control.Builder setCustomerResponsibilityDescriptionBytes(ByteString value)

Output only. Customer responsibility description of regulatory control.

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

Parameter
Name Description
value ByteString

The bytes for customerResponsibilityDescription to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setCustomerResponsibilityImplementation(String value)

public Control.Builder setCustomerResponsibilityImplementation(String value)

Output only. Customer responsibility implementation of regulatory control.

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

Parameter
Name Description
value String

The customerResponsibilityImplementation to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setCustomerResponsibilityImplementationBytes(ByteString value)

public Control.Builder setCustomerResponsibilityImplementationBytes(ByteString value)

Output only. Customer responsibility implementation of regulatory control.

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

Parameter
Name Description
value ByteString

The bytes for customerResponsibilityImplementation to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setDescription(String value)

public Control.Builder setDescription(String value)

Output only. The description of the control.

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

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Control.Builder setDescriptionBytes(ByteString value)

Output only. The description of the control.

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

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setDisplayName(String value)

public Control.Builder setDisplayName(String value)

Output only. display_name

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

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Control.Builder setDisplayNameBytes(ByteString value)

Output only. display_name

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

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setFamily(Control.Family value)

public Control.Builder setFamily(Control.Family value)

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

Parameter
Name Description
value Control.Family

The family to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setFamilyValue(int value)

public Control.Builder setFamilyValue(int value)

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

Parameter
Name Description
value int

The enum numeric value on the wire for family to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Control.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Control.Builder
Overrides

setGoogleResponsibilityDescription(String value)

public Control.Builder setGoogleResponsibilityDescription(String value)

Output only. Google responsibility description of regulatory control.

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

Parameter
Name Description
value String

The googleResponsibilityDescription to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setGoogleResponsibilityDescriptionBytes(ByteString value)

public Control.Builder setGoogleResponsibilityDescriptionBytes(ByteString value)

Output only. Google responsibility description of regulatory control.

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

Parameter
Name Description
value ByteString

The bytes for googleResponsibilityDescription to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setGoogleResponsibilityImplementation(String value)

public Control.Builder setGoogleResponsibilityImplementation(String value)

Output only. Google responsibility implementation of regulatory control.

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

Parameter
Name Description
value String

The googleResponsibilityImplementation to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setGoogleResponsibilityImplementationBytes(ByteString value)

public Control.Builder setGoogleResponsibilityImplementationBytes(ByteString value)

Output only. Google responsibility implementation of regulatory control.

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

Parameter
Name Description
value ByteString

The bytes for googleResponsibilityImplementation to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setName(String value)

public Control.Builder setName(String value)

Output only. The name of a Control. Format: 'organizations/{organization}/locations/{location}/controls/{control}''

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Control.Builder setNameBytes(ByteString value)

Output only. The name of a Control. Format: 'organizations/{organization}/locations/{location}/controls/{control}''

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setRelatedFrameworks(int index, String value)

public Control.Builder setRelatedFrameworks(int index, String value)

Output only. The Frameworks that include this CloudControl

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

Parameters
Name Description
index int

The index to set the value at.

value String

The relatedFrameworks to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Control.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Control.Builder
Overrides

setResponsibilityType(RegulatoryControlResponsibilityType value)

public Control.Builder setResponsibilityType(RegulatoryControlResponsibilityType value)

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

Parameter
Name Description
value RegulatoryControlResponsibilityType

The responsibilityType to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setResponsibilityTypeValue(int value)

public Control.Builder setResponsibilityTypeValue(int value)

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

Parameter
Name Description
value int

The enum numeric value on the wire for responsibilityType to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setSharedResponsibilityDescription(String value)

public Control.Builder setSharedResponsibilityDescription(String value)

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

Parameter
Name Description
value String

The sharedResponsibilityDescription to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setSharedResponsibilityDescriptionBytes(ByteString value)

public Control.Builder setSharedResponsibilityDescriptionBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for sharedResponsibilityDescription to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Control.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Control.Builder
Overrides