Class RouterAdvertisedIpRange.Builder (1.6.0-beta)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RouterAdvertisedIpRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RouterAdvertisedIpRange.Builder
Overrides

build()

public RouterAdvertisedIpRange build()
Returns
TypeDescription
RouterAdvertisedIpRange

buildPartial()

public RouterAdvertisedIpRange buildPartial()
Returns
TypeDescription
RouterAdvertisedIpRange

clear()

public RouterAdvertisedIpRange.Builder clear()
Returns
TypeDescription
RouterAdvertisedIpRange.Builder
Overrides

clearDescription()

public RouterAdvertisedIpRange.Builder clearDescription()

User-specified description for the IP range.

optional string description = 422937596;

Returns
TypeDescription
RouterAdvertisedIpRange.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RouterAdvertisedIpRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RouterAdvertisedIpRange.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RouterAdvertisedIpRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RouterAdvertisedIpRange.Builder
Overrides

clearRange()

public RouterAdvertisedIpRange.Builder clearRange()

The IP range to advertise. The value must be a CIDR-formatted string.

optional string range = 108280125;

Returns
TypeDescription
RouterAdvertisedIpRange.Builder

This builder for chaining.

clone()

public RouterAdvertisedIpRange.Builder clone()
Returns
TypeDescription
RouterAdvertisedIpRange.Builder
Overrides

getDefaultInstanceForType()

public RouterAdvertisedIpRange getDefaultInstanceForType()
Returns
TypeDescription
RouterAdvertisedIpRange

getDescription()

public String getDescription()

User-specified description for the IP range.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

User-specified description for the IP range.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRange()

public String getRange()

The IP range to advertise. The value must be a CIDR-formatted string.

optional string range = 108280125;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for range.

hasDescription()

public boolean hasDescription()

User-specified description for the IP range.

optional string description = 422937596;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the range field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RouterAdvertisedIpRange other)

public RouterAdvertisedIpRange.Builder mergeFrom(RouterAdvertisedIpRange other)
Parameter
NameDescription
otherRouterAdvertisedIpRange
Returns
TypeDescription
RouterAdvertisedIpRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RouterAdvertisedIpRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterAdvertisedIpRange.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RouterAdvertisedIpRange.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RouterAdvertisedIpRange.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RouterAdvertisedIpRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RouterAdvertisedIpRange.Builder
Overrides

setDescription(String value)

public RouterAdvertisedIpRange.Builder setDescription(String value)

User-specified description for the IP range.

optional string description = 422937596;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
RouterAdvertisedIpRange.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public RouterAdvertisedIpRange.Builder setDescriptionBytes(ByteString value)

User-specified description for the IP range.

optional string description = 422937596;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
RouterAdvertisedIpRange.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RouterAdvertisedIpRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RouterAdvertisedIpRange.Builder
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
NameDescription
valueString

The range to set.

Returns
TypeDescription
RouterAdvertisedIpRange.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for range to set.

Returns
TypeDescription
RouterAdvertisedIpRange.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RouterAdvertisedIpRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RouterAdvertisedIpRange.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RouterAdvertisedIpRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RouterAdvertisedIpRange.Builder
Overrides