Class VmwareEngineNetwork.VpcNetwork.Builder (0.1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VmwareEngineNetwork.VpcNetwork build()
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork

buildPartial()

public VmwareEngineNetwork.VpcNetwork buildPartial()
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork

clear()

public VmwareEngineNetwork.VpcNetwork.Builder clear()
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public VmwareEngineNetwork.VpcNetwork.Builder clone()
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork.Builder
Overrides

getDefaultInstanceForType()

public VmwareEngineNetwork.VpcNetwork getDefaultInstanceForType()
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VmwareEngineNetwork.VpcNetwork other)

public VmwareEngineNetwork.VpcNetwork.Builder mergeFrom(VmwareEngineNetwork.VpcNetwork other)
Parameter
NameDescription
otherVmwareEngineNetwork.VpcNetwork
Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The network to set.

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

The bytes for network to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueVmwareEngineNetwork.VpcNetwork.Type

The type to set.

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

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

Returns
TypeDescription
VmwareEngineNetwork.VpcNetwork.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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