public static final class Subnet.Builder extends GeneratedMessageV3.Builder<Subnet.Builder> implements SubnetOrBuilder
Represents a subnet.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.Subnet
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Subnet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
Type |
Description |
Subnet |
|
buildPartial()
public Subnet buildPartial()
Returns |
Type |
Description |
Subnet |
|
clear()
public Subnet.Builder clear()
Overrides
clearAddressRange()
public Subnet.Builder clearAddressRange()
Required. Address range for this subnet in CIDR notation.
string address_range = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
clearDefaultGatewayIpAddress()
public Subnet.Builder clearDefaultGatewayIpAddress()
Required. Default gateway for this subnet.
string default_gateway_ip_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
clearField(Descriptors.FieldDescriptor field)
public Subnet.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Subnet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Subnet.Builder clone()
Overrides
getAddressRange()
public String getAddressRange()
Required. Address range for this subnet in CIDR notation.
string address_range = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns |
Type |
Description |
String |
The addressRange.
|
getAddressRangeBytes()
public ByteString getAddressRangeBytes()
Required. Address range for this subnet in CIDR notation.
string address_range = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for addressRange.
|
getDefaultGatewayIpAddress()
public String getDefaultGatewayIpAddress()
Required. Default gateway for this subnet.
string default_gateway_ip_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns |
Type |
Description |
String |
The defaultGatewayIpAddress.
|
getDefaultGatewayIpAddressBytes()
public ByteString getDefaultGatewayIpAddressBytes()
Required. Default gateway for this subnet.
string default_gateway_ip_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for defaultGatewayIpAddress.
|
getDefaultInstanceForType()
public Subnet getDefaultInstanceForType()
Returns |
Type |
Description |
Subnet |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Subnet other)
public Subnet.Builder mergeFrom(Subnet other)
Parameter |
Name |
Description |
other |
Subnet
|
public Subnet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Subnet.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Subnet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAddressRange(String value)
public Subnet.Builder setAddressRange(String value)
Required. Address range for this subnet in CIDR notation.
string address_range = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Parameter |
Name |
Description |
value |
String
The addressRange to set.
|
setAddressRangeBytes(ByteString value)
public Subnet.Builder setAddressRangeBytes(ByteString value)
Required. Address range for this subnet in CIDR notation.
string address_range = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for addressRange to set.
|
setDefaultGatewayIpAddress(String value)
public Subnet.Builder setDefaultGatewayIpAddress(String value)
Required. Default gateway for this subnet.
string default_gateway_ip_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Parameter |
Name |
Description |
value |
String
The defaultGatewayIpAddress to set.
|
setDefaultGatewayIpAddressBytes(ByteString value)
public Subnet.Builder setDefaultGatewayIpAddressBytes(ByteString value)
Required. Default gateway for this subnet.
string default_gateway_ip_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_info) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for defaultGatewayIpAddress to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Subnet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Subnet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Subnet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides