Send feedback
Class RouterAdvertisedIpRange.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.9.0 keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RouterAdvertisedIpRange . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public RouterAdvertisedIpRange build ()
Returns
buildPartial()
public RouterAdvertisedIpRange buildPartial ()
Returns
clear()
public RouterAdvertisedIpRange . Builder clear ()
Returns
Overrides
clearDescription()
public RouterAdvertisedIpRange . Builder clearDescription ()
User-specified description for the IP range.
optional string description = 422937596;
Returns
clearField(Descriptors.FieldDescriptor field)
public RouterAdvertisedIpRange . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RouterAdvertisedIpRange . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearRange()
public RouterAdvertisedIpRange . Builder clearRange ()
The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
Returns
clone()
public RouterAdvertisedIpRange . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public RouterAdvertisedIpRange getDefaultInstanceForType ()
Returns
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 ()
Returns
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
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(RouterAdvertisedIpRange other)
public RouterAdvertisedIpRange . Builder mergeFrom ( RouterAdvertisedIpRange other )
Parameter
Returns
public RouterAdvertisedIpRange . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RouterAdvertisedIpRange . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RouterAdvertisedIpRange . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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.
Returns
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.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RouterAdvertisedIpRange . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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.
Returns
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.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RouterAdvertisedIpRange . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RouterAdvertisedIpRange . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]