Class VmwareEngineNetwork.Builder (0.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork>
Returns
TypeDescription
VmwareEngineNetwork.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VmwareEngineNetwork build()
Returns
TypeDescription
VmwareEngineNetwork

buildPartial()

public VmwareEngineNetwork buildPartial()
Returns
TypeDescription
VmwareEngineNetwork

clear()

public VmwareEngineNetwork.Builder clear()
Returns
TypeDescription
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
TypeDescription
VmwareEngineNetwork.Builder

clearDescription()

public VmwareEngineNetwork.Builder clearDescription()

User-provided description for this VMware Engine network.

string description = 5;

Returns
TypeDescription
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
TypeDescription
VmwareEngineNetwork.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public VmwareEngineNetwork.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public VmwareEngineNetwork getDefaultInstanceForType()
Returns
TypeDescription
VmwareEngineNetwork

getDescription()

public String getDescription()

User-provided description for this VMware Engine network.

string description = 5;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

User-provided description for this VMware Engine network.

string description = 5;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

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

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
VmwareEngineNetwork.Builder

mergeFrom(VmwareEngineNetwork other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VmwareEngineNetwork.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
VmwareEngineNetwork.Builder

setDescription(String value)

public VmwareEngineNetwork.Builder setDescription(String value)

User-provided description for this VMware Engine network.

string description = 5;

Parameter
NameDescription
valueString

The description to set.

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

The bytes for description to set.

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

The etag to set.

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

The bytes for etag to set.

Returns
TypeDescription
VmwareEngineNetwork.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

The state to set.

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

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

Returns
TypeDescription
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
NameDescription
valueVmwareEngineNetwork.Type

The type to set.

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

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

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

The uid to set.

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

The bytes for uid to set.

Returns
TypeDescription
VmwareEngineNetwork.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VmwareEngineNetwork.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueVmwareEngineNetwork.VpcNetwork
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVmwareEngineNetwork.VpcNetwork.Builder
Returns
TypeDescription
VmwareEngineNetwork.Builder