Class VmwarePlatformDetails.Builder (0.1.0)

public static final class VmwarePlatformDetails.Builder extends GeneratedMessageV3.Builder<VmwarePlatformDetails.Builder> implements VmwarePlatformDetailsOrBuilder

VMware specific details.

Protobuf type google.cloud.migrationcenter.v1.VmwarePlatformDetails

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VmwarePlatformDetails build()
Returns
TypeDescription
VmwarePlatformDetails

buildPartial()

public VmwarePlatformDetails buildPartial()
Returns
TypeDescription
VmwarePlatformDetails

clear()

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

clearEsxVersion()

public VmwarePlatformDetails.Builder clearEsxVersion()

ESX version.

string esx_version = 2;

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOsid()

public VmwarePlatformDetails.Builder clearOsid()
Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

clearVcenterFolder()

public VmwarePlatformDetails.Builder clearVcenterFolder()

Folder name in vCenter where asset resides.

string vcenter_folder = 4;

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

clearVcenterUri()

public VmwarePlatformDetails.Builder clearVcenterUri()

vCenter URI used in collection.

string vcenter_uri = 5;

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

clearVcenterVersion()

public VmwarePlatformDetails.Builder clearVcenterVersion()

vCenter version.

string vcenter_version = 1;

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

clearVcenterVmId()

public VmwarePlatformDetails.Builder clearVcenterVmId()

vCenter VM ID.

string vcenter_vm_id = 6;

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public VmwarePlatformDetails getDefaultInstanceForType()
Returns
TypeDescription
VmwarePlatformDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEsxVersion()

public String getEsxVersion()

ESX version.

string esx_version = 2;

Returns
TypeDescription
String

The esxVersion.

getEsxVersionBytes()

public ByteString getEsxVersionBytes()

ESX version.

string esx_version = 2;

Returns
TypeDescription
ByteString

The bytes for esxVersion.

getOsid()

public String getOsid()
Returns
TypeDescription
String

The osid.

getOsidBytes()

public ByteString getOsidBytes()
Returns
TypeDescription
ByteString

The bytes for osid.

getVcenterFolder()

public String getVcenterFolder()

Folder name in vCenter where asset resides.

string vcenter_folder = 4;

Returns
TypeDescription
String

The vcenterFolder.

getVcenterFolderBytes()

public ByteString getVcenterFolderBytes()

Folder name in vCenter where asset resides.

string vcenter_folder = 4;

Returns
TypeDescription
ByteString

The bytes for vcenterFolder.

getVcenterUri()

public String getVcenterUri()

vCenter URI used in collection.

string vcenter_uri = 5;

Returns
TypeDescription
String

The vcenterUri.

getVcenterUriBytes()

public ByteString getVcenterUriBytes()

vCenter URI used in collection.

string vcenter_uri = 5;

Returns
TypeDescription
ByteString

The bytes for vcenterUri.

getVcenterVersion()

public String getVcenterVersion()

vCenter version.

string vcenter_version = 1;

Returns
TypeDescription
String

The vcenterVersion.

getVcenterVersionBytes()

public ByteString getVcenterVersionBytes()

vCenter version.

string vcenter_version = 1;

Returns
TypeDescription
ByteString

The bytes for vcenterVersion.

getVcenterVmId()

public String getVcenterVmId()

vCenter VM ID.

string vcenter_vm_id = 6;

Returns
TypeDescription
String

The vcenterVmId.

getVcenterVmIdBytes()

public ByteString getVcenterVmIdBytes()

vCenter VM ID.

string vcenter_vm_id = 6;

Returns
TypeDescription
ByteString

The bytes for vcenterVmId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VmwarePlatformDetails other)

public VmwarePlatformDetails.Builder mergeFrom(VmwarePlatformDetails other)
Parameter
NameDescription
otherVmwarePlatformDetails
Returns
TypeDescription
VmwarePlatformDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEsxVersion(String value)

public VmwarePlatformDetails.Builder setEsxVersion(String value)

ESX version.

string esx_version = 2;

Parameter
NameDescription
valueString

The esxVersion to set.

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

setEsxVersionBytes(ByteString value)

public VmwarePlatformDetails.Builder setEsxVersionBytes(ByteString value)

ESX version.

string esx_version = 2;

Parameter
NameDescription
valueByteString

The bytes for esxVersion to set.

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setOsid(String value)

public VmwarePlatformDetails.Builder setOsid(String value)
Parameter
NameDescription
valueString

The osid to set.

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

setOsidBytes(ByteString value)

public VmwarePlatformDetails.Builder setOsidBytes(ByteString value)
Parameter
NameDescription
valueByteString

The bytes for osid to set.

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

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

public VmwarePlatformDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VmwarePlatformDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setVcenterFolder(String value)

public VmwarePlatformDetails.Builder setVcenterFolder(String value)

Folder name in vCenter where asset resides.

string vcenter_folder = 4;

Parameter
NameDescription
valueString

The vcenterFolder to set.

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

setVcenterFolderBytes(ByteString value)

public VmwarePlatformDetails.Builder setVcenterFolderBytes(ByteString value)

Folder name in vCenter where asset resides.

string vcenter_folder = 4;

Parameter
NameDescription
valueByteString

The bytes for vcenterFolder to set.

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

setVcenterUri(String value)

public VmwarePlatformDetails.Builder setVcenterUri(String value)

vCenter URI used in collection.

string vcenter_uri = 5;

Parameter
NameDescription
valueString

The vcenterUri to set.

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

setVcenterUriBytes(ByteString value)

public VmwarePlatformDetails.Builder setVcenterUriBytes(ByteString value)

vCenter URI used in collection.

string vcenter_uri = 5;

Parameter
NameDescription
valueByteString

The bytes for vcenterUri to set.

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

setVcenterVersion(String value)

public VmwarePlatformDetails.Builder setVcenterVersion(String value)

vCenter version.

string vcenter_version = 1;

Parameter
NameDescription
valueString

The vcenterVersion to set.

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

setVcenterVersionBytes(ByteString value)

public VmwarePlatformDetails.Builder setVcenterVersionBytes(ByteString value)

vCenter version.

string vcenter_version = 1;

Parameter
NameDescription
valueByteString

The bytes for vcenterVersion to set.

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

setVcenterVmId(String value)

public VmwarePlatformDetails.Builder setVcenterVmId(String value)

vCenter VM ID.

string vcenter_vm_id = 6;

Parameter
NameDescription
valueString

The vcenterVmId to set.

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.

setVcenterVmIdBytes(ByteString value)

public VmwarePlatformDetails.Builder setVcenterVmIdBytes(ByteString value)

vCenter VM ID.

string vcenter_vm_id = 6;

Parameter
NameDescription
valueByteString

The bytes for vcenterVmId to set.

Returns
TypeDescription
VmwarePlatformDetails.Builder

This builder for chaining.