Class AzureVmPlatformDetails.Builder (0.24.0)

public static final class AzureVmPlatformDetails.Builder extends GeneratedMessageV3.Builder<AzureVmPlatformDetails.Builder> implements AzureVmPlatformDetailsOrBuilder

Azure VM specific details.

Protobuf type google.cloud.migrationcenter.v1.AzureVmPlatformDetails

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AzureVmPlatformDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AzureVmPlatformDetails.Builder
Overrides

build()

public AzureVmPlatformDetails build()
Returns
Type Description
AzureVmPlatformDetails

buildPartial()

public AzureVmPlatformDetails buildPartial()
Returns
Type Description
AzureVmPlatformDetails

clear()

public AzureVmPlatformDetails.Builder clear()
Returns
Type Description
AzureVmPlatformDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AzureVmPlatformDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AzureVmPlatformDetails.Builder
Overrides

clearLocation()

public AzureVmPlatformDetails.Builder clearLocation()

The location of the machine in the Azure format.

string location = 2;

Returns
Type Description
AzureVmPlatformDetails.Builder

This builder for chaining.

clearMachineTypeLabel()

public AzureVmPlatformDetails.Builder clearMachineTypeLabel()

Azure platform's machine type label.

string machine_type_label = 1;

Returns
Type Description
AzureVmPlatformDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureVmPlatformDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AzureVmPlatformDetails.Builder
Overrides

clearProvisioningState()

public AzureVmPlatformDetails.Builder clearProvisioningState()

Azure platform's provisioning state.

string provisioning_state = 3;

Returns
Type Description
AzureVmPlatformDetails.Builder

This builder for chaining.

clone()

public AzureVmPlatformDetails.Builder clone()
Returns
Type Description
AzureVmPlatformDetails.Builder
Overrides

getDefaultInstanceForType()

public AzureVmPlatformDetails getDefaultInstanceForType()
Returns
Type Description
AzureVmPlatformDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLocation()

public String getLocation()

The location of the machine in the Azure format.

string location = 2;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The location of the machine in the Azure format.

string location = 2;

Returns
Type Description
ByteString

The bytes for location.

getMachineTypeLabel()

public String getMachineTypeLabel()

Azure platform's machine type label.

string machine_type_label = 1;

Returns
Type Description
String

The machineTypeLabel.

getMachineTypeLabelBytes()

public ByteString getMachineTypeLabelBytes()

Azure platform's machine type label.

string machine_type_label = 1;

Returns
Type Description
ByteString

The bytes for machineTypeLabel.

getProvisioningState()

public String getProvisioningState()

Azure platform's provisioning state.

string provisioning_state = 3;

Returns
Type Description
String

The provisioningState.

getProvisioningStateBytes()

public ByteString getProvisioningStateBytes()

Azure platform's provisioning state.

string provisioning_state = 3;

Returns
Type Description
ByteString

The bytes for provisioningState.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AzureVmPlatformDetails other)

public AzureVmPlatformDetails.Builder mergeFrom(AzureVmPlatformDetails other)
Parameter
Name Description
other AzureVmPlatformDetails
Returns
Type Description
AzureVmPlatformDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AzureVmPlatformDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureVmPlatformDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AzureVmPlatformDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AzureVmPlatformDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureVmPlatformDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AzureVmPlatformDetails.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AzureVmPlatformDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AzureVmPlatformDetails.Builder
Overrides

setLocation(String value)

public AzureVmPlatformDetails.Builder setLocation(String value)

The location of the machine in the Azure format.

string location = 2;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
AzureVmPlatformDetails.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public AzureVmPlatformDetails.Builder setLocationBytes(ByteString value)

The location of the machine in the Azure format.

string location = 2;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
AzureVmPlatformDetails.Builder

This builder for chaining.

setMachineTypeLabel(String value)

public AzureVmPlatformDetails.Builder setMachineTypeLabel(String value)

Azure platform's machine type label.

string machine_type_label = 1;

Parameter
Name Description
value String

The machineTypeLabel to set.

Returns
Type Description
AzureVmPlatformDetails.Builder

This builder for chaining.

setMachineTypeLabelBytes(ByteString value)

public AzureVmPlatformDetails.Builder setMachineTypeLabelBytes(ByteString value)

Azure platform's machine type label.

string machine_type_label = 1;

Parameter
Name Description
value ByteString

The bytes for machineTypeLabel to set.

Returns
Type Description
AzureVmPlatformDetails.Builder

This builder for chaining.

setProvisioningState(String value)

public AzureVmPlatformDetails.Builder setProvisioningState(String value)

Azure platform's provisioning state.

string provisioning_state = 3;

Parameter
Name Description
value String

The provisioningState to set.

Returns
Type Description
AzureVmPlatformDetails.Builder

This builder for chaining.

setProvisioningStateBytes(ByteString value)

public AzureVmPlatformDetails.Builder setProvisioningStateBytes(ByteString value)

Azure platform's provisioning state.

string provisioning_state = 3;

Parameter
Name Description
value ByteString

The bytes for provisioningState to set.

Returns
Type Description
AzureVmPlatformDetails.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AzureVmPlatformDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AzureVmPlatformDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AzureVmPlatformDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AzureVmPlatformDetails.Builder
Overrides