- 0.48.0 (latest)
- 0.47.0
- 0.46.0
- 0.45.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Subnet.Builder extends GeneratedMessageV3.Builder<Subnet.Builder> implements SubnetOrBuilder
Subnet in a private cloud. Either management
subnets (such as vMotion) that
are read-only, or userDefined
, which can also be updated.
Protobuf type google.cloud.vmwareengine.v1.Subnet
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Subnet.BuilderImplements
SubnetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Subnet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
build()
public Subnet build()
Returns | |
---|---|
Type | Description |
Subnet |
buildPartial()
public Subnet buildPartial()
Returns | |
---|---|
Type | Description |
Subnet |
clear()
public Subnet.Builder clear()
Returns | |
---|---|
Type | Description |
Subnet.Builder |
clearField(Descriptors.FieldDescriptor field)
public Subnet.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
clearGatewayIp()
public Subnet.Builder clearGatewayIp()
The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
string gateway_ip = 8;
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
clearIpCidrRange()
public Subnet.Builder clearIpCidrRange()
The IP address range of the subnet in CIDR format '10.0.0.0/24'.
string ip_cidr_range = 7;
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
clearName()
public Subnet.Builder clearName()
Output only. The resource name of this subnet.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Subnet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
clearState()
public Subnet.Builder clearState()
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.Subnet.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
clearType()
public Subnet.Builder clearType()
Output only. The type of the subnet. For example "management" or "userDefined".
string type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
clearVlanId()
public Subnet.Builder clearVlanId()
Output only. VLAN ID of the VLAN on which the subnet is configured
int32 vlan_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
clone()
public Subnet.Builder clone()
Returns | |
---|---|
Type | Description |
Subnet.Builder |
getDefaultInstanceForType()
public Subnet getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Subnet |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGatewayIp()
public String getGatewayIp()
The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
string gateway_ip = 8;
Returns | |
---|---|
Type | Description |
String |
The gatewayIp. |
getGatewayIpBytes()
public ByteString getGatewayIpBytes()
The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
string gateway_ip = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for gatewayIp. |
getIpCidrRange()
public String getIpCidrRange()
The IP address range of the subnet in CIDR format '10.0.0.0/24'.
string ip_cidr_range = 7;
Returns | |
---|---|
Type | Description |
String |
The ipCidrRange. |
getIpCidrRangeBytes()
public ByteString getIpCidrRangeBytes()
The IP address range of the subnet in CIDR format '10.0.0.0/24'.
string ip_cidr_range = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ipCidrRange. |
getName()
public String getName()
Output only. The resource name of this subnet.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet
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 this subnet.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getState()
public Subnet.State getState()
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.Subnet.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Subnet.State |
The state. |
getStateValue()
public int getStateValue()
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.Subnet.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getType()
public String getType()
Output only. The type of the subnet. For example "management" or "userDefined".
string type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()
Output only. The type of the subnet. For example "management" or "userDefined".
string type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for type. |
getVlanId()
public int getVlanId()
Output only. VLAN ID of the VLAN on which the subnet is configured
int32 vlan_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The vlanId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Subnet other)
public Subnet.Builder mergeFrom(Subnet other)
Parameter | |
---|---|
Name | Description |
other |
Subnet |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Subnet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Subnet.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Subnet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Subnet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
setGatewayIp(String value)
public Subnet.Builder setGatewayIp(String value)
The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
string gateway_ip = 8;
Parameter | |
---|---|
Name | Description |
value |
String The gatewayIp to set. |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
setGatewayIpBytes(ByteString value)
public Subnet.Builder setGatewayIpBytes(ByteString value)
The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
string gateway_ip = 8;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for gatewayIp to set. |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
setIpCidrRange(String value)
public Subnet.Builder setIpCidrRange(String value)
The IP address range of the subnet in CIDR format '10.0.0.0/24'.
string ip_cidr_range = 7;
Parameter | |
---|---|
Name | Description |
value |
String The ipCidrRange to set. |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
setIpCidrRangeBytes(ByteString value)
public Subnet.Builder setIpCidrRangeBytes(ByteString value)
The IP address range of the subnet in CIDR format '10.0.0.0/24'.
string ip_cidr_range = 7;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for ipCidrRange to set. |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
setName(String value)
public Subnet.Builder setName(String value)
Output only. The resource name of this subnet.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Subnet.Builder setNameBytes(ByteString value)
Output only. The resource name of this subnet.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Subnet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
setState(Subnet.State value)
public Subnet.Builder setState(Subnet.State value)
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.Subnet.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Subnet.State The state to set. |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
setStateValue(int value)
public Subnet.Builder setStateValue(int value)
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.Subnet.State state = 13 [(.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 |
Subnet.Builder |
This builder for chaining. |
setType(String value)
public Subnet.Builder setType(String value)
Output only. The type of the subnet. For example "management" or "userDefined".
string type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The type to set. |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public Subnet.Builder setTypeBytes(ByteString value)
Output only. The type of the subnet. For example "management" or "userDefined".
string type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for type to set. |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Subnet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
setVlanId(int value)
public Subnet.Builder setVlanId(int value)
Output only. VLAN ID of the VLAN on which the subnet is configured
int32 vlan_id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The vlanId to set. |
Returns | |
---|---|
Type | Description |
Subnet.Builder |
This builder for chaining. |