Class VmwareSourceDetails.Builder (1.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VmwareSourceDetails build()
Returns
TypeDescription
VmwareSourceDetails

buildPartial()

public VmwareSourceDetails buildPartial()
Returns
TypeDescription
VmwareSourceDetails

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public VmwareSourceDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
VmwareSourceDetails.Builder

This builder for chaining.

clearThumbprint()

public VmwareSourceDetails.Builder clearThumbprint()

The thumbprint representing the certificate for the vcenter.

string thumbprint = 4;

Returns
TypeDescription
VmwareSourceDetails.Builder

This builder for chaining.

clearUsername()

public VmwareSourceDetails.Builder clearUsername()

The credentials username.

string username = 1;

Returns
TypeDescription
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
TypeDescription
VmwareSourceDetails.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public VmwareSourceDetails getDefaultInstanceForType()
Returns
TypeDescription
VmwareSourceDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for password.

getThumbprint()

public String getThumbprint()

The thumbprint representing the certificate for the vcenter.

string thumbprint = 4;

Returns
TypeDescription
String

The thumbprint.

getThumbprintBytes()

public ByteString getThumbprintBytes()

The thumbprint representing the certificate for the vcenter.

string thumbprint = 4;

Returns
TypeDescription
ByteString

The bytes for thumbprint.

getUsername()

public String getUsername()

The credentials username.

string username = 1;

Returns
TypeDescription
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

The credentials username.

string username = 1;

Returns
TypeDescription
ByteString

The bytes for username.

getVcenterIp()

public String getVcenterIp()

The ip address of the vcenter this Source represents.

string vcenter_ip = 3;

Returns
TypeDescription
String

The vcenterIp.

getVcenterIpBytes()

public ByteString getVcenterIpBytes()

The ip address of the vcenter this Source represents.

string vcenter_ip = 3;

Returns
TypeDescription
ByteString

The bytes for vcenterIp.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VmwareSourceDetails other)

public VmwareSourceDetails.Builder mergeFrom(VmwareSourceDetails other)
Parameter
NameDescription
otherVmwareSourceDetails
Returns
TypeDescription
VmwareSourceDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The password to set.

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

The bytes for password to set.

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

setThumbprint(String value)

public VmwareSourceDetails.Builder setThumbprint(String value)

The thumbprint representing the certificate for the vcenter.

string thumbprint = 4;

Parameter
NameDescription
valueString

The thumbprint to set.

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

The bytes for thumbprint to set.

Returns
TypeDescription
VmwareSourceDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUsername(String value)

public VmwareSourceDetails.Builder setUsername(String value)

The credentials username.

string username = 1;

Parameter
NameDescription
valueString

The username to set.

Returns
TypeDescription
VmwareSourceDetails.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public VmwareSourceDetails.Builder setUsernameBytes(ByteString value)

The credentials username.

string username = 1;

Parameter
NameDescription
valueByteString

The bytes for username to set.

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

The vcenterIp to set.

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

The bytes for vcenterIp to set.

Returns
TypeDescription
VmwareSourceDetails.Builder

This builder for chaining.