public final class LocationPolicyLocationConstraints extends GeneratedMessageV3 implements LocationPolicyLocationConstraintsOrBuilder
Per-zone constraints on location policy for this zone.
Protobuf type google.cloud.compute.v1.LocationPolicyLocationConstraints
Static Fields
MAX_COUNT_FIELD_NUMBER
public static final int MAX_COUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static LocationPolicyLocationConstraints getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static LocationPolicyLocationConstraints.Builder newBuilder()
Returns
newBuilder(LocationPolicyLocationConstraints prototype)
public static LocationPolicyLocationConstraints.Builder newBuilder(LocationPolicyLocationConstraints prototype)
Parameter
Returns
public static LocationPolicyLocationConstraints parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static LocationPolicyLocationConstraints parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static LocationPolicyLocationConstraints parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LocationPolicyLocationConstraints parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static LocationPolicyLocationConstraints parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LocationPolicyLocationConstraints parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LocationPolicyLocationConstraints parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static LocationPolicyLocationConstraints parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LocationPolicyLocationConstraints parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static LocationPolicyLocationConstraints parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static LocationPolicyLocationConstraints parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LocationPolicyLocationConstraints parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<LocationPolicyLocationConstraints> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public LocationPolicyLocationConstraints getDefaultInstanceForType()
Returns
getMaxCount()
Maximum number of items that are allowed to be placed in this zone. The value must be non-negative.
optional int32 max_count = 287620724;
Returns
Type | Description |
int | The maxCount.
|
getParserForType()
public Parser<LocationPolicyLocationConstraints> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasMaxCount()
public boolean hasMaxCount()
Maximum number of items that are allowed to be placed in this zone. The value must be non-negative.
optional int32 max_count = 287620724;
Returns
Type | Description |
boolean | Whether the maxCount field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public LocationPolicyLocationConstraints.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LocationPolicyLocationConstraints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public LocationPolicyLocationConstraints.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions