Class Chunk.PageSpan.Builder (0.51.0)

public static final class Chunk.PageSpan.Builder extends GeneratedMessageV3.Builder<Chunk.PageSpan.Builder> implements Chunk.PageSpanOrBuilder

Page span of the chunk.

Protobuf type google.cloud.discoveryengine.v1beta.Chunk.PageSpan

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Chunk.PageSpan build()
Returns
Type Description
Chunk.PageSpan

buildPartial()

public Chunk.PageSpan buildPartial()
Returns
Type Description
Chunk.PageSpan

clear()

public Chunk.PageSpan.Builder clear()
Returns
Type Description
Chunk.PageSpan.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageEnd()

public Chunk.PageSpan.Builder clearPageEnd()

The end page of the chunk.

int32 page_end = 2;

Returns
Type Description
Chunk.PageSpan.Builder

This builder for chaining.

clearPageStart()

public Chunk.PageSpan.Builder clearPageStart()

The start page of the chunk.

int32 page_start = 1;

Returns
Type Description
Chunk.PageSpan.Builder

This builder for chaining.

clone()

public Chunk.PageSpan.Builder clone()
Returns
Type Description
Chunk.PageSpan.Builder
Overrides

getDefaultInstanceForType()

public Chunk.PageSpan getDefaultInstanceForType()
Returns
Type Description
Chunk.PageSpan

getDescriptorForType()

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

getPageEnd()

public int getPageEnd()

The end page of the chunk.

int32 page_end = 2;

Returns
Type Description
int

The pageEnd.

getPageStart()

public int getPageStart()

The start page of the chunk.

int32 page_start = 1;

Returns
Type Description
int

The pageStart.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Chunk.PageSpan other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageEnd(int value)

public Chunk.PageSpan.Builder setPageEnd(int value)

The end page of the chunk.

int32 page_end = 2;

Parameter
Name Description
value int

The pageEnd to set.

Returns
Type Description
Chunk.PageSpan.Builder

This builder for chaining.

setPageStart(int value)

public Chunk.PageSpan.Builder setPageStart(int value)

The start page of the chunk.

int32 page_start = 1;

Parameter
Name Description
value int

The pageStart to set.

Returns
Type Description
Chunk.PageSpan.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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