Class AzureVmPlatformDetails.Builder (0.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AzureVmPlatformDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AzureVmPlatformDetails.Builder
Overrides

build()

public AzureVmPlatformDetails build()
Returns
TypeDescription
AzureVmPlatformDetails

buildPartial()

public AzureVmPlatformDetails buildPartial()
Returns
TypeDescription
AzureVmPlatformDetails

clear()

public AzureVmPlatformDetails.Builder clear()
Returns
TypeDescription
AzureVmPlatformDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AzureVmPlatformDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AzureVmPlatformDetails.Builder
Overrides

clearLocation()

public AzureVmPlatformDetails.Builder clearLocation()

The location of the machine in the Azure format.

string location = 2;

Returns
TypeDescription
AzureVmPlatformDetails.Builder

This builder for chaining.

clearMachineTypeLabel()

public AzureVmPlatformDetails.Builder clearMachineTypeLabel()

Azure platform's machine type label.

string machine_type_label = 1;

Returns
TypeDescription
AzureVmPlatformDetails.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureVmPlatformDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AzureVmPlatformDetails.Builder
Overrides

clearProvisioningState()

public AzureVmPlatformDetails.Builder clearProvisioningState()

Azure platform's provisioning state.

string provisioning_state = 3;

Returns
TypeDescription
AzureVmPlatformDetails.Builder

This builder for chaining.

clone()

public AzureVmPlatformDetails.Builder clone()
Returns
TypeDescription
AzureVmPlatformDetails.Builder
Overrides

getDefaultInstanceForType()

public AzureVmPlatformDetails getDefaultInstanceForType()
Returns
TypeDescription
AzureVmPlatformDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLocation()

public String getLocation()

The location of the machine in the Azure format.

string location = 2;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The location of the machine in the Azure format.

string location = 2;

Returns
TypeDescription
ByteString

The bytes for location.

getMachineTypeLabel()

public String getMachineTypeLabel()

Azure platform's machine type label.

string machine_type_label = 1;

Returns
TypeDescription
String

The machineTypeLabel.

getMachineTypeLabelBytes()

public ByteString getMachineTypeLabelBytes()

Azure platform's machine type label.

string machine_type_label = 1;

Returns
TypeDescription
ByteString

The bytes for machineTypeLabel.

getProvisioningState()

public String getProvisioningState()

Azure platform's provisioning state.

string provisioning_state = 3;

Returns
TypeDescription
String

The provisioningState.

getProvisioningStateBytes()

public ByteString getProvisioningStateBytes()

Azure platform's provisioning state.

string provisioning_state = 3;

Returns
TypeDescription
ByteString

The bytes for provisioningState.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AzureVmPlatformDetails other)

public AzureVmPlatformDetails.Builder mergeFrom(AzureVmPlatformDetails other)
Parameter
NameDescription
otherAzureVmPlatformDetails
Returns
TypeDescription
AzureVmPlatformDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AzureVmPlatformDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureVmPlatformDetails.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AzureVmPlatformDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AzureVmPlatformDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureVmPlatformDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureVmPlatformDetails.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AzureVmPlatformDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The location to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
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
NameDescription
valueString

The machineTypeLabel to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for machineTypeLabel to set.

Returns
TypeDescription
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
NameDescription
valueString

The provisioningState to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for provisioningState to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AzureVmPlatformDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AzureVmPlatformDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureVmPlatformDetails.Builder
Overrides