Class SearchResponse.Summary.Reference.ChunkContent.Builder (0.41.0)

public static final class SearchResponse.Summary.Reference.ChunkContent.Builder extends GeneratedMessageV3.Builder<SearchResponse.Summary.Reference.ChunkContent.Builder> implements SearchResponse.Summary.Reference.ChunkContentOrBuilder

Chunk content.

Protobuf type google.cloud.discoveryengine.v1alpha.SearchResponse.Summary.Reference.ChunkContent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchResponse.Summary.Reference.ChunkContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder
Overrides

build()

public SearchResponse.Summary.Reference.ChunkContent build()
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent

buildPartial()

public SearchResponse.Summary.Reference.ChunkContent buildPartial()
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent

clear()

public SearchResponse.Summary.Reference.ChunkContent.Builder clear()
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder
Overrides

clearContent()

public SearchResponse.Summary.Reference.ChunkContent.Builder clearContent()

Chunk textual content.

string content = 1;

Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SearchResponse.Summary.Reference.ChunkContent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchResponse.Summary.Reference.ChunkContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder
Overrides

clearPageIdentifier()

public SearchResponse.Summary.Reference.ChunkContent.Builder clearPageIdentifier()

Page identifier.

string page_identifier = 2;

Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder

This builder for chaining.

clone()

public SearchResponse.Summary.Reference.ChunkContent.Builder clone()
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder
Overrides

getContent()

public String getContent()

Chunk textual content.

string content = 1;

Returns
Type Description
String

The content.

getContentBytes()

public ByteString getContentBytes()

Chunk textual content.

string content = 1;

Returns
Type Description
ByteString

The bytes for content.

getDefaultInstanceForType()

public SearchResponse.Summary.Reference.ChunkContent getDefaultInstanceForType()
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent

getDescriptorForType()

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

getPageIdentifier()

public String getPageIdentifier()

Page identifier.

string page_identifier = 2;

Returns
Type Description
String

The pageIdentifier.

getPageIdentifierBytes()

public ByteString getPageIdentifierBytes()

Page identifier.

string page_identifier = 2;

Returns
Type Description
ByteString

The bytes for pageIdentifier.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchResponse.Summary.Reference.ChunkContent other)

public SearchResponse.Summary.Reference.ChunkContent.Builder mergeFrom(SearchResponse.Summary.Reference.ChunkContent other)
Parameter
Name Description
other SearchResponse.Summary.Reference.ChunkContent
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchResponse.Summary.Reference.ChunkContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchResponse.Summary.Reference.ChunkContent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchResponse.Summary.Reference.ChunkContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder
Overrides

setContent(String value)

public SearchResponse.Summary.Reference.ChunkContent.Builder setContent(String value)

Chunk textual content.

string content = 1;

Parameter
Name Description
value String

The content to set.

Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder

This builder for chaining.

setContentBytes(ByteString value)

public SearchResponse.Summary.Reference.ChunkContent.Builder setContentBytes(ByteString value)

Chunk textual content.

string content = 1;

Parameter
Name Description
value ByteString

The bytes for content to set.

Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SearchResponse.Summary.Reference.ChunkContent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder
Overrides

setPageIdentifier(String value)

public SearchResponse.Summary.Reference.ChunkContent.Builder setPageIdentifier(String value)

Page identifier.

string page_identifier = 2;

Parameter
Name Description
value String

The pageIdentifier to set.

Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder

This builder for chaining.

setPageIdentifierBytes(ByteString value)

public SearchResponse.Summary.Reference.ChunkContent.Builder setPageIdentifierBytes(ByteString value)

Page identifier.

string page_identifier = 2;

Parameter
Name Description
value ByteString

The bytes for pageIdentifier to set.

Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder

This builder for chaining.

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

public SearchResponse.Summary.Reference.ChunkContent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchResponse.Summary.Reference.ChunkContent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchResponse.Summary.Reference.ChunkContent.Builder
Overrides