Class Nsx.Builder (0.45.0)

public static final class Nsx.Builder extends GeneratedMessageV3.Builder<Nsx.Builder> implements NsxOrBuilder

Details about a NSX Manager appliance.

Protobuf type google.cloud.vmwareengine.v1.Nsx

Implements

NsxOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Nsx build()
Returns
Type Description
Nsx

buildPartial()

public Nsx buildPartial()
Returns
Type Description
Nsx

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFqdn()

public Nsx.Builder clearFqdn()

Fully qualified domain name of the appliance.

string fqdn = 6;

Returns
Type Description
Nsx.Builder

This builder for chaining.

clearInternalIp()

public Nsx.Builder clearInternalIp()

Internal IP address of the appliance.

string internal_ip = 2;

Returns
Type Description
Nsx.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public Nsx.Builder clearState()

Output only. The state of the appliance.

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

Returns
Type Description
Nsx.Builder

This builder for chaining.

clearVersion()

public Nsx.Builder clearVersion()

Version of the appliance.

string version = 4;

Returns
Type Description
Nsx.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Nsx getDefaultInstanceForType()
Returns
Type Description
Nsx

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 Nsx.State getState()

Output only. The state of the appliance.

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

Returns
Type Description
Nsx.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the appliance.

.google.cloud.vmwareengine.v1.Nsx.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(Nsx other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFqdn(String value)

public Nsx.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
Nsx.Builder

This builder for chaining.

setFqdnBytes(ByteString value)

public Nsx.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
Nsx.Builder

This builder for chaining.

setInternalIp(String value)

public Nsx.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
Nsx.Builder

This builder for chaining.

setInternalIpBytes(ByteString value)

public Nsx.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
Nsx.Builder

This builder for chaining.

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

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

setState(Nsx.State value)

public Nsx.Builder setState(Nsx.State value)

Output only. The state of the appliance.

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

Parameter
Name Description
value Nsx.State

The state to set.

Returns
Type Description
Nsx.Builder

This builder for chaining.

setStateValue(int value)

public Nsx.Builder setStateValue(int value)

Output only. The state of the appliance.

.google.cloud.vmwareengine.v1.Nsx.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
Nsx.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public Nsx.Builder setVersion(String value)

Version of the appliance.

string version = 4;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
Nsx.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public Nsx.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
Nsx.Builder

This builder for chaining.