public final class SoleTenancyPreferences extends com.google.protobuf.GeneratedMessageV3 implements SoleTenancyPreferencesOrBuilder
Preferences concerning Sole Tenancy nodes and VMs.Protobuf type
google.cloud.migrationcenter.v1.SoleTenancyPreferences| Modifier and Type | Class and Description |
|---|---|
static class |
SoleTenancyPreferences.Builder
Preferences concerning Sole Tenancy nodes and VMs.
|
static class |
SoleTenancyPreferences.CommitmentPlan
Type of committed use discount.
|
static class |
SoleTenancyPreferences.HostMaintenancePolicy
Sole Tenancy nodes maintenance policy.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COMMITMENT_PLAN_FIELD_NUMBER |
static int |
CPU_OVERCOMMIT_RATIO_FIELD_NUMBER |
static int |
HOST_MAINTENANCE_POLICY_FIELD_NUMBER |
static int |
NODE_TYPES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
SoleTenancyPreferences.CommitmentPlan |
getCommitmentPlan()
Commitment plan to consider when calculating costs for virtual machine
insights and recommendations.
|
int |
getCommitmentPlanValue()
Commitment plan to consider when calculating costs for virtual machine
insights and recommendations.
|
double |
getCpuOvercommitRatio()
CPU overcommit ratio.
|
static SoleTenancyPreferences |
getDefaultInstance() |
SoleTenancyPreferences |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
SoleTenancyPreferences.HostMaintenancePolicy |
getHostMaintenancePolicy()
Sole Tenancy nodes maintenance policy.
|
int |
getHostMaintenancePolicyValue()
Sole Tenancy nodes maintenance policy.
|
SoleTenantNodeType |
getNodeTypes(int index)
A list of sole tenant node types.
|
int |
getNodeTypesCount()
A list of sole tenant node types.
|
List<SoleTenantNodeType> |
getNodeTypesList()
A list of sole tenant node types.
|
SoleTenantNodeTypeOrBuilder |
getNodeTypesOrBuilder(int index)
A list of sole tenant node types.
|
List<? extends SoleTenantNodeTypeOrBuilder> |
getNodeTypesOrBuilderList()
A list of sole tenant node types.
|
com.google.protobuf.Parser<SoleTenancyPreferences> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SoleTenancyPreferences.Builder |
newBuilder() |
static SoleTenancyPreferences.Builder |
newBuilder(SoleTenancyPreferences prototype) |
SoleTenancyPreferences.Builder |
newBuilderForType() |
protected SoleTenancyPreferences.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SoleTenancyPreferences |
parseDelimitedFrom(InputStream input) |
static SoleTenancyPreferences |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SoleTenancyPreferences |
parseFrom(byte[] data) |
static SoleTenancyPreferences |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SoleTenancyPreferences |
parseFrom(ByteBuffer data) |
static SoleTenancyPreferences |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SoleTenancyPreferences |
parseFrom(com.google.protobuf.ByteString data) |
static SoleTenancyPreferences |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SoleTenancyPreferences |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SoleTenancyPreferences |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SoleTenancyPreferences |
parseFrom(InputStream input) |
static SoleTenancyPreferences |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SoleTenancyPreferences> |
parser() |
SoleTenancyPreferences.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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 CPU_OVERCOMMIT_RATIO_FIELD_NUMBER
public static final int HOST_MAINTENANCE_POLICY_FIELD_NUMBER
public static final int COMMITMENT_PLAN_FIELD_NUMBER
public static final int NODE_TYPES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 double getCpuOvercommitRatio()
CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
double cpu_overcommit_ratio = 1;getCpuOvercommitRatio in interface SoleTenancyPreferencesOrBuilderpublic int getHostMaintenancePolicyValue()
Sole Tenancy nodes maintenance policy.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences.HostMaintenancePolicy host_maintenance_policy = 2;
getHostMaintenancePolicyValue in interface SoleTenancyPreferencesOrBuilderpublic SoleTenancyPreferences.HostMaintenancePolicy getHostMaintenancePolicy()
Sole Tenancy nodes maintenance policy.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences.HostMaintenancePolicy host_maintenance_policy = 2;
getHostMaintenancePolicy in interface SoleTenancyPreferencesOrBuilderpublic int getCommitmentPlanValue()
Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences.CommitmentPlan commitment_plan = 3;
getCommitmentPlanValue in interface SoleTenancyPreferencesOrBuilderpublic SoleTenancyPreferences.CommitmentPlan getCommitmentPlan()
Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences.CommitmentPlan commitment_plan = 3;
getCommitmentPlan in interface SoleTenancyPreferencesOrBuilderpublic List<SoleTenantNodeType> getNodeTypesList()
A list of sole tenant node types. An empty list means that all possible node types will be considered.
repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4;getNodeTypesList in interface SoleTenancyPreferencesOrBuilderpublic List<? extends SoleTenantNodeTypeOrBuilder> getNodeTypesOrBuilderList()
A list of sole tenant node types. An empty list means that all possible node types will be considered.
repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4;getNodeTypesOrBuilderList in interface SoleTenancyPreferencesOrBuilderpublic int getNodeTypesCount()
A list of sole tenant node types. An empty list means that all possible node types will be considered.
repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4;getNodeTypesCount in interface SoleTenancyPreferencesOrBuilderpublic SoleTenantNodeType getNodeTypes(int index)
A list of sole tenant node types. An empty list means that all possible node types will be considered.
repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4;getNodeTypes in interface SoleTenancyPreferencesOrBuilderpublic SoleTenantNodeTypeOrBuilder getNodeTypesOrBuilder(int index)
A list of sole tenant node types. An empty list means that all possible node types will be considered.
repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4;getNodeTypesOrBuilder in interface SoleTenancyPreferencesOrBuilderpublic 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 SoleTenancyPreferences parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SoleTenancyPreferences parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SoleTenancyPreferences parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SoleTenancyPreferences parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SoleTenancyPreferences parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SoleTenancyPreferences parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SoleTenancyPreferences parseFrom(InputStream input) throws IOException
IOExceptionpublic static SoleTenancyPreferences parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SoleTenancyPreferences parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SoleTenancyPreferences parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SoleTenancyPreferences parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SoleTenancyPreferences parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SoleTenancyPreferences.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SoleTenancyPreferences.Builder newBuilder()
public static SoleTenancyPreferences.Builder newBuilder(SoleTenancyPreferences prototype)
public SoleTenancyPreferences.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SoleTenancyPreferences.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SoleTenancyPreferences getDefaultInstance()
public static com.google.protobuf.Parser<SoleTenancyPreferences> parser()
public com.google.protobuf.Parser<SoleTenancyPreferences> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SoleTenancyPreferences getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.