Class Answer.Reference.Builder (0.42.0)

public static final class Answer.Reference.Builder extends GeneratedMessageV3.Builder<Answer.Reference.Builder> implements Answer.ReferenceOrBuilder

Reference.

Protobuf type google.cloud.discoveryengine.v1alpha.Answer.Reference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Answer.Reference build()
Returns
Type Description
Answer.Reference

buildPartial()

public Answer.Reference buildPartial()
Returns
Type Description
Answer.Reference

clear()

public Answer.Reference.Builder clear()
Returns
Type Description
Answer.Reference.Builder
Overrides

clearChunkInfo()

public Answer.Reference.Builder clearChunkInfo()

Chunk information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.ChunkInfo chunk_info = 2;

Returns
Type Description
Answer.Reference.Builder

clearContent()

public Answer.Reference.Builder clearContent()
Returns
Type Description
Answer.Reference.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnstructuredDocumentInfo()

public Answer.Reference.Builder clearUnstructuredDocumentInfo()

Unstructured document information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.UnstructuredDocumentInfo unstructured_document_info = 1;

Returns
Type Description
Answer.Reference.Builder

clone()

public Answer.Reference.Builder clone()
Returns
Type Description
Answer.Reference.Builder
Overrides

getChunkInfo()

public Answer.Reference.ChunkInfo getChunkInfo()

Chunk information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.ChunkInfo chunk_info = 2;

Returns
Type Description
Answer.Reference.ChunkInfo

The chunkInfo.

getChunkInfoBuilder()

public Answer.Reference.ChunkInfo.Builder getChunkInfoBuilder()

Chunk information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.ChunkInfo chunk_info = 2;

Returns
Type Description
Answer.Reference.ChunkInfo.Builder

getChunkInfoOrBuilder()

public Answer.Reference.ChunkInfoOrBuilder getChunkInfoOrBuilder()

Chunk information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.ChunkInfo chunk_info = 2;

Returns
Type Description
Answer.Reference.ChunkInfoOrBuilder

getContentCase()

public Answer.Reference.ContentCase getContentCase()
Returns
Type Description
Answer.Reference.ContentCase

getDefaultInstanceForType()

public Answer.Reference getDefaultInstanceForType()
Returns
Type Description
Answer.Reference

getDescriptorForType()

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

getUnstructuredDocumentInfo()

public Answer.Reference.UnstructuredDocumentInfo getUnstructuredDocumentInfo()

Unstructured document information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.UnstructuredDocumentInfo unstructured_document_info = 1;

Returns
Type Description
Answer.Reference.UnstructuredDocumentInfo

The unstructuredDocumentInfo.

getUnstructuredDocumentInfoBuilder()

public Answer.Reference.UnstructuredDocumentInfo.Builder getUnstructuredDocumentInfoBuilder()

Unstructured document information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.UnstructuredDocumentInfo unstructured_document_info = 1;

Returns
Type Description
Answer.Reference.UnstructuredDocumentInfo.Builder

getUnstructuredDocumentInfoOrBuilder()

public Answer.Reference.UnstructuredDocumentInfoOrBuilder getUnstructuredDocumentInfoOrBuilder()

Unstructured document information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.UnstructuredDocumentInfo unstructured_document_info = 1;

Returns
Type Description
Answer.Reference.UnstructuredDocumentInfoOrBuilder

hasChunkInfo()

public boolean hasChunkInfo()

Chunk information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.ChunkInfo chunk_info = 2;

Returns
Type Description
boolean

Whether the chunkInfo field is set.

hasUnstructuredDocumentInfo()

public boolean hasUnstructuredDocumentInfo()

Unstructured document information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.UnstructuredDocumentInfo unstructured_document_info = 1;

Returns
Type Description
boolean

Whether the unstructuredDocumentInfo field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeChunkInfo(Answer.Reference.ChunkInfo value)

public Answer.Reference.Builder mergeChunkInfo(Answer.Reference.ChunkInfo value)

Chunk information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.ChunkInfo chunk_info = 2;

Parameter
Name Description
value Answer.Reference.ChunkInfo
Returns
Type Description
Answer.Reference.Builder

mergeFrom(Answer.Reference other)

public Answer.Reference.Builder mergeFrom(Answer.Reference other)
Parameter
Name Description
other Answer.Reference
Returns
Type Description
Answer.Reference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Answer.Reference.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Answer.Reference.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUnstructuredDocumentInfo(Answer.Reference.UnstructuredDocumentInfo value)

public Answer.Reference.Builder mergeUnstructuredDocumentInfo(Answer.Reference.UnstructuredDocumentInfo value)

Unstructured document information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.UnstructuredDocumentInfo unstructured_document_info = 1;

Parameter
Name Description
value Answer.Reference.UnstructuredDocumentInfo
Returns
Type Description
Answer.Reference.Builder

setChunkInfo(Answer.Reference.ChunkInfo value)

public Answer.Reference.Builder setChunkInfo(Answer.Reference.ChunkInfo value)

Chunk information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.ChunkInfo chunk_info = 2;

Parameter
Name Description
value Answer.Reference.ChunkInfo
Returns
Type Description
Answer.Reference.Builder

setChunkInfo(Answer.Reference.ChunkInfo.Builder builderForValue)

public Answer.Reference.Builder setChunkInfo(Answer.Reference.ChunkInfo.Builder builderForValue)

Chunk information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.ChunkInfo chunk_info = 2;

Parameter
Name Description
builderForValue Answer.Reference.ChunkInfo.Builder
Returns
Type Description
Answer.Reference.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnstructuredDocumentInfo(Answer.Reference.UnstructuredDocumentInfo value)

public Answer.Reference.Builder setUnstructuredDocumentInfo(Answer.Reference.UnstructuredDocumentInfo value)

Unstructured document information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.UnstructuredDocumentInfo unstructured_document_info = 1;

Parameter
Name Description
value Answer.Reference.UnstructuredDocumentInfo
Returns
Type Description
Answer.Reference.Builder

setUnstructuredDocumentInfo(Answer.Reference.UnstructuredDocumentInfo.Builder builderForValue)

public Answer.Reference.Builder setUnstructuredDocumentInfo(Answer.Reference.UnstructuredDocumentInfo.Builder builderForValue)

Unstructured document information.

.google.cloud.discoveryengine.v1alpha.Answer.Reference.UnstructuredDocumentInfo unstructured_document_info = 1;

Parameter
Name Description
builderForValue Answer.Reference.UnstructuredDocumentInfo.Builder
Returns
Type Description
Answer.Reference.Builder