Class Control (0.3.0)

public final class Control extends GeneratedMessage implements ControlOrBuilder

A control.

Protobuf type google.cloud.auditmanager.v1.Control

Implements

ControlOrBuilder

Static Fields

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

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

RESPONSIBILITY_TYPE_FIELD_NUMBER

public static final int RESPONSIBILITY_TYPE_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

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.

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.

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.

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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