Class VmwareSourceDetails.Builder (1.43.0)

public static final class VmwareSourceDetails.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public VmwareSourceDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

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.

clone()

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

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.

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public VmwareSourceDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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

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.