Class VmwareEngineNetwork.VpcNetwork.Builder (0.45.0)

public static final class VmwareEngineNetwork.VpcNetwork.Builder extends GeneratedMessageV3.Builder<VmwareEngineNetwork.VpcNetwork.Builder> implements VmwareEngineNetwork.VpcNetworkOrBuilder

Represents a VMware Engine VPC network that is managed by a VMware Engine network resource.

Protobuf type google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VmwareEngineNetwork.VpcNetwork build()
Returns
Type Description
VmwareEngineNetwork.VpcNetwork

buildPartial()

public VmwareEngineNetwork.VpcNetwork buildPartial()
Returns
Type Description
VmwareEngineNetwork.VpcNetwork

clear()

public VmwareEngineNetwork.VpcNetwork.Builder clear()
Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearNetwork()

public VmwareEngineNetwork.VpcNetwork.Builder clearNetwork()

Output only. The relative resource name of the service VPC network this VMware Engine network is attached to. For example: projects/123123/global/networks/my-network

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public VmwareEngineNetwork.VpcNetwork.Builder clearType()

Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD)

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder

This builder for chaining.

clone()

public VmwareEngineNetwork.VpcNetwork.Builder clone()
Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder
Overrides

getDefaultInstanceForType()

public VmwareEngineNetwork.VpcNetwork getDefaultInstanceForType()
Returns
Type Description
VmwareEngineNetwork.VpcNetwork

getDescriptorForType()

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

getNetwork()

public String getNetwork()

Output only. The relative resource name of the service VPC network this VMware Engine network is attached to. For example: projects/123123/global/networks/my-network

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Output only. The relative resource name of the service VPC network this VMware Engine network is attached to. For example: projects/123123/global/networks/my-network

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

getType()

public VmwareEngineNetwork.VpcNetwork.Type getType()

Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD)

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Type

The type.

getTypeValue()

public int getTypeValue()

Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD)

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VmwareEngineNetwork.VpcNetwork other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetwork(String value)

public VmwareEngineNetwork.VpcNetwork.Builder setNetwork(String value)

Output only. The relative resource name of the service VPC network this VMware Engine network is attached to. For example: projects/123123/global/networks/my-network

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The network to set.

Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public VmwareEngineNetwork.VpcNetwork.Builder setNetworkBytes(ByteString value)

Output only. The relative resource name of the service VPC network this VMware Engine network is attached to. For example: projects/123123/global/networks/my-network

string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for network to set.

Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder

This builder for chaining.

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

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

setType(VmwareEngineNetwork.VpcNetwork.Type value)

public VmwareEngineNetwork.VpcNetwork.Builder setType(VmwareEngineNetwork.VpcNetwork.Type value)

Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD)

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VmwareEngineNetwork.VpcNetwork.Type

The type to set.

Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder

This builder for chaining.

setTypeValue(int value)

public VmwareEngineNetwork.VpcNetwork.Builder setTypeValue(int value)

Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD)

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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