public static final class Citation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder> implements CitationOrBuilder
Source attributions for content.Protobuf type
google.cloud.vertexai.v1.Citation| Modifier and Type | Method and Description |
|---|---|
Citation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Citation |
build() |
Citation |
buildPartial() |
Citation.Builder |
clear() |
Citation.Builder |
clearEndIndex()
Output only.
|
Citation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Citation.Builder |
clearLicense()
Output only.
|
Citation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Citation.Builder |
clearPublicationDate()
Output only.
|
Citation.Builder |
clearStartIndex()
Output only.
|
Citation.Builder |
clearTitle()
Output only.
|
Citation.Builder |
clearUri()
Output only.
|
Citation.Builder |
clone() |
Citation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getEndIndex()
Output only.
|
String |
getLicense()
Output only.
|
com.google.protobuf.ByteString |
getLicenseBytes()
Output only.
|
com.google.type.Date |
getPublicationDate()
Output only.
|
com.google.type.Date.Builder |
getPublicationDateBuilder()
Output only.
|
com.google.type.DateOrBuilder |
getPublicationDateOrBuilder()
Output only.
|
int |
getStartIndex()
Output only.
|
String |
getTitle()
Output only.
|
com.google.protobuf.ByteString |
getTitleBytes()
Output only.
|
String |
getUri()
Output only.
|
com.google.protobuf.ByteString |
getUriBytes()
Output only.
|
boolean |
hasPublicationDate()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Citation.Builder |
mergeFrom(Citation other) |
Citation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Citation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Citation.Builder |
mergePublicationDate(com.google.type.Date value)
Output only.
|
Citation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Citation.Builder |
setEndIndex(int value)
Output only.
|
Citation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Citation.Builder |
setLicense(String value)
Output only.
|
Citation.Builder |
setLicenseBytes(com.google.protobuf.ByteString value)
Output only.
|
Citation.Builder |
setPublicationDate(com.google.type.Date.Builder builderForValue)
Output only.
|
Citation.Builder |
setPublicationDate(com.google.type.Date value)
Output only.
|
Citation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Citation.Builder |
setStartIndex(int value)
Output only.
|
Citation.Builder |
setTitle(String value)
Output only.
|
Citation.Builder |
setTitleBytes(com.google.protobuf.ByteString value)
Output only.
|
Citation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Citation.Builder |
setUri(String value)
Output only.
|
Citation.Builder |
setUriBytes(com.google.protobuf.ByteString value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder>public Citation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder>public Citation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Citation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Citation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Citation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder>public Citation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder>public Citation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder>public Citation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder>public Citation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder>public Citation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder>public Citation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Citation.Builder>public Citation.Builder mergeFrom(Citation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder>public Citation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Citation.Builder>IOExceptionpublic int getStartIndex()
Output only. Start index into the content.
int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getStartIndex in interface CitationOrBuilderpublic Citation.Builder setStartIndex(int value)
Output only. Start index into the content.
int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The startIndex to set.public Citation.Builder clearStartIndex()
Output only. Start index into the content.
int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public int getEndIndex()
Output only. End index into the content.
int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getEndIndex in interface CitationOrBuilderpublic Citation.Builder setEndIndex(int value)
Output only. End index into the content.
int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The endIndex to set.public Citation.Builder clearEndIndex()
Output only. End index into the content.
int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getUri()
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUri in interface CitationOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getUriBytes in interface CitationOrBuilderpublic Citation.Builder setUri(String value)
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The uri to set.public Citation.Builder clearUri()
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public Citation.Builder setUriBytes(com.google.protobuf.ByteString value)
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for uri to set.public String getTitle()
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getTitle in interface CitationOrBuilderpublic com.google.protobuf.ByteString getTitleBytes()
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getTitleBytes in interface CitationOrBuilderpublic Citation.Builder setTitle(String value)
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The title to set.public Citation.Builder clearTitle()
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public Citation.Builder setTitleBytes(com.google.protobuf.ByteString value)
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for title to set.public String getLicense()
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getLicense in interface CitationOrBuilderpublic com.google.protobuf.ByteString getLicenseBytes()
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getLicenseBytes in interface CitationOrBuilderpublic Citation.Builder setLicense(String value)
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The license to set.public Citation.Builder clearLicense()
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];public Citation.Builder setLicenseBytes(com.google.protobuf.ByteString value)
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for license to set.public boolean hasPublicationDate()
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasPublicationDate in interface CitationOrBuilderpublic com.google.type.Date getPublicationDate()
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPublicationDate in interface CitationOrBuilderpublic Citation.Builder setPublicationDate(com.google.type.Date value)
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Citation.Builder setPublicationDate(com.google.type.Date.Builder builderForValue)
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Citation.Builder mergePublicationDate(com.google.type.Date value)
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Citation.Builder clearPublicationDate()
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.type.Date.Builder getPublicationDateBuilder()
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.type.DateOrBuilder getPublicationDateOrBuilder()
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPublicationDateOrBuilder in interface CitationOrBuilderpublic final Citation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder>public final Citation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Citation.Builder>Copyright © 2025 Google LLC. All rights reserved.