Class NetworkConfig.Builder (0.39.0)

public static final class NetworkConfig.Builder extends GeneratedMessageV3.Builder<NetworkConfig.Builder> implements NetworkConfigOrBuilder

Network configuration in the consumer project with which the peering has to be done.

Protobuf type google.cloud.vmwareengine.v1.NetworkConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkConfig build()
Returns
Type Description
NetworkConfig

buildPartial()

public NetworkConfig buildPartial()
Returns
Type Description
NetworkConfig

clear()

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

clearDnsServerIp()

public NetworkConfig.Builder clearDnsServerIp()

Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud's management entities like vCenter, NSX-T Manager and ESXi hosts.

string dns_server_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearManagementCidr()

public NetworkConfig.Builder clearManagementCidr()

Required. Management CIDR used by VMware management appliances.

string management_cidr = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

clearManagementIpAddressLayoutVersion()

public NetworkConfig.Builder clearManagementIpAddressLayoutVersion()

Output only. The IP address layout version of the management IP address range. Possible versions include:

  • managementIpAddressLayoutVersion=1: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features.
  • managementIpAddressLayoutVersion=2: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.

int32 management_ip_address_layout_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVmwareEngineNetwork()

public NetworkConfig.Builder clearVmwareEngineNetwork()

Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.

string vmware_engine_network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

clearVmwareEngineNetworkCanonical()

public NetworkConfig.Builder clearVmwareEngineNetworkCanonical()

Output only. The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}

string vmware_engine_network_canonical = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public NetworkConfig getDefaultInstanceForType()
Returns
Type Description
NetworkConfig

getDescriptorForType()

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

getDnsServerIp()

public String getDnsServerIp()

Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud's management entities like vCenter, NSX-T Manager and ESXi hosts.

string dns_server_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dnsServerIp.

getDnsServerIpBytes()

public ByteString getDnsServerIpBytes()

Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud's management entities like vCenter, NSX-T Manager and ESXi hosts.

string dns_server_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for dnsServerIp.

getManagementCidr()

public String getManagementCidr()

Required. Management CIDR used by VMware management appliances.

string management_cidr = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The managementCidr.

getManagementCidrBytes()

public ByteString getManagementCidrBytes()

Required. Management CIDR used by VMware management appliances.

string management_cidr = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for managementCidr.

getManagementIpAddressLayoutVersion()

public int getManagementIpAddressLayoutVersion()

Output only. The IP address layout version of the management IP address range. Possible versions include:

  • managementIpAddressLayoutVersion=1: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features.
  • managementIpAddressLayoutVersion=2: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.

int32 management_ip_address_layout_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The managementIpAddressLayoutVersion.

getVmwareEngineNetwork()

public String getVmwareEngineNetwork()

Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.

string vmware_engine_network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The vmwareEngineNetwork.

getVmwareEngineNetworkBytes()

public ByteString getVmwareEngineNetworkBytes()

Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.

string vmware_engine_network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for vmwareEngineNetwork.

getVmwareEngineNetworkCanonical()

public String getVmwareEngineNetworkCanonical()

Output only. The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}

string vmware_engine_network_canonical = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The vmwareEngineNetworkCanonical.

getVmwareEngineNetworkCanonicalBytes()

public ByteString getVmwareEngineNetworkCanonicalBytes()

Output only. The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}

string vmware_engine_network_canonical = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for vmwareEngineNetworkCanonical.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDnsServerIp(String value)

public NetworkConfig.Builder setDnsServerIp(String value)

Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud's management entities like vCenter, NSX-T Manager and ESXi hosts.

string dns_server_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The dnsServerIp to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

setDnsServerIpBytes(ByteString value)

public NetworkConfig.Builder setDnsServerIpBytes(ByteString value)

Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud's management entities like vCenter, NSX-T Manager and ESXi hosts.

string dns_server_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for dnsServerIp to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setManagementCidr(String value)

public NetworkConfig.Builder setManagementCidr(String value)

Required. Management CIDR used by VMware management appliances.

string management_cidr = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The managementCidr to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

setManagementCidrBytes(ByteString value)

public NetworkConfig.Builder setManagementCidrBytes(ByteString value)

Required. Management CIDR used by VMware management appliances.

string management_cidr = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for managementCidr to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

setManagementIpAddressLayoutVersion(int value)

public NetworkConfig.Builder setManagementIpAddressLayoutVersion(int value)

Output only. The IP address layout version of the management IP address range. Possible versions include:

  • managementIpAddressLayoutVersion=1: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features.
  • managementIpAddressLayoutVersion=2: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features.

int32 management_ip_address_layout_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The managementIpAddressLayoutVersion to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVmwareEngineNetwork(String value)

public NetworkConfig.Builder setVmwareEngineNetwork(String value)

Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.

string vmware_engine_network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The vmwareEngineNetwork to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

setVmwareEngineNetworkBytes(ByteString value)

public NetworkConfig.Builder setVmwareEngineNetworkBytes(ByteString value)

Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id} where {project} can either be a project number or a project ID.

string vmware_engine_network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for vmwareEngineNetwork to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

setVmwareEngineNetworkCanonical(String value)

public NetworkConfig.Builder setVmwareEngineNetworkCanonical(String value)

Output only. The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}

string vmware_engine_network_canonical = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The vmwareEngineNetworkCanonical to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.

setVmwareEngineNetworkCanonicalBytes(ByteString value)

public NetworkConfig.Builder setVmwareEngineNetworkCanonicalBytes(ByteString value)

Output only. The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}

string vmware_engine_network_canonical = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for vmwareEngineNetworkCanonical to set.

Returns
Type Description
NetworkConfig.Builder

This builder for chaining.