Class InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder (1.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange build()
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange

buildPartial()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange buildPartial()
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMax()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder clearMax()

optional uint32 max = 107876;

Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

This builder for chaining.

clearMin()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder clearMin()

optional uint32 min = 108114;

Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange getDefaultInstanceForType()
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMax()

public int getMax()

optional uint32 max = 107876;

Returns
TypeDescription
int

The max.

getMin()

public int getMin()

optional uint32 min = 108114;

Returns
TypeDescription
int

The min.

hasMax()

public boolean hasMax()

optional uint32 max = 107876;

Returns
TypeDescription
boolean

Whether the max field is set.

hasMin()

public boolean hasMin()

optional uint32 min = 108114;

Returns
TypeDescription
boolean

Whether the min field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange other)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder mergeFrom(InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange other)
Parameter
NameDescription
otherInterconnectAttachmentConfigurationConstraintsBgpPeerASNRange
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMax(int value)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder setMax(int value)

optional uint32 max = 107876;

Parameter
NameDescription
valueint

The max to set.

Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

This builder for chaining.

setMin(int value)

public InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder setMin(int value)

optional uint32 min = 108114;

Parameter
NameDescription
valueint

The min to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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