Class HttpRoute.HeaderMatch.IntegerRange.Builder (0.39.0)

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

Represents an integer value range.

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

Static Methods

getDescriptor()

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

Methods

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.

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.

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

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.

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.