public static final class RouterAdvertisedIpRange.Builder extends GeneratedMessageV3.Builder<RouterAdvertisedIpRange.Builder> implements RouterAdvertisedIpRangeOrBuilder
Description-tagged IP ranges for the router to advertise.
Protobuf type google.cloud.compute.v1.RouterAdvertisedIpRange
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 RouterAdvertisedIpRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RouterAdvertisedIpRange build()
buildPartial()
public RouterAdvertisedIpRange buildPartial()
clear()
public RouterAdvertisedIpRange.Builder clear()
Overrides
clearDescription()
public RouterAdvertisedIpRange.Builder clearDescription()
User-specified description for the IP range.
optional string description = 422937596;
clearField(Descriptors.FieldDescriptor field)
public RouterAdvertisedIpRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RouterAdvertisedIpRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRange()
public RouterAdvertisedIpRange.Builder clearRange()
The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
clone()
public RouterAdvertisedIpRange.Builder clone()
Overrides
getDefaultInstanceForType()
public RouterAdvertisedIpRange getDefaultInstanceForType()
getDescription()
public String getDescription()
User-specified description for the IP range.
optional string description = 422937596;
Returns |
---|
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
User-specified description for the IP range.
optional string description = 422937596;
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRange()
The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
Returns |
---|
Type | Description |
String | The range.
|
getRangeBytes()
public ByteString getRangeBytes()
The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
Returns |
---|
Type | Description |
ByteString | The bytes for range.
|
hasDescription()
public boolean hasDescription()
User-specified description for the IP range.
optional string description = 422937596;
Returns |
---|
Type | Description |
boolean | Whether the description field is set.
|
hasRange()
public boolean hasRange()
The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
Returns |
---|
Type | Description |
boolean | Whether the range field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RouterAdvertisedIpRange other)
public RouterAdvertisedIpRange.Builder mergeFrom(RouterAdvertisedIpRange other)
public RouterAdvertisedIpRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RouterAdvertisedIpRange.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RouterAdvertisedIpRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDescription(String value)
public RouterAdvertisedIpRange.Builder setDescription(String value)
User-specified description for the IP range.
optional string description = 422937596;
Parameter |
---|
Name | Description |
value | String
The description to set.
|
setDescriptionBytes(ByteString value)
public RouterAdvertisedIpRange.Builder setDescriptionBytes(ByteString value)
User-specified description for the IP range.
optional string description = 422937596;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for description to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public RouterAdvertisedIpRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRange(String value)
public RouterAdvertisedIpRange.Builder setRange(String value)
The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
Parameter |
---|
Name | Description |
value | String
The range to set.
|
setRangeBytes(ByteString value)
public RouterAdvertisedIpRange.Builder setRangeBytes(ByteString value)
The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for range to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RouterAdvertisedIpRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RouterAdvertisedIpRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides