public static final class CitationMetadata.Builder extends GeneratedMessageV3.Builder<CitationMetadata.Builder> implements CitationMetadataOrBuilder
Una raccolta di attribuzioni di fonti per un contenuto.
Tipo di protobuf google.cloud.vertexai.v1.CitationMetadata
Membri ereditati
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)
Metodi statici
public static final Descriptors.Descriptor getDescriptor()
Metodi
public CitationMetadata.Builder addAllCitations(Iterable<? extends Citation> values)
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parametro |
Nome |
Description |
values |
Iterable<? extends com.google.cloud.vertexai.api.Citation>
|
public CitationMetadata.Builder addCitations(Citation value)
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parametro |
Nome |
Description |
value |
Citation
|
public CitationMetadata.Builder addCitations(Citation.Builder builderForValue)
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder addCitations(int index, Citation value)
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder addCitations(int index, Citation.Builder builderForValue)
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Citation.Builder addCitationsBuilder()
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Citation.Builder addCitationsBuilder(int index)
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parametro |
Nome |
Description |
index |
int
|
public CitationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Sostituzioni
public CitationMetadata build()
public CitationMetadata buildPartial()
public CitationMetadata.Builder clear()
Sostituzioni
public CitationMetadata.Builder clearCitations()
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Sostituzioni
public CitationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Sostituzioni
public CitationMetadata.Builder clone()
Sostituzioni
public Citation getCitations(int index)
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parametro |
Nome |
Description |
index |
int
|
public Citation.Builder getCitationsBuilder(int index)
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parametro |
Nome |
Description |
index |
int
|
public List<Citation.Builder> getCitationsBuilderList()
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getCitationsCount()
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Restituisce |
Tipo |
Description |
int |
|
public List<Citation> getCitationsList()
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationOrBuilder getCitationsOrBuilder(int index)
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parametro |
Nome |
Description |
index |
int
|
public List<? extends CitationOrBuilder> getCitationsOrBuilderList()
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Restituisce |
Tipo |
Description |
List<? extends com.google.cloud.vertexai.api.CitationOrBuilder> |
|
public CitationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Sostituzioni
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Sostituzioni
public final boolean isInitialized()
Restituisce |
Tipo |
Description |
boolean |
|
Sostituzioni
public CitationMetadata.Builder mergeFrom(CitationMetadata other)
public CitationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Sostituzioni
public CitationMetadata.Builder mergeFrom(Message other)
Parametro |
Nome |
Description |
other |
Message
|
Sostituzioni
public final CitationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Sostituzioni
public CitationMetadata.Builder removeCitations(int index)
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parametro |
Nome |
Description |
index |
int
|
public CitationMetadata.Builder setCitations(int index, Citation value)
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder setCitations(int index, Citation.Builder builderForValue)
Solo output. Elenco di citazioni.
repeated .google.cloud.vertexai.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Sostituzioni
public CitationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Sostituzioni
public final CitationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Sostituzioni