Class SimilarControls.Builder (0.12.0)

public static final class SimilarControls.Builder extends GeneratedMessage.Builder<SimilarControls.Builder> implements SimilarControlsOrBuilder

The similar controls.

Protobuf type google.cloud.cloudsecuritycompliance.v1.SimilarControls

Static Methods

getDescriptor()

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

Methods

build()

public SimilarControls build()
Returns
Type Description
SimilarControls

buildPartial()

public SimilarControls buildPartial()
Returns
Type Description
SimilarControls

clear()

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

clearControlId()

public SimilarControls.Builder clearControlId()

The ID of the control.

string control_id = 2;

Returns
Type Description
SimilarControls.Builder

This builder for chaining.

clearFramework()

public SimilarControls.Builder clearFramework()

The name of the framework.

string framework = 1;

Returns
Type Description
SimilarControls.Builder

This builder for chaining.

getControlId()

public String getControlId()

The ID of the control.

string control_id = 2;

Returns
Type Description
String

The controlId.

getControlIdBytes()

public ByteString getControlIdBytes()

The ID of the control.

string control_id = 2;

Returns
Type Description
ByteString

The bytes for controlId.

getDefaultInstanceForType()

public SimilarControls getDefaultInstanceForType()
Returns
Type Description
SimilarControls

getDescriptorForType()

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

getFramework()

public String getFramework()

The name of the framework.

string framework = 1;

Returns
Type Description
String

The framework.

getFrameworkBytes()

public ByteString getFrameworkBytes()

The name of the framework.

string framework = 1;

Returns
Type Description
ByteString

The bytes for framework.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SimilarControls other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setControlId(String value)

public SimilarControls.Builder setControlId(String value)

The ID of the control.

string control_id = 2;

Parameter
Name Description
value String

The controlId to set.

Returns
Type Description
SimilarControls.Builder

This builder for chaining.

setControlIdBytes(ByteString value)

public SimilarControls.Builder setControlIdBytes(ByteString value)

The ID of the control.

string control_id = 2;

Parameter
Name Description
value ByteString

The bytes for controlId to set.

Returns
Type Description
SimilarControls.Builder

This builder for chaining.

setFramework(String value)

public SimilarControls.Builder setFramework(String value)

The name of the framework.

string framework = 1;

Parameter
Name Description
value String

The framework to set.

Returns
Type Description
SimilarControls.Builder

This builder for chaining.

setFrameworkBytes(ByteString value)

public SimilarControls.Builder setFrameworkBytes(ByteString value)

The name of the framework.

string framework = 1;

Parameter
Name Description
value ByteString

The bytes for framework to set.

Returns
Type Description
SimilarControls.Builder

This builder for chaining.