Class VmwareSourceDetails.Builder (1.83.0)

public static final class VmwareSourceDetails.Builder extends GeneratedMessage.Builder<VmwareSourceDetails.Builder> implements VmwareSourceDetailsOrBuilder

VmwareSourceDetails message describes a specific source details for the vmware source type.

Protobuf type google.cloud.vmmigration.v1.VmwareSourceDetails

Static Methods

getDescriptor()

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

Methods

build()

public VmwareSourceDetails build()
Returns
Type Description
VmwareSourceDetails

buildPartial()

public VmwareSourceDetails buildPartial()
Returns
Type Description
VmwareSourceDetails

clear()

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

clearPassword()

public VmwareSourceDetails.Builder clearPassword()

Input only. The credentials password. This is write only and can not be read in a GET operation.

string password = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

clearResolvedVcenterHost()

public VmwareSourceDetails.Builder clearResolvedVcenterHost()

The hostname of the vcenter.

string resolved_vcenter_host = 5;

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

clearThumbprint()

public VmwareSourceDetails.Builder clearThumbprint()

The thumbprint representing the certificate for the vcenter.

string thumbprint = 4;

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

clearUsername()

public VmwareSourceDetails.Builder clearUsername()

The credentials username.

string username = 1;

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

clearVcenterIp()

public VmwareSourceDetails.Builder clearVcenterIp()

The ip address of the vcenter this Source represents.

string vcenter_ip = 3;

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

getDefaultInstanceForType()

public VmwareSourceDetails getDefaultInstanceForType()
Returns
Type Description
VmwareSourceDetails

getDescriptorForType()

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

getPassword()

public String getPassword()

Input only. The credentials password. This is write only and can not be read in a GET operation.

string password = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Input only. The credentials password. This is write only and can not be read in a GET operation.

string password = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for password.

getResolvedVcenterHost()

public String getResolvedVcenterHost()

The hostname of the vcenter.

string resolved_vcenter_host = 5;

Returns
Type Description
String

The resolvedVcenterHost.

getResolvedVcenterHostBytes()

public ByteString getResolvedVcenterHostBytes()

The hostname of the vcenter.

string resolved_vcenter_host = 5;

Returns
Type Description
ByteString

The bytes for resolvedVcenterHost.

getThumbprint()

public String getThumbprint()

The thumbprint representing the certificate for the vcenter.

string thumbprint = 4;

Returns
Type Description
String

The thumbprint.

getThumbprintBytes()

public ByteString getThumbprintBytes()

The thumbprint representing the certificate for the vcenter.

string thumbprint = 4;

Returns
Type Description
ByteString

The bytes for thumbprint.

getUsername()

public String getUsername()

The credentials username.

string username = 1;

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

The credentials username.

string username = 1;

Returns
Type Description
ByteString

The bytes for username.

getVcenterIp()

public String getVcenterIp()

The ip address of the vcenter this Source represents.

string vcenter_ip = 3;

Returns
Type Description
String

The vcenterIp.

getVcenterIpBytes()

public ByteString getVcenterIpBytes()

The ip address of the vcenter this Source represents.

string vcenter_ip = 3;

Returns
Type Description
ByteString

The bytes for vcenterIp.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VmwareSourceDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPassword(String value)

public VmwareSourceDetails.Builder setPassword(String value)

Input only. The credentials password. This is write only and can not be read in a GET operation.

string password = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value String

The password to set.

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public VmwareSourceDetails.Builder setPasswordBytes(ByteString value)

Input only. The credentials password. This is write only and can not be read in a GET operation.

string password = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for password to set.

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

setResolvedVcenterHost(String value)

public VmwareSourceDetails.Builder setResolvedVcenterHost(String value)

The hostname of the vcenter.

string resolved_vcenter_host = 5;

Parameter
Name Description
value String

The resolvedVcenterHost to set.

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

setResolvedVcenterHostBytes(ByteString value)

public VmwareSourceDetails.Builder setResolvedVcenterHostBytes(ByteString value)

The hostname of the vcenter.

string resolved_vcenter_host = 5;

Parameter
Name Description
value ByteString

The bytes for resolvedVcenterHost to set.

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

setThumbprint(String value)

public VmwareSourceDetails.Builder setThumbprint(String value)

The thumbprint representing the certificate for the vcenter.

string thumbprint = 4;

Parameter
Name Description
value String

The thumbprint to set.

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

setThumbprintBytes(ByteString value)

public VmwareSourceDetails.Builder setThumbprintBytes(ByteString value)

The thumbprint representing the certificate for the vcenter.

string thumbprint = 4;

Parameter
Name Description
value ByteString

The bytes for thumbprint to set.

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

setUsername(String value)

public VmwareSourceDetails.Builder setUsername(String value)

The credentials username.

string username = 1;

Parameter
Name Description
value String

The username to set.

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public VmwareSourceDetails.Builder setUsernameBytes(ByteString value)

The credentials username.

string username = 1;

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

setVcenterIp(String value)

public VmwareSourceDetails.Builder setVcenterIp(String value)

The ip address of the vcenter this Source represents.

string vcenter_ip = 3;

Parameter
Name Description
value String

The vcenterIp to set.

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.

setVcenterIpBytes(ByteString value)

public VmwareSourceDetails.Builder setVcenterIpBytes(ByteString value)

The ip address of the vcenter this Source represents.

string vcenter_ip = 3;

Parameter
Name Description
value ByteString

The bytes for vcenterIp to set.

Returns
Type Description
VmwareSourceDetails.Builder

This builder for chaining.