Class NetworkConfig.Builder (0.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkConfig build()
Returns
TypeDescription
NetworkConfig

buildPartial()

public NetworkConfig buildPartial()
Returns
TypeDescription
NetworkConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public NetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
NetworkConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public NetworkConfig getDefaultInstanceForType()
Returns
TypeDescription
NetworkConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getManagementCidr()

public String getManagementCidr()

Required. Management CIDR used by VMware management appliances.

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

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

The bytes for vmwareEngineNetworkCanonical.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworkConfig other)

public NetworkConfig.Builder mergeFrom(NetworkConfig other)
Parameter
NameDescription
otherNetworkConfig
Returns
TypeDescription
NetworkConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The managementCidr to set.

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

The bytes for managementCidr to set.

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

The managementIpAddressLayoutVersion to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NetworkConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The vmwareEngineNetwork to set.

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

The bytes for vmwareEngineNetwork to set.

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

The vmwareEngineNetworkCanonical to set.

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

The bytes for vmwareEngineNetworkCanonical to set.

Returns
TypeDescription
NetworkConfig.Builder

This builder for chaining.