Interface CitationSourceOrBuilder (0.21.0)

public interface CitationSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExampleQuery()

public abstract ExampleQuery getExampleQuery()

Output only. The example query used as the source.

.google.cloud.geminidataanalytics.v1.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ExampleQuery

The exampleQuery.

getExampleQueryOrBuilder()

public abstract ExampleQueryOrBuilder getExampleQueryOrBuilder()

Output only. The example query used as the source.

.google.cloud.geminidataanalytics.v1.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ExampleQueryOrBuilder

getGlossaryTerm()

public abstract GlossaryTerm getGlossaryTerm()

Output only. The glossary term used as the source.

.google.cloud.geminidataanalytics.v1.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GlossaryTerm

The glossaryTerm.

getGlossaryTermOrBuilder()

public abstract GlossaryTermOrBuilder getGlossaryTermOrBuilder()

Output only. The glossary term used as the source.

.google.cloud.geminidataanalytics.v1.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GlossaryTermOrBuilder

getId()

public abstract String 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 abstract 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.

getSourceTypeCase()

public abstract CitationSource.SourceTypeCase getSourceTypeCase()
Returns
Type Description
CitationSource.SourceTypeCase

getTitle()

public abstract String 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 abstract 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()

public abstract String 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 abstract 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 abstract boolean hasExampleQuery()

Output only. The example query used as the source.

.google.cloud.geminidataanalytics.v1.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the exampleQuery field is set.

hasGlossaryTerm()

public abstract boolean hasGlossaryTerm()

Output only. The glossary term used as the source.

.google.cloud.geminidataanalytics.v1.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the glossaryTerm field is set.

hasUri()

public abstract boolean 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.