Interface CitedSourceOrBuilder (0.67.0)

public interface CitedSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFooter()

public abstract CitedSource.Footer getFooter()

Optional. Additional information to show alongside the snippet in the form of a footer.

.google.chat.v1.CitedSource.Footer footer = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CitedSource.Footer

The footer.

getFooterOrBuilder()

public abstract CitedSource.FooterOrBuilder getFooterOrBuilder()

Optional. Additional information to show alongside the snippet in the form of a footer.

.google.chat.v1.CitedSource.Footer footer = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CitedSource.FooterOrBuilder

getSnippet()

public abstract CitedSource.Snippet getSnippet()

Optional. Snippet containing information directly from the source.

.google.chat.v1.CitedSource.Snippet snippet = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CitedSource.Snippet

The snippet.

getSnippetOrBuilder()

public abstract CitedSource.SnippetOrBuilder getSnippetOrBuilder()

Optional. Snippet containing information directly from the source.

.google.chat.v1.CitedSource.Snippet snippet = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CitedSource.SnippetOrBuilder

getTitle()

public abstract String getTitle()

Required. The plaintext title of the CitedSource. Does not support markdown format.

string title = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Required. The plaintext title of the CitedSource. Does not support markdown format.

string title = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for title.

getUri()

public abstract String getUri()

Required. The URI pointing to the resource referenced by this CitedSource.

string uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

Required. The URI pointing to the resource referenced by this CitedSource.

string uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for uri.

hasFooter()

public abstract boolean hasFooter()

Optional. Additional information to show alongside the snippet in the form of a footer.

.google.chat.v1.CitedSource.Footer footer = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the footer field is set.

hasSnippet()

public abstract boolean hasSnippet()

Optional. Snippet containing information directly from the source.

.google.chat.v1.CitedSource.Snippet snippet = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the snippet field is set.