Class AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder (3.18.0)

public static final class AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder extends GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder> implements AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder

A Constraint that is either enforced or not. For example a constraint constraints/compute.disableSerialPortAccess. If it is enforced on a VM instance, serial port connections will not be opened to that instance.

Protobuf type google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint build()
Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint

buildPartial()

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint buildPartial()
Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint

clear()

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder clear()
Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder
Overrides

clone()

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder clone()
Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder
Overrides

getDefaultInstanceForType()

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getDefaultInstanceForType()
Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint other)

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder mergeFrom(AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint other)
Parameter
Name Description
other AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint
Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder
Overrides