public final class Citation extends GeneratedMessageV3 implements CitationOrBuilder
Source attributions for content.
Protobuf type google.cloud.aiplatform.v1.Citation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int END_INDEX_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LICENSE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PUBLICATION_DATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int START_INDEX_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TITLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static Citation getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Citation.Builder newBuilder()
public static Citation.Builder newBuilder(Citation prototype)
Parameter |
---|
Name | Description |
prototype | Citation
|
public static Citation parseDelimitedFrom(InputStream input)
public static Citation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Citation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static Citation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Citation parseFrom(ByteString data)
public static Citation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Citation parseFrom(CodedInputStream input)
public static Citation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Citation parseFrom(InputStream input)
public static Citation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Citation parseFrom(ByteBuffer data)
public static Citation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Citation> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public Citation getDefaultInstanceForType()
Output only. End index into the content.
int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The endIndex.
|
public String getLicense()
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The license.
|
public ByteString getLicenseBytes()
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for license.
|
public Parser<Citation> getParserForType()
Overrides
public Date getPublicationDate()
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
com.google.type.Date | The publicationDate.
|
public DateOrBuilder getPublicationDateOrBuilder()
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
com.google.type.DateOrBuilder | |
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public int getStartIndex()
Output only. Start index into the content.
int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The startIndex.
|
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The title.
|
public ByteString getTitleBytes()
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for title.
|
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The uri.
|
public ByteString getUriBytes()
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for uri.
|
public boolean hasPublicationDate()
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the publicationDate field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Citation.Builder newBuilderForType()
protected Citation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public Citation.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides