public final class ComputeEnginePreferences extends GeneratedMessageV3 implements ComputeEnginePreferencesOrBuilder
The user preferences relating to Compute Engine target platform.
Protobuf type google.cloud.migrationcenter.v1.ComputeEnginePreferences
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>)
Static Fields
LICENSE_TYPE_FIELD_NUMBER
public static final int LICENSE_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MACHINE_PREFERENCES_FIELD_NUMBER
public static final int MACHINE_PREFERENCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ComputeEnginePreferences getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ComputeEnginePreferences.Builder newBuilder()
newBuilder(ComputeEnginePreferences prototype)
public static ComputeEnginePreferences.Builder newBuilder(ComputeEnginePreferences prototype)
public static ComputeEnginePreferences parseDelimitedFrom(InputStream input)
public static ComputeEnginePreferences parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ComputeEnginePreferences parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeEnginePreferences parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ComputeEnginePreferences parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeEnginePreferences parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeEnginePreferences parseFrom(CodedInputStream input)
public static ComputeEnginePreferences parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeEnginePreferences parseFrom(InputStream input)
public static ComputeEnginePreferences parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ComputeEnginePreferences parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeEnginePreferences parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ComputeEnginePreferences> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ComputeEnginePreferences getDefaultInstanceForType()
getLicenseType()
public LicenseType getLicenseType()
License type to consider when calculating costs for virtual machine
insights and recommendations. If unspecified, costs are calculated
based on the default licensing plan.
.google.cloud.migrationcenter.v1.LicenseType license_type = 3;
getLicenseTypeValue()
public int getLicenseTypeValue()
License type to consider when calculating costs for virtual machine
insights and recommendations. If unspecified, costs are calculated
based on the default licensing plan.
.google.cloud.migrationcenter.v1.LicenseType license_type = 3;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for licenseType.
|
getMachinePreferences()
public MachinePreferences getMachinePreferences()
Preferences concerning the machine types to consider on Compute Engine.
.google.cloud.migrationcenter.v1.MachinePreferences machine_preferences = 2;
getMachinePreferencesOrBuilder()
public MachinePreferencesOrBuilder getMachinePreferencesOrBuilder()
Preferences concerning the machine types to consider on Compute Engine.
.google.cloud.migrationcenter.v1.MachinePreferences machine_preferences = 2;
getParserForType()
public Parser<ComputeEnginePreferences> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasMachinePreferences()
public boolean hasMachinePreferences()
Preferences concerning the machine types to consider on Compute Engine.
.google.cloud.migrationcenter.v1.MachinePreferences machine_preferences = 2;
Returns |
---|
Type | Description |
boolean | Whether the machinePreferences field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ComputeEnginePreferences.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeEnginePreferences.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ComputeEnginePreferences.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides