Class HttpRoute.HeaderMatch.IntegerRange.Builder (0.16.0)

public static final class HttpRoute.HeaderMatch.IntegerRange.Builder extends GeneratedMessageV3.Builder<HttpRoute.HeaderMatch.IntegerRange.Builder> implements HttpRoute.HeaderMatch.IntegerRangeOrBuilder

Represents an integer value range.

Protobuf type google.events.cloud.networkservices.v1.HttpRoute.HeaderMatch.IntegerRange

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HttpRoute.HeaderMatch.IntegerRange build()
Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange

buildPartial()

public HttpRoute.HeaderMatch.IntegerRange buildPartial()
Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange

clear()

public HttpRoute.HeaderMatch.IntegerRange.Builder clear()
Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder
Overrides

clearEnd()

public HttpRoute.HeaderMatch.IntegerRange.Builder clearEnd()

End of the range (exclusive)

int32 end = 2;

Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public HttpRoute.HeaderMatch.IntegerRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HttpRoute.HeaderMatch.IntegerRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder
Overrides

clearStart()

public HttpRoute.HeaderMatch.IntegerRange.Builder clearStart()

Start of the range (inclusive)

int32 start = 1;

Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder

This builder for chaining.

clone()

public HttpRoute.HeaderMatch.IntegerRange.Builder clone()
Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder
Overrides

getDefaultInstanceForType()

public HttpRoute.HeaderMatch.IntegerRange getDefaultInstanceForType()
Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange

getDescriptorForType()

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

getEnd()

public int getEnd()

End of the range (exclusive)

int32 end = 2;

Returns
Type Description
int

The end.

getStart()

public int getStart()

Start of the range (inclusive)

int32 start = 1;

Returns
Type Description
int

The start.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HttpRoute.HeaderMatch.IntegerRange other)

public HttpRoute.HeaderMatch.IntegerRange.Builder mergeFrom(HttpRoute.HeaderMatch.IntegerRange other)
Parameter
Name Description
other HttpRoute.HeaderMatch.IntegerRange
Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public HttpRoute.HeaderMatch.IntegerRange.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HttpRoute.HeaderMatch.IntegerRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder
Overrides

setEnd(int value)

public HttpRoute.HeaderMatch.IntegerRange.Builder setEnd(int value)

End of the range (exclusive)

int32 end = 2;

Parameter
Name Description
value int

The end to set.

Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public HttpRoute.HeaderMatch.IntegerRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder
Overrides

setStart(int value)

public HttpRoute.HeaderMatch.IntegerRange.Builder setStart(int value)

Start of the range (inclusive)

int32 start = 1;

Parameter
Name Description
value int

The start to set.

Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final HttpRoute.HeaderMatch.IntegerRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HttpRoute.HeaderMatch.IntegerRange.Builder
Overrides