public final class ResourcePolicyGroupPlacementPolicy extends com.google.protobuf.GeneratedMessageV3 implements ResourcePolicyGroupPlacementPolicyOrBuilder
A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network localityProtobuf type
google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
ResourcePolicyGroupPlacementPolicy.Builder
A GroupPlacementPolicy specifies resource placement configuration.
|
static class |
ResourcePolicyGroupPlacementPolicy.Collocation
Specifies network collocation
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AVAILABILITY_DOMAIN_COUNT_FIELD_NUMBER |
static int |
COLLOCATION_FIELD_NUMBER |
static int |
VM_COUNT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getAvailabilityDomainCount()
The number of availability domains to spread instances across.
|
String |
getCollocation()
Specifies network collocation
Check the Collocation enum for the list of possible values.
|
com.google.protobuf.ByteString |
getCollocationBytes()
Specifies network collocation
Check the Collocation enum for the list of possible values.
|
static ResourcePolicyGroupPlacementPolicy |
getDefaultInstance() |
ResourcePolicyGroupPlacementPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ResourcePolicyGroupPlacementPolicy> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVmCount()
Number of VMs in this placement group.
|
boolean |
hasAvailabilityDomainCount()
The number of availability domains to spread instances across.
|
boolean |
hasCollocation()
Specifies network collocation
Check the Collocation enum for the list of possible values.
|
int |
hashCode() |
boolean |
hasVmCount()
Number of VMs in this placement group.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ResourcePolicyGroupPlacementPolicy.Builder |
newBuilder() |
static ResourcePolicyGroupPlacementPolicy.Builder |
newBuilder(ResourcePolicyGroupPlacementPolicy prototype) |
ResourcePolicyGroupPlacementPolicy.Builder |
newBuilderForType() |
protected ResourcePolicyGroupPlacementPolicy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ResourcePolicyGroupPlacementPolicy |
parseDelimitedFrom(InputStream input) |
static ResourcePolicyGroupPlacementPolicy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyGroupPlacementPolicy |
parseFrom(byte[] data) |
static ResourcePolicyGroupPlacementPolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyGroupPlacementPolicy |
parseFrom(ByteBuffer data) |
static ResourcePolicyGroupPlacementPolicy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyGroupPlacementPolicy |
parseFrom(com.google.protobuf.ByteString data) |
static ResourcePolicyGroupPlacementPolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyGroupPlacementPolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ResourcePolicyGroupPlacementPolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResourcePolicyGroupPlacementPolicy |
parseFrom(InputStream input) |
static ResourcePolicyGroupPlacementPolicy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ResourcePolicyGroupPlacementPolicy> |
parser() |
ResourcePolicyGroupPlacementPolicy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int AVAILABILITY_DOMAIN_COUNT_FIELD_NUMBER
public static final int COLLOCATION_FIELD_NUMBER
public static final int VM_COUNT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasAvailabilityDomainCount()
The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
optional int32 availability_domain_count = 12453432;hasAvailabilityDomainCount in interface ResourcePolicyGroupPlacementPolicyOrBuilderpublic int getAvailabilityDomainCount()
The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
optional int32 availability_domain_count = 12453432;getAvailabilityDomainCount in interface ResourcePolicyGroupPlacementPolicyOrBuilderpublic boolean hasCollocation()
Specifies network collocation Check the Collocation enum for the list of possible values.
optional string collocation = 511156533;hasCollocation in interface ResourcePolicyGroupPlacementPolicyOrBuilderpublic String getCollocation()
Specifies network collocation Check the Collocation enum for the list of possible values.
optional string collocation = 511156533;getCollocation in interface ResourcePolicyGroupPlacementPolicyOrBuilderpublic com.google.protobuf.ByteString getCollocationBytes()
Specifies network collocation Check the Collocation enum for the list of possible values.
optional string collocation = 511156533;getCollocationBytes in interface ResourcePolicyGroupPlacementPolicyOrBuilderpublic boolean hasVmCount()
Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
optional int32 vm_count = 261463431;hasVmCount in interface ResourcePolicyGroupPlacementPolicyOrBuilderpublic int getVmCount()
Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
optional int32 vm_count = 261463431;getVmCount in interface ResourcePolicyGroupPlacementPolicyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ResourcePolicyGroupPlacementPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyGroupPlacementPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyGroupPlacementPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyGroupPlacementPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyGroupPlacementPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyGroupPlacementPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResourcePolicyGroupPlacementPolicy parseFrom(InputStream input) throws IOException
IOExceptionpublic static ResourcePolicyGroupPlacementPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ResourcePolicyGroupPlacementPolicy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ResourcePolicyGroupPlacementPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ResourcePolicyGroupPlacementPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ResourcePolicyGroupPlacementPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ResourcePolicyGroupPlacementPolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ResourcePolicyGroupPlacementPolicy.Builder newBuilder()
public static ResourcePolicyGroupPlacementPolicy.Builder newBuilder(ResourcePolicyGroupPlacementPolicy prototype)
public ResourcePolicyGroupPlacementPolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ResourcePolicyGroupPlacementPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ResourcePolicyGroupPlacementPolicy getDefaultInstance()
public static com.google.protobuf.Parser<ResourcePolicyGroupPlacementPolicy> parser()
public com.google.protobuf.Parser<ResourcePolicyGroupPlacementPolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ResourcePolicyGroupPlacementPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.