Class InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder (1.56.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectRemoteLocationConstraintsSubnetLengthRange build()
Returns
Type Description
InterconnectRemoteLocationConstraintsSubnetLengthRange

buildPartial()

public InterconnectRemoteLocationConstraintsSubnetLengthRange buildPartial()
Returns
Type Description
InterconnectRemoteLocationConstraintsSubnetLengthRange

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMax()

public InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder clearMax()

optional int32 max = 107876;

Returns
Type Description
InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder

This builder for chaining.

clearMin()

public InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder clearMin()

optional int32 min = 108114;

Returns
Type Description
InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InterconnectRemoteLocationConstraintsSubnetLengthRange getDefaultInstanceForType()
Returns
Type Description
InterconnectRemoteLocationConstraintsSubnetLengthRange

getDescriptorForType()

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

getMax()

public int getMax()

optional int32 max = 107876;

Returns
Type Description
int

The max.

getMin()

public int getMin()

optional int32 min = 108114;

Returns
Type Description
int

The min.

hasMax()

public boolean hasMax()

optional int32 max = 107876;

Returns
Type Description
boolean

Whether the max field is set.

hasMin()

public boolean hasMin()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMax(int value)

public InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder setMax(int value)

optional int32 max = 107876;

Parameter
Name Description
value int

The max to set.

Returns
Type Description
InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder

This builder for chaining.

setMin(int value)

public InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder setMin(int value)

optional int32 min = 108114;

Parameter
Name Description
value int

The min to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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