public final class CitationSource extends GeneratedMessage implements CitationSourceOrBuilder
The source of the citation.
Protobuf type google.cloud.geminidataanalytics.v1beta.CitationSource
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
EXAMPLE_QUERY_FIELD_NUMBER
public static final int EXAMPLE_QUERY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GLOSSARY_TERM_FIELD_NUMBER
public static final int GLOSSARY_TERM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CitationSource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CitationSource.Builder newBuilder()
newBuilder(CitationSource prototype)
public static CitationSource.Builder newBuilder(CitationSource prototype)
public static CitationSource parseDelimitedFrom(InputStream input)
public static CitationSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CitationSource parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CitationSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CitationSource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CitationSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CitationSource parseFrom(CodedInputStream input)
public static CitationSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CitationSource parseFrom(InputStream input)
public static CitationSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CitationSource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CitationSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CitationSource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public CitationSource getDefaultInstanceForType()
getExampleQuery()
public ExampleQuery getExampleQuery()
Output only. The example query used as the source.
.google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExampleQueryOrBuilder()
public ExampleQueryOrBuilder getExampleQueryOrBuilder()
Output only. The example query used as the source.
.google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGlossaryTerm()
public GlossaryTerm getGlossaryTerm()
Output only. The glossary term used as the source.
.google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getGlossaryTermOrBuilder()
public GlossaryTermOrBuilder getGlossaryTermOrBuilder()
Output only. The glossary term used as the source.
.google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getId()
Output only. Unique identifier of the source. This ID is service-generated
and is unique within the scope of a single Citation message.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
Output only. Unique identifier of the source. This ID is service-generated
and is unique within the scope of a single Citation message.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for id.
|
getParserForType()
public Parser<CitationSource> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSourceTypeCase()
public CitationSource.SourceTypeCase getSourceTypeCase()
getTitle()
Output only. The title of the source.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The title.
|
getTitleBytes()
public ByteString getTitleBytes()
Output only. The title of the source.
string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for title.
|
getUri()
Output only. The uri used as the source, such as a web grounding URL.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The uri.
|
getUriBytes()
public ByteString getUriBytes()
Output only. The uri used as the source, such as a web grounding URL.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for uri.
|
hasExampleQuery()
public boolean hasExampleQuery()
Output only. The example query used as the source.
.google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the exampleQuery field is set.
|
hasGlossaryTerm()
public boolean hasGlossaryTerm()
Output only. The glossary term used as the source.
.google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the glossaryTerm field is set.
|
hasUri()
Output only. The uri used as the source, such as a web grounding URL.
string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the uri field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CitationSource.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CitationSource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public CitationSource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides