Class Nsx.Builder (0.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Nsx build()
Returns
TypeDescription
Nsx

buildPartial()

public Nsx buildPartial()
Returns
TypeDescription
Nsx

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFqdn()

public Nsx.Builder clearFqdn()

Fully qualified domain name of the appliance.

string fqdn = 6;

Returns
TypeDescription
Nsx.Builder

This builder for chaining.

clearInternalIp()

public Nsx.Builder clearInternalIp()

Internal IP address of the appliance.

string internal_ip = 2;

Returns
TypeDescription
Nsx.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearVersion()

public Nsx.Builder clearVersion()

Version of the appliance.

string version = 4;

Returns
TypeDescription
Nsx.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Nsx getDefaultInstanceForType()
Returns
TypeDescription
Nsx

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 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
TypeDescription
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
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(Nsx other)

public Nsx.Builder mergeFrom(Nsx other)
Parameter
NameDescription
otherNsx
Returns
TypeDescription
Nsx.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFqdn(String value)

public Nsx.Builder setFqdn(String value)

Fully qualified domain name of the appliance.

string fqdn = 6;

Parameter
NameDescription
valueString

The fqdn to set.

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

The bytes for fqdn to set.

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

The internalIp to set.

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

The bytes for internalIp to set.

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

The state to set.

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

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

Returns
TypeDescription
Nsx.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public Nsx.Builder setVersion(String value)

Version of the appliance.

string version = 4;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
Nsx.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public Nsx.Builder setVersionBytes(ByteString value)

Version of the appliance.

string version = 4;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
Nsx.Builder

This builder for chaining.