Class Control.Builder (0.3.0)

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

A control.

Protobuf type google.cloud.auditmanager.v1.Control

Implements

ControlOrBuilder

Static Methods

getDescriptor()

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

Methods

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

clearControlFamily()

public Control.Builder clearControlFamily()

Output only. Regulatory Family of the control E.g. Access Control

.google.cloud.auditmanager.v1.ControlFamily control_family = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Control.Builder

clearCustomerResponsibilityDescription()

public Control.Builder clearCustomerResponsibilityDescription()

Output only. Description of the customer responsibility for implementing this control.

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

Returns
Type Description
Control.Builder

This builder for chaining.

clearCustomerResponsibilityImplementation()

public Control.Builder clearCustomerResponsibilityImplementation()

Output only. Implementation of the customer responsibility for implementing this control.

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

Returns
Type Description
Control.Builder

This builder for chaining.

clearDescription()

public Control.Builder clearDescription()

Output only. Regulatory control ask 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 of the control.

string display_name = 2 [(.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.auditmanager.v1.Control.Family family = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Control.Builder

This builder for chaining.

clearGoogleResponsibilityDescription()

public Control.Builder clearGoogleResponsibilityDescription()

Output only. Description of the google responsibility for implementing this control.

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

Returns
Type Description
Control.Builder

This builder for chaining.

clearGoogleResponsibilityImplementation()

public Control.Builder clearGoogleResponsibilityImplementation()

Output only. Implementation of the google responsibility for implementing this control.

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

Returns
Type Description
Control.Builder

This builder for chaining.

clearId()

public Control.Builder clearId()

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

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

Returns
Type Description
Control.Builder

This builder for chaining.

clearResponsibilityType()

public Control.Builder clearResponsibilityType()

Output only. The type of responsibility for implementing this control. It can be google, customer or shared.

string responsibility_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Control.Builder

This builder for chaining.

getControlFamily()

public ControlFamily getControlFamily()

Output only. Regulatory Family of the control E.g. Access Control

.google.cloud.auditmanager.v1.ControlFamily control_family = 10 [(.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.auditmanager.v1.ControlFamily control_family = 10 [(.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.auditmanager.v1.ControlFamily control_family = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ControlFamilyOrBuilder

getCustomerResponsibilityDescription()

public String getCustomerResponsibilityDescription()

Output only. Description of the customer responsibility for implementing this control.

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

Returns
Type Description
String

The customerResponsibilityDescription.

getCustomerResponsibilityDescriptionBytes()

public ByteString getCustomerResponsibilityDescriptionBytes()

Output only. Description of the customer responsibility for implementing this control.

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

Returns
Type Description
ByteString

The bytes for customerResponsibilityDescription.

getCustomerResponsibilityImplementation()

public String getCustomerResponsibilityImplementation()

Output only. Implementation of the customer responsibility for implementing this control.

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

Returns
Type Description
String

The customerResponsibilityImplementation.

getCustomerResponsibilityImplementationBytes()

public ByteString getCustomerResponsibilityImplementationBytes()

Output only. Implementation of the customer responsibility for implementing this control.

string customer_responsibility_implementation = 9 [(.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. Regulatory control ask of the control

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. Regulatory control ask 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 of the control.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. Display name of the control.

string display_name = 2 [(.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.auditmanager.v1.Control.Family family = 3 [(.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.auditmanager.v1.Control.Family family = 3 [(.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. Description of the google responsibility for implementing this control.

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

Returns
Type Description
String

The googleResponsibilityDescription.

getGoogleResponsibilityDescriptionBytes()

public ByteString getGoogleResponsibilityDescriptionBytes()

Output only. Description of the google responsibility for implementing this control.

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

Returns
Type Description
ByteString

The bytes for googleResponsibilityDescription.

getGoogleResponsibilityImplementation()

public String getGoogleResponsibilityImplementation()

Output only. Implementation of the google responsibility for implementing this control.

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

Returns
Type Description
String

The googleResponsibilityImplementation.

getGoogleResponsibilityImplementationBytes()

public ByteString getGoogleResponsibilityImplementationBytes()

Output only. Implementation of the google responsibility for implementing this control.

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

Returns
Type Description
ByteString

The bytes for googleResponsibilityImplementation.

getId()

public String getId()

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

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

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

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

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

Returns
Type Description
ByteString

The bytes for id.

getResponsibilityType()

public String getResponsibilityType()

Output only. The type of responsibility for implementing this control. It can be google, customer or shared.

string responsibility_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The responsibilityType.

getResponsibilityTypeBytes()

public ByteString getResponsibilityTypeBytes()

Output only. The type of responsibility for implementing this control. It can be google, customer or shared.

string responsibility_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for responsibilityType.

hasControlFamily()

public boolean hasControlFamily()

Output only. Regulatory Family of the control E.g. Access Control

.google.cloud.auditmanager.v1.ControlFamily control_family = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the controlFamily field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.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.auditmanager.v1.ControlFamily control_family = 10 [(.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

setControlFamily(ControlFamily value)

public Control.Builder setControlFamily(ControlFamily value)

Output only. Regulatory Family of the control E.g. Access Control

.google.cloud.auditmanager.v1.ControlFamily control_family = 10 [(.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.auditmanager.v1.ControlFamily control_family = 10 [(.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. Description of the customer responsibility for implementing this control.

string customer_responsibility_description = 8 [(.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. Description of the customer responsibility for implementing this control.

string customer_responsibility_description = 8 [(.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. Implementation of the customer responsibility for implementing this control.

string customer_responsibility_implementation = 9 [(.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. Implementation of the customer responsibility for implementing this control.

string customer_responsibility_implementation = 9 [(.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. Regulatory control ask 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. Regulatory control ask 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 of the control.

string display_name = 2 [(.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 of the control.

string display_name = 2 [(.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.auditmanager.v1.Control.Family family = 3 [(.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.auditmanager.v1.Control.Family family = 3 [(.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.

setGoogleResponsibilityDescription(String value)

public Control.Builder setGoogleResponsibilityDescription(String value)

Output only. Description of the google responsibility for implementing this control.

string google_responsibility_description = 6 [(.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. Description of the google responsibility for implementing this control.

string google_responsibility_description = 6 [(.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. Implementation of the google responsibility for implementing this control.

string google_responsibility_implementation = 7 [(.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. Implementation of the google responsibility for implementing this control.

string google_responsibility_implementation = 7 [(.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.

setId(String value)

public Control.Builder setId(String value)

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

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

Parameter
Name Description
value String

The id to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setIdBytes(ByteString value)

public Control.Builder setIdBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setResponsibilityType(String value)

public Control.Builder setResponsibilityType(String value)

Output only. The type of responsibility for implementing this control. It can be google, customer or shared.

string responsibility_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The responsibilityType to set.

Returns
Type Description
Control.Builder

This builder for chaining.

setResponsibilityTypeBytes(ByteString value)

public Control.Builder setResponsibilityTypeBytes(ByteString value)

Output only. The type of responsibility for implementing this control. It can be google, customer or shared.

string responsibility_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for responsibilityType to set.

Returns
Type Description
Control.Builder

This builder for chaining.