Class InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder (1.54.0)

public static final class InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder extends GeneratedMessageV3.Builder<InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder> implements InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeOrBuilder

Protobuf type google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Overrides

build()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange build()
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange

buildPartial()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange buildPartial()
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange

clear()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder clear()
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Overrides

clearMax()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder clearMax()

optional uint32 max = 107876;

Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

This builder for chaining.

clearMin()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder clearMin()

optional uint32 min = 108114;

Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Overrides

clone()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder clone()
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Overrides

getDefaultInstanceForType()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange getDefaultInstanceForType()
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMax()

public int getMax()

optional uint32 max = 107876;

Returns
Type Description
int

The max.

getMin()

public int getMin()

optional uint32 min = 108114;

Returns
Type Description
int

The min.

hasMax()

public boolean hasMax()

optional uint32 max = 107876;

Returns
Type Description
boolean

Whether the max field is set.

hasMin()

public boolean hasMin()

optional uint32 min = 108114;

Returns
Type Description
boolean

Whether the min field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange other)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder mergeFrom(InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange other)
Parameter
Name Description
other InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Overrides

setMax(int value)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder setMax(int value)

optional uint32 max = 107876;

Parameter
Name Description
value int

The max to set.

Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

This builder for chaining.

setMin(int value)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder setMin(int value)

optional uint32 min = 108114;

Parameter
Name Description
value int

The min to set.

Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

This builder for chaining.

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

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Overrides