Class VmwarePlatformDetails.Builder (0.35.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VmwarePlatformDetails build()
Returns
Type Description
VmwarePlatformDetails

buildPartial()

public VmwarePlatformDetails buildPartial()
Returns
Type Description
VmwarePlatformDetails

clear()

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

clearEsxVersion()

public VmwarePlatformDetails.Builder clearEsxVersion()

ESX version.

string esx_version = 2;

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOsid()

public VmwarePlatformDetails.Builder clearOsid()
Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

clearVcenterFolder()

public VmwarePlatformDetails.Builder clearVcenterFolder()

Folder name in vCenter where asset resides.

string vcenter_folder = 4;

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

clearVcenterUri()

public VmwarePlatformDetails.Builder clearVcenterUri()

vCenter URI used in collection.

string vcenter_uri = 5;

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

clearVcenterVersion()

public VmwarePlatformDetails.Builder clearVcenterVersion()

vCenter version.

string vcenter_version = 1;

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

clearVcenterVmId()

public VmwarePlatformDetails.Builder clearVcenterVmId()

vCenter VM ID.

string vcenter_vm_id = 6;

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public VmwarePlatformDetails getDefaultInstanceForType()
Returns
Type Description
VmwarePlatformDetails

getDescriptorForType()

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

getEsxVersion()

public String getEsxVersion()

ESX version.

string esx_version = 2;

Returns
Type Description
String

The esxVersion.

getEsxVersionBytes()

public ByteString getEsxVersionBytes()

ESX version.

string esx_version = 2;

Returns
Type Description
ByteString

The bytes for esxVersion.

getOsid()

public String getOsid()
Returns
Type Description
String

The osid.

getOsidBytes()

public ByteString getOsidBytes()
Returns
Type Description
ByteString

The bytes for osid.

getVcenterFolder()

public String getVcenterFolder()

Folder name in vCenter where asset resides.

string vcenter_folder = 4;

Returns
Type Description
String

The vcenterFolder.

getVcenterFolderBytes()

public ByteString getVcenterFolderBytes()

Folder name in vCenter where asset resides.

string vcenter_folder = 4;

Returns
Type Description
ByteString

The bytes for vcenterFolder.

getVcenterUri()

public String getVcenterUri()

vCenter URI used in collection.

string vcenter_uri = 5;

Returns
Type Description
String

The vcenterUri.

getVcenterUriBytes()

public ByteString getVcenterUriBytes()

vCenter URI used in collection.

string vcenter_uri = 5;

Returns
Type Description
ByteString

The bytes for vcenterUri.

getVcenterVersion()

public String getVcenterVersion()

vCenter version.

string vcenter_version = 1;

Returns
Type Description
String

The vcenterVersion.

getVcenterVersionBytes()

public ByteString getVcenterVersionBytes()

vCenter version.

string vcenter_version = 1;

Returns
Type Description
ByteString

The bytes for vcenterVersion.

getVcenterVmId()

public String getVcenterVmId()

vCenter VM ID.

string vcenter_vm_id = 6;

Returns
Type Description
String

The vcenterVmId.

getVcenterVmIdBytes()

public ByteString getVcenterVmIdBytes()

vCenter VM ID.

string vcenter_vm_id = 6;

Returns
Type Description
ByteString

The bytes for vcenterVmId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VmwarePlatformDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEsxVersion(String value)

public VmwarePlatformDetails.Builder setEsxVersion(String value)

ESX version.

string esx_version = 2;

Parameter
Name Description
value String

The esxVersion to set.

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

setEsxVersionBytes(ByteString value)

public VmwarePlatformDetails.Builder setEsxVersionBytes(ByteString value)

ESX version.

string esx_version = 2;

Parameter
Name Description
value ByteString

The bytes for esxVersion to set.

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setOsid(String value)

public VmwarePlatformDetails.Builder setOsid(String value)
Parameter
Name Description
value String

The osid to set.

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

setOsidBytes(ByteString value)

public VmwarePlatformDetails.Builder setOsidBytes(ByteString value)
Parameter
Name Description
value ByteString

The bytes for osid to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VmwarePlatformDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setVcenterFolder(String value)

public VmwarePlatformDetails.Builder setVcenterFolder(String value)

Folder name in vCenter where asset resides.

string vcenter_folder = 4;

Parameter
Name Description
value String

The vcenterFolder to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for vcenterFolder to set.

Returns
Type Description
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
Name Description
value String

The vcenterUri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for vcenterUri to set.

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

setVcenterVersion(String value)

public VmwarePlatformDetails.Builder setVcenterVersion(String value)

vCenter version.

string vcenter_version = 1;

Parameter
Name Description
value String

The vcenterVersion to set.

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

setVcenterVersionBytes(ByteString value)

public VmwarePlatformDetails.Builder setVcenterVersionBytes(ByteString value)

vCenter version.

string vcenter_version = 1;

Parameter
Name Description
value ByteString

The bytes for vcenterVersion to set.

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

setVcenterVmId(String value)

public VmwarePlatformDetails.Builder setVcenterVmId(String value)

vCenter VM ID.

string vcenter_vm_id = 6;

Parameter
Name Description
value String

The vcenterVmId to set.

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.

setVcenterVmIdBytes(ByteString value)

public VmwarePlatformDetails.Builder setVcenterVmIdBytes(ByteString value)

vCenter VM ID.

string vcenter_vm_id = 6;

Parameter
Name Description
value ByteString

The bytes for vcenterVmId to set.

Returns
Type Description
VmwarePlatformDetails.Builder

This builder for chaining.