Class InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder (1.41.0)

public static final class InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder extends GeneratedMessageV3.Builder<InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder> implements InterconnectRemoteLocationConstraintsSubnetLengthRangeOrBuilder

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationConstraintsSubnetLengthRange

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectRemoteLocationConstraintsSubnetLengthRange build()
Returns
TypeDescription
InterconnectRemoteLocationConstraintsSubnetLengthRange

buildPartial()

public InterconnectRemoteLocationConstraintsSubnetLengthRange buildPartial()
Returns
TypeDescription
InterconnectRemoteLocationConstraintsSubnetLengthRange

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMax()

public InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder clearMax()

optional int32 max = 107876;

Returns
TypeDescription
InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder

This builder for chaining.

clearMin()

public InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder clearMin()

optional int32 min = 108114;

Returns
TypeDescription
InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InterconnectRemoteLocationConstraintsSubnetLengthRange getDefaultInstanceForType()
Returns
TypeDescription
InterconnectRemoteLocationConstraintsSubnetLengthRange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMax()

public int getMax()

optional int32 max = 107876;

Returns
TypeDescription
int

The max.

getMin()

public int getMin()

optional int32 min = 108114;

Returns
TypeDescription
int

The min.

hasMax()

public boolean hasMax()

optional int32 max = 107876;

Returns
TypeDescription
boolean

Whether the max field is set.

hasMin()

public boolean hasMin()

optional int32 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(InterconnectRemoteLocationConstraintsSubnetLengthRange other)

public InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder mergeFrom(InterconnectRemoteLocationConstraintsSubnetLengthRange other)
Parameter
NameDescription
otherInterconnectRemoteLocationConstraintsSubnetLengthRange
Returns
TypeDescription
InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMax(int value)

public InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder setMax(int value)

optional int32 max = 107876;

Parameter
NameDescription
valueint

The max to set.

Returns
TypeDescription
InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder

This builder for chaining.

setMin(int value)

public InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder setMin(int value)

optional int32 min = 108114;

Parameter
NameDescription
valueint

The min to set.

Returns
TypeDescription
InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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