Class Vcenter.Builder (0.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Vcenter build()
Returns
TypeDescription
Vcenter

buildPartial()

public Vcenter buildPartial()
Returns
TypeDescription
Vcenter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFqdn()

public Vcenter.Builder clearFqdn()

Fully qualified domain name of the appliance.

string fqdn = 6;

Returns
TypeDescription
Vcenter.Builder

This builder for chaining.

clearInternalIp()

public Vcenter.Builder clearInternalIp()

Internal IP address of the appliance.

string internal_ip = 2;

Returns
TypeDescription
Vcenter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearVersion()

public Vcenter.Builder clearVersion()

Version of the appliance.

string version = 4;

Returns
TypeDescription
Vcenter.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Vcenter getDefaultInstanceForType()
Returns
TypeDescription
Vcenter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFqdn()

public String getFqdn()

Fully qualified domain name of the appliance.

string fqdn = 6;

Returns
TypeDescription
String

The fqdn.

getFqdnBytes()

public ByteString getFqdnBytes()

Fully qualified domain name of the appliance.

string fqdn = 6;

Returns
TypeDescription
ByteString

The bytes for fqdn.

getInternalIp()

public String getInternalIp()

Internal IP address of the appliance.

string internal_ip = 2;

Returns
TypeDescription
String

The internalIp.

getInternalIpBytes()

public ByteString getInternalIpBytes()

Internal IP address of the appliance.

string internal_ip = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for state.

getVersion()

public String getVersion()

Version of the appliance.

string version = 4;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Version of the appliance.

string version = 4;

Returns
TypeDescription
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Vcenter other)

public Vcenter.Builder mergeFrom(Vcenter other)
Parameter
NameDescription
otherVcenter
Returns
TypeDescription
Vcenter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFqdn(String value)

public Vcenter.Builder setFqdn(String value)

Fully qualified domain name of the appliance.

string fqdn = 6;

Parameter
NameDescription
valueString

The fqdn to set.

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

The bytes for fqdn to set.

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

The internalIp to set.

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

The bytes for internalIp to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueVcenter.State

The state to set.

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

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

Returns
TypeDescription
Vcenter.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public Vcenter.Builder setVersion(String value)

Version of the appliance.

string version = 4;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
Vcenter.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public Vcenter.Builder setVersionBytes(ByteString value)

Version of the appliance.

string version = 4;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
Vcenter.Builder

This builder for chaining.