public static final class Answer.CitationSource.Builder extends GeneratedMessageV3.Builder<Answer.CitationSource.Builder> implements Answer.CitationSourceOrBuilder
Citation source.
Protobuf type google.cloud.discoveryengine.v1beta.Answer.CitationSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Answer.CitationSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Answer.CitationSource build()
buildPartial()
public Answer.CitationSource buildPartial()
clear()
public Answer.CitationSource.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Answer.CitationSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Answer.CitationSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReferenceId()
public Answer.CitationSource.Builder clearReferenceId()
ID of the citation source.
string reference_id = 1;
clone()
public Answer.CitationSource.Builder clone()
Overrides
getDefaultInstanceForType()
public Answer.CitationSource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReferenceId()
public String getReferenceId()
ID of the citation source.
string reference_id = 1;
Returns |
Type |
Description |
String |
The referenceId.
|
getReferenceIdBytes()
public ByteString getReferenceIdBytes()
ID of the citation source.
string reference_id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for referenceId.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Answer.CitationSource other)
public Answer.CitationSource.Builder mergeFrom(Answer.CitationSource other)
public Answer.CitationSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Answer.CitationSource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Answer.CitationSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Answer.CitationSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setReferenceId(String value)
public Answer.CitationSource.Builder setReferenceId(String value)
ID of the citation source.
string reference_id = 1;
Parameter |
Name |
Description |
value |
String
The referenceId to set.
|
setReferenceIdBytes(ByteString value)
public Answer.CitationSource.Builder setReferenceIdBytes(ByteString value)
ID of the citation source.
string reference_id = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for referenceId to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Answer.CitationSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Answer.CitationSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides