public static final class AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint extends GeneratedMessageV3 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
Static Methods
getDefaultInstance()
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder newBuilder()
Returns
newBuilder(AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint prototype)
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder newBuilder(AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint prototype)
Parameter
Returns
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getDefaultInstanceForType()
Returns
getParserForType()
public Parser<AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions