- 0.49.0 (latest)
- 0.48.0
- 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()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Subnet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Subnet.Builder |
build()
public Subnet build()
Type | Description |
Subnet |
buildPartial()
public Subnet buildPartial()
Type | Description |
Subnet |
clear()
public Subnet.Builder clear()
Type | Description |
Subnet.Builder |
clearField(Descriptors.FieldDescriptor field)
public Subnet.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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;
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;
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];
Type | Description |
Subnet.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Subnet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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];
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];
Type | Description |
Subnet.Builder | This builder for chaining. |
clone()
public Subnet.Builder clone()
Type | Description |
Subnet.Builder |
getDefaultInstanceForType()
public Subnet getDefaultInstanceForType()
Type | Description |
Subnet |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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;
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];
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];
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];
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];
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];
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];
Type | Description |
ByteString | The bytes for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Subnet other)
public Subnet.Builder mergeFrom(Subnet other)
Name | Description |
other | Subnet |
Type | Description |
Subnet.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Subnet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Subnet.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Subnet.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Subnet.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Subnet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Subnet.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Subnet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | String The gatewayIp to set. |
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;
Name | Description |
value | ByteString The bytes for gatewayIp to set. |
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;
Name | Description |
value | String The ipCidrRange to set. |
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;
Name | Description |
value | ByteString The bytes for ipCidrRange to set. |
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];
Name | Description |
value | String The name to set. |
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];
Name | Description |
value | ByteString The bytes for name to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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];
Name | Description |
value | Subnet.State The state to set. |
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];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
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];
Name | Description |
value | String The type to set. |
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];
Name | Description |
value | ByteString The bytes for type to set. |
Type | Description |
Subnet.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Subnet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Subnet.Builder |