public static final class Constraint.BooleanConstraint extends GeneratedMessageV3 implements 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.orgpolicy.v2.Constraint.BooleanConstraint
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Methods
getDefaultInstance()
public static Constraint.BooleanConstraint getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Constraint.BooleanConstraint.Builder newBuilder()
newBuilder(Constraint.BooleanConstraint prototype)
public static Constraint.BooleanConstraint.Builder newBuilder(Constraint.BooleanConstraint prototype)
public static Constraint.BooleanConstraint parseDelimitedFrom(InputStream input)
public static Constraint.BooleanConstraint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Constraint.BooleanConstraint parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Constraint.BooleanConstraint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Constraint.BooleanConstraint parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Constraint.BooleanConstraint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Constraint.BooleanConstraint parseFrom(CodedInputStream input)
public static Constraint.BooleanConstraint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Constraint.BooleanConstraint parseFrom(InputStream input)
public static Constraint.BooleanConstraint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Constraint.BooleanConstraint parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Constraint.BooleanConstraint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Constraint.BooleanConstraint> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Constraint.BooleanConstraint getDefaultInstanceForType()
getParserForType()
public Parser<Constraint.BooleanConstraint> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Constraint.BooleanConstraint.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Constraint.BooleanConstraint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Constraint.BooleanConstraint.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides