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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VmwareEngineNetwork.VpcNetwork.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VmwareEngineNetwork.VpcNetwork build()
Returns
buildPartial()
public VmwareEngineNetwork.VpcNetwork buildPartial()
Returns
clear()
public VmwareEngineNetwork.VpcNetwork.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public VmwareEngineNetwork.VpcNetwork.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public VmwareEngineNetwork.VpcNetwork.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public VmwareEngineNetwork.VpcNetwork.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public VmwareEngineNetwork.VpcNetwork getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VmwareEngineNetwork.VpcNetwork other)
public VmwareEngineNetwork.VpcNetwork.Builder mergeFrom(VmwareEngineNetwork.VpcNetwork other)
Parameter
Returns
public VmwareEngineNetwork.VpcNetwork.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VmwareEngineNetwork.VpcNetwork.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VmwareEngineNetwork.VpcNetwork.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public VmwareEngineNetwork.VpcNetwork.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VmwareEngineNetwork.VpcNetwork.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final VmwareEngineNetwork.VpcNetwork.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides