Interface ComputeEnginePreferencesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComputeEnginePreferences
,ComputeEnginePreferences.Builder
public interface ComputeEnginePreferencesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LicenseType
getLicenseType()
License type to consider when calculating costs for virtual machine insights and recommendations.int
getLicenseTypeValue()
License type to consider when calculating costs for virtual machine insights and recommendations.MachinePreferences
getMachinePreferences()
Preferences concerning the machine types to consider on Compute Engine.MachinePreferencesOrBuilder
getMachinePreferencesOrBuilder()
Preferences concerning the machine types to consider on Compute Engine.boolean
hasMachinePreferences()
Preferences concerning the machine types to consider on Compute Engine.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMachinePreferences
boolean hasMachinePreferences()
Preferences concerning the machine types to consider on Compute Engine.
.google.cloud.migrationcenter.v1.MachinePreferences machine_preferences = 2;
- Returns:
- Whether the machinePreferences field is set.
-
getMachinePreferences
MachinePreferences getMachinePreferences()
Preferences concerning the machine types to consider on Compute Engine.
.google.cloud.migrationcenter.v1.MachinePreferences machine_preferences = 2;
- Returns:
- The machinePreferences.
-
getMachinePreferencesOrBuilder
MachinePreferencesOrBuilder getMachinePreferencesOrBuilder()
Preferences concerning the machine types to consider on Compute Engine.
.google.cloud.migrationcenter.v1.MachinePreferences machine_preferences = 2;
-
getLicenseTypeValue
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:
- The enum numeric value on the wire for licenseType.
-
getLicenseType
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;
- Returns:
- The licenseType.
-
-