public final class CitationAnchor extends GeneratedMessage implements CitationAnchorOrBuilderThe anchor of the citation.
Protobuf type google.cloud.geminidataanalytics.v1beta.CitationAnchor
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CitationAnchorImplements
CitationAnchorOrBuilderStatic Fields
TEXT_MESSAGE_ANCHOR_FIELD_NUMBER
public static final int TEXT_MESSAGE_ANCHOR_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CitationAnchor getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CitationAnchor.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CitationAnchor.Builder |
|
newBuilder(CitationAnchor prototype)
public static CitationAnchor.Builder newBuilder(CitationAnchor prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CitationAnchor |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor.Builder |
|
parseDelimitedFrom(InputStream input)
public static CitationAnchor parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CitationAnchor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CitationAnchor parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CitationAnchor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CitationAnchor parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CitationAnchor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CitationAnchor parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CitationAnchor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CitationAnchor parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CitationAnchor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CitationAnchor parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CitationAnchor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CitationAnchor> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CitationAnchor> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAnchorTypeCase()
public CitationAnchor.AnchorTypeCase getAnchorTypeCase()| Returns | |
|---|---|
| Type | Description |
CitationAnchor.AnchorTypeCase |
|
getDefaultInstanceForType()
public CitationAnchor getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CitationAnchor |
|
getParserForType()
public Parser<CitationAnchor> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CitationAnchor> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTextMessageAnchor()
public CitationAnchor.TextMessageCitationAnchor getTextMessageAnchor()Output only. Only set if the citation is for a TextMessage.
.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CitationAnchor.TextMessageCitationAnchor |
The textMessageAnchor. |
getTextMessageAnchorOrBuilder()
public CitationAnchor.TextMessageCitationAnchorOrBuilder getTextMessageAnchorOrBuilder()Output only. Only set if the citation is for a TextMessage.
.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CitationAnchor.TextMessageCitationAnchorOrBuilder |
|
hasTextMessageAnchor()
public boolean hasTextMessageAnchor()Output only. Only set if the citation is for a TextMessage.
.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the textMessageAnchor field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public CitationAnchor.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CitationAnchor.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CitationAnchor.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CitationAnchor.Builder |
|
toBuilder()
public CitationAnchor.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CitationAnchor.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|