Class AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder (3.57.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
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint build()

buildPartial()

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint buildPartial()

clear()

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder clone()
Overrides

getDefaultInstanceForType()

public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getDefaultInstanceForType()

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)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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