Package com.google.cloud.aiplatform.v1
Class Citation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Citation.Builder>
com.google.cloud.aiplatform.v1.Citation.Builder
- All Implemented Interfaces:
CitationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Citation
public static final class Citation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Citation.Builder>
implements CitationOrBuilder
Source attributions for content.Protobuf type
google.cloud.aiplatform.v1.Citation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.clearUri()Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.intOutput only.getTitle()Output only.com.google.protobuf.ByteStringOutput only.getUri()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePublicationDate(Date value) Output only.setEndIndex(int value) Output only.setLicense(String value) Output only.setLicenseBytes(com.google.protobuf.ByteString value) Output only.setPublicationDate(Date value) Output only.setPublicationDate(Date.Builder builderForValue) Output only.setStartIndex(int value) Output only.Output only.setTitleBytes(com.google.protobuf.ByteString value) Output only.Output only.setUriBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Citation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Citation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Citation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Citation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Citation.Builder>
-
mergeFrom
public Citation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Citation.Builder>- Throws:
IOException
-
getStartIndex
public int getStartIndex()Output only. Start index into the content.
int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartIndexin interfaceCitationOrBuilder- Returns:
- The startIndex.
-
setStartIndex
Output only. Start index into the content.
int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The startIndex to set.- Returns:
- This builder for chaining.
-
clearStartIndex
Output only. Start index into the content.
int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getEndIndex
public int getEndIndex()Output only. End index into the content.
int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndIndexin interfaceCitationOrBuilder- Returns:
- The endIndex.
-
setEndIndex
Output only. End index into the content.
int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The endIndex to set.- Returns:
- This builder for chaining.
-
clearEndIndex
Output only. End index into the content.
int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getUri
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUriin interfaceCitationOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUriBytesin interfaceCitationOrBuilder- Returns:
- The bytes for uri.
-
setUri
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUriBytes
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getTitle
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTitlein interfaceCitationOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTitleBytesin interfaceCitationOrBuilder- Returns:
- The bytes for title.
-
setTitle
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setTitleBytes
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
getLicense
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLicensein interfaceCitationOrBuilder- Returns:
- The license.
-
getLicenseBytes
public com.google.protobuf.ByteString getLicenseBytes()Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLicenseBytesin interfaceCitationOrBuilder- Returns:
- The bytes for license.
-
setLicense
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The license to set.- Returns:
- This builder for chaining.
-
clearLicense
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLicenseBytes
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for license to set.- Returns:
- This builder for chaining.
-
hasPublicationDate
public boolean hasPublicationDate()Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPublicationDatein interfaceCitationOrBuilder- Returns:
- Whether the publicationDate field is set.
-
getPublicationDate
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPublicationDatein interfaceCitationOrBuilder- Returns:
- The publicationDate.
-
setPublicationDate
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setPublicationDate
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergePublicationDate
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearPublicationDate
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPublicationDateBuilder
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPublicationDateOrBuilder
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPublicationDateOrBuilderin interfaceCitationOrBuilder
-