public static final class AliasIpRange.Builder extends GeneratedMessage.Builder<AliasIpRange.Builder> implements AliasIpRangeOrBuilderAn alias IP range attached to an instance's network interface.
Protobuf type google.cloud.backupdr.v1.AliasIpRange
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AliasIpRange.BuilderImplements
AliasIpRangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AliasIpRange build()| Returns | |
|---|---|
| Type | Description |
AliasIpRange |
|
buildPartial()
public AliasIpRange buildPartial()| Returns | |
|---|---|
| Type | Description |
AliasIpRange |
|
clear()
public AliasIpRange.Builder clear()| Returns | |
|---|---|
| Type | Description |
AliasIpRange.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AliasIpRange.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
AliasIpRange.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AliasIpRange getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AliasIpRange |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AliasIpRange other)
public AliasIpRange.Builder mergeFrom(AliasIpRange other)| Parameter | |
|---|---|
| Name | Description |
other |
AliasIpRange |
| Returns | |
|---|---|
| Type | Description |
AliasIpRange.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AliasIpRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AliasIpRange.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AliasIpRange.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AliasIpRange.Builder |
|
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 |
StringThe ipCidrRange to set. |
| Returns | |
|---|---|
| Type | Description |
AliasIpRange.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for ipCidrRange to set. |
| Returns | |
|---|---|
| Type | Description |
AliasIpRange.Builder |
This builder for chaining. |
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 |
StringThe subnetworkRangeName to set. |
| Returns | |
|---|---|
| Type | Description |
AliasIpRange.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for subnetworkRangeName to set. |
| Returns | |
|---|---|
| Type | Description |
AliasIpRange.Builder |
This builder for chaining. |