Class Vcenter.Builder (0.42.0)

public static final class Vcenter.Builder extends GeneratedMessageV3.Builder<Vcenter.Builder> implements VcenterOrBuilder

Details about a vCenter Server management appliance.

Protobuf type google.cloud.vmwareengine.v1.Vcenter

Implements

VcenterOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Vcenter build()
Returns
Type Description
Vcenter

buildPartial()

public Vcenter buildPartial()
Returns
Type Description
Vcenter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFqdn()

public Vcenter.Builder clearFqdn()

Fully qualified domain name of the appliance.

string fqdn = 6;

Returns
Type Description
Vcenter.Builder

This builder for chaining.

clearInternalIp()

public Vcenter.Builder clearInternalIp()

Internal IP address of the appliance.

string internal_ip = 2;

Returns
Type Description
Vcenter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public Vcenter.Builder clearState()

Output only. The state of the appliance.

.google.cloud.vmwareengine.v1.Vcenter.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Vcenter.Builder

This builder for chaining.

clearVersion()

public Vcenter.Builder clearVersion()

Version of the appliance.

string version = 4;

Returns
Type Description
Vcenter.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Vcenter getDefaultInstanceForType()
Returns
Type Description
Vcenter

getDescriptorForType()

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

getFqdn()

public String getFqdn()

Fully qualified domain name of the appliance.

string fqdn = 6;

Returns
Type Description
String

The fqdn.

getFqdnBytes()

public ByteString getFqdnBytes()

Fully qualified domain name of the appliance.

string fqdn = 6;

Returns
Type Description
ByteString

The bytes for fqdn.

getInternalIp()

public String getInternalIp()

Internal IP address of the appliance.

string internal_ip = 2;

Returns
Type Description
String

The internalIp.

getInternalIpBytes()

public ByteString getInternalIpBytes()

Internal IP address of the appliance.

string internal_ip = 2;

Returns
Type Description
ByteString

The bytes for internalIp.

getState()

public Vcenter.State getState()

Output only. The state of the appliance.

.google.cloud.vmwareengine.v1.Vcenter.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Vcenter.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the appliance.

.google.cloud.vmwareengine.v1.Vcenter.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getVersion()

public String getVersion()

Version of the appliance.

string version = 4;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Version of the appliance.

string version = 4;

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Vcenter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFqdn(String value)

public Vcenter.Builder setFqdn(String value)

Fully qualified domain name of the appliance.

string fqdn = 6;

Parameter
Name Description
value String

The fqdn to set.

Returns
Type Description
Vcenter.Builder

This builder for chaining.

setFqdnBytes(ByteString value)

public Vcenter.Builder setFqdnBytes(ByteString value)

Fully qualified domain name of the appliance.

string fqdn = 6;

Parameter
Name Description
value ByteString

The bytes for fqdn to set.

Returns
Type Description
Vcenter.Builder

This builder for chaining.

setInternalIp(String value)

public Vcenter.Builder setInternalIp(String value)

Internal IP address of the appliance.

string internal_ip = 2;

Parameter
Name Description
value String

The internalIp to set.

Returns
Type Description
Vcenter.Builder

This builder for chaining.

setInternalIpBytes(ByteString value)

public Vcenter.Builder setInternalIpBytes(ByteString value)

Internal IP address of the appliance.

string internal_ip = 2;

Parameter
Name Description
value ByteString

The bytes for internalIp to set.

Returns
Type Description
Vcenter.Builder

This builder for chaining.

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

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

setState(Vcenter.State value)

public Vcenter.Builder setState(Vcenter.State value)

Output only. The state of the appliance.

.google.cloud.vmwareengine.v1.Vcenter.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Vcenter.State

The state to set.

Returns
Type Description
Vcenter.Builder

This builder for chaining.

setStateValue(int value)

public Vcenter.Builder setStateValue(int value)

Output only. The state of the appliance.

.google.cloud.vmwareengine.v1.Vcenter.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Vcenter.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public Vcenter.Builder setVersion(String value)

Version of the appliance.

string version = 4;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
Vcenter.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public Vcenter.Builder setVersionBytes(ByteString value)

Version of the appliance.

string version = 4;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
Vcenter.Builder

This builder for chaining.