public static final class AliasIpRange.Builder extends GeneratedMessageV3.Builder<AliasIpRange.Builder> implements AliasIpRangeOrBuilder
An alias IP range attached to an instance's network interface.
Protobuf type google.cloud.backupdr.v1.AliasIpRange
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 AliasIpRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AliasIpRange build()
buildPartial()
public AliasIpRange buildPartial()
clear()
public AliasIpRange.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AliasIpRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIpCidrRange()
public AliasIpRange.Builder clearIpCidrRange()
Optional. The IP alias ranges to allocate for this interface.
optional string ip_cidr_range = 1 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public AliasIpRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSubnetworkRangeName()
public AliasIpRange.Builder clearSubnetworkRangeName()
Optional. The name of a subnetwork secondary IP range from which to
allocate an IP alias range. If not specified, the primary range of the
subnetwork is used.
optional string subnetwork_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public AliasIpRange.Builder clone()
Overrides
getDefaultInstanceForType()
public AliasIpRange getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIpCidrRange()
public String getIpCidrRange()
Optional. The IP alias ranges to allocate for this interface.
optional string ip_cidr_range = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The ipCidrRange.
|
getIpCidrRangeBytes()
public ByteString getIpCidrRangeBytes()
Optional. The IP alias ranges to allocate for this interface.
optional string ip_cidr_range = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for ipCidrRange.
|
getSubnetworkRangeName()
public String getSubnetworkRangeName()
Optional. The name of a subnetwork secondary IP range from which to
allocate an IP alias range. If not specified, the primary range of the
subnetwork is used.
optional string subnetwork_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The subnetworkRangeName.
|
getSubnetworkRangeNameBytes()
public ByteString getSubnetworkRangeNameBytes()
Optional. The name of a subnetwork secondary IP range from which to
allocate an IP alias range. If not specified, the primary range of the
subnetwork is used.
optional string subnetwork_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for subnetworkRangeName.
|
hasIpCidrRange()
public boolean hasIpCidrRange()
Optional. The IP alias ranges to allocate for this interface.
optional string ip_cidr_range = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the ipCidrRange field is set.
|
hasSubnetworkRangeName()
public boolean hasSubnetworkRangeName()
Optional. The name of a subnetwork secondary IP range from which to
allocate an IP alias range. If not specified, the primary range of the
subnetwork is used.
optional string subnetwork_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the subnetworkRangeName field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AliasIpRange other)
public AliasIpRange.Builder mergeFrom(AliasIpRange other)
public AliasIpRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AliasIpRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AliasIpRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AliasIpRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIpCidrRange(String value)
public AliasIpRange.Builder setIpCidrRange(String value)
Optional. The IP alias ranges to allocate for this interface.
optional string ip_cidr_range = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The ipCidrRange to set.
|
setIpCidrRangeBytes(ByteString value)
public AliasIpRange.Builder setIpCidrRangeBytes(ByteString value)
Optional. The IP alias ranges to allocate for this interface.
optional string ip_cidr_range = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for ipCidrRange to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AliasIpRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSubnetworkRangeName(String value)
public AliasIpRange.Builder setSubnetworkRangeName(String value)
Optional. The name of a subnetwork secondary IP range from which to
allocate an IP alias range. If not specified, the primary range of the
subnetwork is used.
optional string subnetwork_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The subnetworkRangeName to set.
|
setSubnetworkRangeNameBytes(ByteString value)
public AliasIpRange.Builder setSubnetworkRangeNameBytes(ByteString value)
Optional. The name of a subnetwork secondary IP range from which to
allocate an IP alias range. If not specified, the primary range of the
subnetwork is used.
optional string subnetwork_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for subnetworkRangeName to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AliasIpRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides