Class Int64RangeMatch.Builder (1.16.0)

public static final class Int64RangeMatch.Builder extends GeneratedMessageV3.Builder<Int64RangeMatch.Builder> implements Int64RangeMatchOrBuilder

HttpRouteRuleMatch criteria for field values that must stay within the specified integer range.

Protobuf type google.cloud.compute.v1.Int64RangeMatch

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Int64RangeMatch build()
Returns
TypeDescription
Int64RangeMatch

buildPartial()

public Int64RangeMatch buildPartial()
Returns
TypeDescription
Int64RangeMatch

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRangeEnd()

public Int64RangeMatch.Builder clearRangeEnd()

The end of the range (exclusive) in signed long integer format.

optional int64 range_end = 322439897;

Returns
TypeDescription
Int64RangeMatch.Builder

This builder for chaining.

clearRangeStart()

public Int64RangeMatch.Builder clearRangeStart()

The start of the range (inclusive) in signed long integer format.

optional int64 range_start = 103333600;

Returns
TypeDescription
Int64RangeMatch.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Int64RangeMatch getDefaultInstanceForType()
Returns
TypeDescription
Int64RangeMatch

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRangeEnd()

public long getRangeEnd()

The end of the range (exclusive) in signed long integer format.

optional int64 range_end = 322439897;

Returns
TypeDescription
long

The rangeEnd.

getRangeStart()

public long getRangeStart()

The start of the range (inclusive) in signed long integer format.

optional int64 range_start = 103333600;

Returns
TypeDescription
long

The rangeStart.

hasRangeEnd()

public boolean hasRangeEnd()

The end of the range (exclusive) in signed long integer format.

optional int64 range_end = 322439897;

Returns
TypeDescription
boolean

Whether the rangeEnd field is set.

hasRangeStart()

public boolean hasRangeStart()

The start of the range (inclusive) in signed long integer format.

optional int64 range_start = 103333600;

Returns
TypeDescription
boolean

Whether the rangeStart field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Int64RangeMatch other)

public Int64RangeMatch.Builder mergeFrom(Int64RangeMatch other)
Parameter
NameDescription
otherInt64RangeMatch
Returns
TypeDescription
Int64RangeMatch.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRangeEnd(long value)

public Int64RangeMatch.Builder setRangeEnd(long value)

The end of the range (exclusive) in signed long integer format.

optional int64 range_end = 322439897;

Parameter
NameDescription
valuelong

The rangeEnd to set.

Returns
TypeDescription
Int64RangeMatch.Builder

This builder for chaining.

setRangeStart(long value)

public Int64RangeMatch.Builder setRangeStart(long value)

The start of the range (inclusive) in signed long integer format.

optional int64 range_start = 103333600;

Parameter
NameDescription
valuelong

The rangeStart to set.

Returns
TypeDescription
Int64RangeMatch.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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