Class Answer.Reference.Builder (0.51.0)

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

Reference.

Protobuf type google.cloud.discoveryengine.v1beta.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.v1beta.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

clearStructuredDocumentInfo()

public Answer.Reference.Builder clearStructuredDocumentInfo()

Structured document information.

.google.cloud.discoveryengine.v1beta.Answer.Reference.StructuredDocumentInfo structured_document_info = 3;

Returns
Type Description
Answer.Reference.Builder

clearUnstructuredDocumentInfo()

public Answer.Reference.Builder clearUnstructuredDocumentInfo()

Unstructured document information.

.google.cloud.discoveryengine.v1beta.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.v1beta.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.v1beta.Answer.Reference.ChunkInfo chunk_info = 2;

Returns
Type Description
Answer.Reference.ChunkInfo.Builder

getChunkInfoOrBuilder()

public Answer.Reference.ChunkInfoOrBuilder getChunkInfoOrBuilder()

Chunk information.

.google.cloud.discoveryengine.v1beta.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

getStructuredDocumentInfo()

public Answer.Reference.StructuredDocumentInfo getStructuredDocumentInfo()

Structured document information.

.google.cloud.discoveryengine.v1beta.Answer.Reference.StructuredDocumentInfo structured_document_info = 3;

Returns
Type Description
Answer.Reference.StructuredDocumentInfo

The structuredDocumentInfo.

getStructuredDocumentInfoBuilder()

public Answer.Reference.StructuredDocumentInfo.Builder getStructuredDocumentInfoBuilder()

Structured document information.

.google.cloud.discoveryengine.v1beta.Answer.Reference.StructuredDocumentInfo structured_document_info = 3;

Returns
Type Description
Answer.Reference.StructuredDocumentInfo.Builder

getStructuredDocumentInfoOrBuilder()

public Answer.Reference.StructuredDocumentInfoOrBuilder getStructuredDocumentInfoOrBuilder()

Structured document information.

.google.cloud.discoveryengine.v1beta.Answer.Reference.StructuredDocumentInfo structured_document_info = 3;

Returns
Type Description
Answer.Reference.StructuredDocumentInfoOrBuilder

getUnstructuredDocumentInfo()

public Answer.Reference.UnstructuredDocumentInfo getUnstructuredDocumentInfo()

Unstructured document information.

.google.cloud.discoveryengine.v1beta.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.v1beta.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.v1beta.Answer.Reference.UnstructuredDocumentInfo unstructured_document_info = 1;

Returns
Type Description
Answer.Reference.UnstructuredDocumentInfoOrBuilder

hasChunkInfo()

public boolean hasChunkInfo()

Chunk information.

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

Returns
Type Description
boolean

Whether the chunkInfo field is set.

hasStructuredDocumentInfo()

public boolean hasStructuredDocumentInfo()

Structured document information.

.google.cloud.discoveryengine.v1beta.Answer.Reference.StructuredDocumentInfo structured_document_info = 3;

Returns
Type Description
boolean

Whether the structuredDocumentInfo field is set.

hasUnstructuredDocumentInfo()

public boolean hasUnstructuredDocumentInfo()

Unstructured document information.

.google.cloud.discoveryengine.v1beta.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.v1beta.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

mergeStructuredDocumentInfo(Answer.Reference.StructuredDocumentInfo value)

public Answer.Reference.Builder mergeStructuredDocumentInfo(Answer.Reference.StructuredDocumentInfo value)

Structured document information.

.google.cloud.discoveryengine.v1beta.Answer.Reference.StructuredDocumentInfo structured_document_info = 3;

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

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

setStructuredDocumentInfo(Answer.Reference.StructuredDocumentInfo value)

public Answer.Reference.Builder setStructuredDocumentInfo(Answer.Reference.StructuredDocumentInfo value)

Structured document information.

.google.cloud.discoveryengine.v1beta.Answer.Reference.StructuredDocumentInfo structured_document_info = 3;

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

setStructuredDocumentInfo(Answer.Reference.StructuredDocumentInfo.Builder builderForValue)

public Answer.Reference.Builder setStructuredDocumentInfo(Answer.Reference.StructuredDocumentInfo.Builder builderForValue)

Structured document information.

.google.cloud.discoveryengine.v1beta.Answer.Reference.StructuredDocumentInfo structured_document_info = 3;

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

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.v1beta.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.v1beta.Answer.Reference.UnstructuredDocumentInfo unstructured_document_info = 1;

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