public final class MachinePreferences extends GeneratedMessageV3 implements MachinePreferencesOrBuilder
The type of machines to consider when calculating virtual machine migration
insights and recommendations.
Not all machine types are available in all zones and regions.
Protobuf type google.cloud.migrationcenter.v1.MachinePreferences
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALLOWED_MACHINE_SERIES_FIELD_NUMBER
public static final int ALLOWED_MACHINE_SERIES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MachinePreferences getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MachinePreferences.Builder newBuilder()
newBuilder(MachinePreferences prototype)
public static MachinePreferences.Builder newBuilder(MachinePreferences prototype)
public static MachinePreferences parseDelimitedFrom(InputStream input)
public static MachinePreferences parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MachinePreferences parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MachinePreferences parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MachinePreferences parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MachinePreferences parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MachinePreferences parseFrom(CodedInputStream input)
public static MachinePreferences parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MachinePreferences parseFrom(InputStream input)
public static MachinePreferences parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MachinePreferences parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MachinePreferences parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MachinePreferences> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAllowedMachineSeries(int index)
public MachineSeries getAllowedMachineSeries(int index)
Compute Engine machine series to consider for insights and recommendations.
If empty, no restriction is applied on the machine series.
repeated .google.cloud.migrationcenter.v1.MachineSeries allowed_machine_series = 1;
Parameter |
---|
Name | Description |
index | int
|
getAllowedMachineSeriesCount()
public int getAllowedMachineSeriesCount()
Compute Engine machine series to consider for insights and recommendations.
If empty, no restriction is applied on the machine series.
repeated .google.cloud.migrationcenter.v1.MachineSeries allowed_machine_series = 1;
Returns |
---|
Type | Description |
int | |
getAllowedMachineSeriesList()
public List<MachineSeries> getAllowedMachineSeriesList()
Compute Engine machine series to consider for insights and recommendations.
If empty, no restriction is applied on the machine series.
repeated .google.cloud.migrationcenter.v1.MachineSeries allowed_machine_series = 1;
getAllowedMachineSeriesOrBuilder(int index)
public MachineSeriesOrBuilder getAllowedMachineSeriesOrBuilder(int index)
Compute Engine machine series to consider for insights and recommendations.
If empty, no restriction is applied on the machine series.
repeated .google.cloud.migrationcenter.v1.MachineSeries allowed_machine_series = 1;
Parameter |
---|
Name | Description |
index | int
|
getAllowedMachineSeriesOrBuilderList()
public List<? extends MachineSeriesOrBuilder> getAllowedMachineSeriesOrBuilderList()
Compute Engine machine series to consider for insights and recommendations.
If empty, no restriction is applied on the machine series.
repeated .google.cloud.migrationcenter.v1.MachineSeries allowed_machine_series = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.migrationcenter.v1.MachineSeriesOrBuilder> | |
getDefaultInstanceForType()
public MachinePreferences getDefaultInstanceForType()
getParserForType()
public Parser<MachinePreferences> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MachinePreferences.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MachinePreferences.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MachinePreferences.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides