Class VmwareEngineNetwork.Builder (0.39.0)

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

VMware Engine network resource that provides connectivity for VMware Engine private clouds.

Protobuf type google.cloud.vmwareengine.v1.VmwareEngineNetwork

Static Methods

getDescriptor()

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

Methods

addAllVpcNetworks(Iterable<? extends VmwareEngineNetwork.VpcNetwork> values)

public VmwareEngineNetwork.Builder addAllVpcNetworks(Iterable<? extends VmwareEngineNetwork.VpcNetwork> values)

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork>
Returns
Type Description
VmwareEngineNetwork.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addVpcNetworks(VmwareEngineNetwork.VpcNetwork value)

public VmwareEngineNetwork.Builder addVpcNetworks(VmwareEngineNetwork.VpcNetwork value)

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VmwareEngineNetwork.VpcNetwork
Returns
Type Description
VmwareEngineNetwork.Builder

addVpcNetworks(VmwareEngineNetwork.VpcNetwork.Builder builderForValue)

public VmwareEngineNetwork.Builder addVpcNetworks(VmwareEngineNetwork.VpcNetwork.Builder builderForValue)

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue VmwareEngineNetwork.VpcNetwork.Builder
Returns
Type Description
VmwareEngineNetwork.Builder

addVpcNetworks(int index, VmwareEngineNetwork.VpcNetwork value)

public VmwareEngineNetwork.Builder addVpcNetworks(int index, VmwareEngineNetwork.VpcNetwork value)

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value VmwareEngineNetwork.VpcNetwork
Returns
Type Description
VmwareEngineNetwork.Builder

addVpcNetworks(int index, VmwareEngineNetwork.VpcNetwork.Builder builderForValue)

public VmwareEngineNetwork.Builder addVpcNetworks(int index, VmwareEngineNetwork.VpcNetwork.Builder builderForValue)

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue VmwareEngineNetwork.VpcNetwork.Builder
Returns
Type Description
VmwareEngineNetwork.Builder

addVpcNetworksBuilder()

public VmwareEngineNetwork.VpcNetwork.Builder addVpcNetworksBuilder()

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder

addVpcNetworksBuilder(int index)

public VmwareEngineNetwork.VpcNetwork.Builder addVpcNetworksBuilder(int index)

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder

build()

public VmwareEngineNetwork build()
Returns
Type Description
VmwareEngineNetwork

buildPartial()

public VmwareEngineNetwork buildPartial()
Returns
Type Description
VmwareEngineNetwork

clear()

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

clearCreateTime()

public VmwareEngineNetwork.Builder clearCreateTime()

Output only. Creation time of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareEngineNetwork.Builder

clearDescription()

public VmwareEngineNetwork.Builder clearDescription()

User-provided description for this VMware Engine network.

string description = 5;

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

clearEtag()

public VmwareEngineNetwork.Builder clearEtag()

Checksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums based on the value of other fields in the request.

string etag = 10;

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public VmwareEngineNetwork.Builder clearName()

Output only. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public VmwareEngineNetwork.Builder clearState()

Output only. State of the VMware Engine network.

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

clearType()

public VmwareEngineNetwork.Builder clearType()

Required. VMware Engine network type.

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.Type type = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

clearUid()

public VmwareEngineNetwork.Builder clearUid()

Output only. System-generated unique identifier for the resource.

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

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

clearUpdateTime()

public VmwareEngineNetwork.Builder clearUpdateTime()

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareEngineNetwork.Builder

clearVpcNetworks()

public VmwareEngineNetwork.Builder clearVpcNetworks()

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareEngineNetwork.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Output only. Creation time of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Creation time of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Creation time of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public VmwareEngineNetwork getDefaultInstanceForType()
Returns
Type Description
VmwareEngineNetwork

getDescription()

public String getDescription()

User-provided description for this VMware Engine network.

string description = 5;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

User-provided description for this VMware Engine network.

string description = 5;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getEtag()

public String getEtag()

Checksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums based on the value of other fields in the request.

string etag = 10;

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Checksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums based on the value of other fields in the request.

string etag = 10;

Returns
Type Description
ByteString

The bytes for etag.

getName()

public String getName()

Output only. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getState()

public VmwareEngineNetwork.State getState()

Output only. State of the VMware Engine network.

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VmwareEngineNetwork.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the VMware Engine network.

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getType()

public VmwareEngineNetwork.Type getType()

Required. VMware Engine network type.

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.Type type = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VmwareEngineNetwork.Type

The type.

getTypeValue()

public int getTypeValue()

Required. VMware Engine network type.

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.Type type = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUid()

public String getUid()

Output only. System-generated unique identifier for the resource.

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

Returns
Type Description
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. System-generated unique identifier for the resource.

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

Returns
Type Description
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVpcNetworks(int index)

public VmwareEngineNetwork.VpcNetwork getVpcNetworks(int index)

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VmwareEngineNetwork.VpcNetwork

getVpcNetworksBuilder(int index)

public VmwareEngineNetwork.VpcNetwork.Builder getVpcNetworksBuilder(int index)

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VmwareEngineNetwork.VpcNetwork.Builder

getVpcNetworksBuilderList()

public List<VmwareEngineNetwork.VpcNetwork.Builder> getVpcNetworksBuilderList()

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getVpcNetworksCount()

public int getVpcNetworksCount()

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getVpcNetworksList()

public List<VmwareEngineNetwork.VpcNetwork> getVpcNetworksList()

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<VpcNetwork>

getVpcNetworksOrBuilder(int index)

public VmwareEngineNetwork.VpcNetworkOrBuilder getVpcNetworksOrBuilder(int index)

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VmwareEngineNetwork.VpcNetworkOrBuilder

getVpcNetworksOrBuilderList()

public List<? extends VmwareEngineNetwork.VpcNetworkOrBuilder> getVpcNetworksOrBuilderList()

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetworkOrBuilder>

hasCreateTime()

public boolean hasCreateTime()

Output only. Creation time of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public VmwareEngineNetwork.Builder mergeCreateTime(Timestamp value)

Output only. Creation time of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
VmwareEngineNetwork.Builder

mergeFrom(VmwareEngineNetwork other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public VmwareEngineNetwork.Builder mergeUpdateTime(Timestamp value)

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
VmwareEngineNetwork.Builder

removeVpcNetworks(int index)

public VmwareEngineNetwork.Builder removeVpcNetworks(int index)

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VmwareEngineNetwork.Builder

setCreateTime(Timestamp value)

public VmwareEngineNetwork.Builder setCreateTime(Timestamp value)

Output only. Creation time of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
VmwareEngineNetwork.Builder

setCreateTime(Timestamp.Builder builderForValue)

public VmwareEngineNetwork.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Creation time of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VmwareEngineNetwork.Builder

setDescription(String value)

public VmwareEngineNetwork.Builder setDescription(String value)

User-provided description for this VMware Engine network.

string description = 5;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public VmwareEngineNetwork.Builder setDescriptionBytes(ByteString value)

User-provided description for this VMware Engine network.

string description = 5;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

setEtag(String value)

public VmwareEngineNetwork.Builder setEtag(String value)

Checksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums based on the value of other fields in the request.

string etag = 10;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public VmwareEngineNetwork.Builder setEtagBytes(ByteString value)

Checksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums based on the value of other fields in the request.

string etag = 10;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public VmwareEngineNetwork.Builder setName(String value)

Output only. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

setNameBytes(ByteString value)

public VmwareEngineNetwork.Builder setNameBytes(ByteString value)

Output only. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

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

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

setState(VmwareEngineNetwork.State value)

public VmwareEngineNetwork.Builder setState(VmwareEngineNetwork.State value)

Output only. State of the VMware Engine network.

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VmwareEngineNetwork.State

The state to set.

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

setStateValue(int value)

public VmwareEngineNetwork.Builder setStateValue(int value)

Output only. State of the VMware Engine network.

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

setType(VmwareEngineNetwork.Type value)

public VmwareEngineNetwork.Builder setType(VmwareEngineNetwork.Type value)

Required. VMware Engine network type.

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.Type type = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value VmwareEngineNetwork.Type

The type to set.

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

setTypeValue(int value)

public VmwareEngineNetwork.Builder setTypeValue(int value)

Required. VMware Engine network type.

.google.cloud.vmwareengine.v1.VmwareEngineNetwork.Type type = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

setUid(String value)

public VmwareEngineNetwork.Builder setUid(String value)

Output only. System-generated unique identifier for the resource.

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

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

setUidBytes(ByteString value)

public VmwareEngineNetwork.Builder setUidBytes(ByteString value)

Output only. System-generated unique identifier for the resource.

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

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
VmwareEngineNetwork.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public VmwareEngineNetwork.Builder setUpdateTime(Timestamp value)

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
VmwareEngineNetwork.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public VmwareEngineNetwork.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Last update time of this resource.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
VmwareEngineNetwork.Builder

setVpcNetworks(int index, VmwareEngineNetwork.VpcNetwork value)

public VmwareEngineNetwork.Builder setVpcNetworks(int index, VmwareEngineNetwork.VpcNetwork value)

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value VmwareEngineNetwork.VpcNetwork
Returns
Type Description
VmwareEngineNetwork.Builder

setVpcNetworks(int index, VmwareEngineNetwork.VpcNetwork.Builder builderForValue)

public VmwareEngineNetwork.Builder setVpcNetworks(int index, VmwareEngineNetwork.VpcNetwork.Builder builderForValue)

Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork vpc_networks = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue VmwareEngineNetwork.VpcNetwork.Builder
Returns
Type Description
VmwareEngineNetwork.Builder