Class InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder (1.93.0)

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

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationConstraintsSubnetLengthRange

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder

Static Methods

getDescriptor()

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

Methods

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

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.

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 GeneratedMessage.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

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.