- 3.48.0 (latest)
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class Citation.Builder extends GeneratedMessageV3.Builder<Citation.Builder> implements CitationOrBuilder
Source attributions for content.
Protobuf type google.cloud.aiplatform.v1.Citation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Citation.BuilderImplements
CitationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Citation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Citation.Builder |
build()
public Citation build()
Returns | |
---|---|
Type | Description |
Citation |
buildPartial()
public Citation buildPartial()
Returns | |
---|---|
Type | Description |
Citation |
clear()
public Citation.Builder clear()
Returns | |
---|---|
Type | Description |
Citation.Builder |
clearEndIndex()
public Citation.Builder clearEndIndex()
Output only. End index into the content.
int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Citation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Citation.Builder |
clearLicense()
public Citation.Builder clearLicense()
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Citation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Citation.Builder |
clearPublicationDate()
public Citation.Builder clearPublicationDate()
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Citation.Builder |
clearStartIndex()
public Citation.Builder clearStartIndex()
Output only. Start index into the content.
int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |
clearTitle()
public Citation.Builder clearTitle()
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |
clearUri()
public Citation.Builder clearUri()
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |
clone()
public Citation.Builder clone()
Returns | |
---|---|
Type | Description |
Citation.Builder |
getDefaultInstanceForType()
public Citation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Citation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndIndex()
public int getEndIndex()
Output only. End index into the content.
int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The endIndex. |
getLicense()
public String getLicense()
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The license. |
getLicenseBytes()
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. |
getPublicationDate()
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. |
getPublicationDateBuilder()
public Date.Builder getPublicationDateBuilder()
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.Builder |
getPublicationDateOrBuilder()
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 |
getStartIndex()
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. |
getTitle()
public String getTitle()
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The title. |
getTitleBytes()
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. |
getUri()
public String getUri()
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The uri. |
getUriBytes()
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. |
hasPublicationDate()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Citation other)
public Citation.Builder mergeFrom(Citation other)
Parameter | |
---|---|
Name | Description |
other |
Citation |
Returns | |
---|---|
Type | Description |
Citation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Citation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Citation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Citation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Citation.Builder |
mergePublicationDate(Date value)
public Citation.Builder mergePublicationDate(Date value)
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
Citation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Citation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Citation.Builder |
setEndIndex(int value)
public Citation.Builder setEndIndex(int value)
Output only. End index into the content.
int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The endIndex to set. |
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Citation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Citation.Builder |
setLicense(String value)
public Citation.Builder setLicense(String value)
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The license to set. |
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |
setLicenseBytes(ByteString value)
public Citation.Builder setLicenseBytes(ByteString value)
Output only. License of the attribution.
string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for license to set. |
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |
setPublicationDate(Date value)
public Citation.Builder setPublicationDate(Date value)
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
com.google.type.Date |
Returns | |
---|---|
Type | Description |
Citation.Builder |
setPublicationDate(Date.Builder builderForValue)
public Citation.Builder setPublicationDate(Date.Builder builderForValue)
Output only. Publication date of the attribution.
.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
Citation.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Citation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Citation.Builder |
setStartIndex(int value)
public Citation.Builder setStartIndex(int value)
Output only. Start index into the content.
int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The startIndex to set. |
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |
setTitle(String value)
public Citation.Builder setTitle(String value)
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The title to set. |
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |
setTitleBytes(ByteString value)
public Citation.Builder setTitleBytes(ByteString value)
Output only. Title of the attribution.
string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Citation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Citation.Builder |
setUri(String value)
public Citation.Builder setUri(String value)
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The uri to set. |
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public Citation.Builder setUriBytes(ByteString value)
Output only. Url reference of the attribution.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uri to set. |
Returns | |
---|---|
Type | Description |
Citation.Builder |
This builder for chaining. |