Class Reply.Reference (0.24.0)

public static final class Reply.Reference extends GeneratedMessageV3 implements Reply.ReferenceOrBuilder

Defines reference in reply.

Protobuf type google.cloud.discoveryengine.v1beta.Reply.Reference

Static Fields

ANCHOR_TEXT_FIELD_NUMBER

public static final int ANCHOR_TEXT_FIELD_NUMBER
Field Value
TypeDescription
int

END_FIELD_NUMBER

public static final int END_FIELD_NUMBER
Field Value
TypeDescription
int

START_FIELD_NUMBER

public static final int START_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Reply.Reference getDefaultInstance()
Returns
TypeDescription
Reply.Reference

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Reply.Reference.Builder newBuilder()
Returns
TypeDescription
Reply.Reference.Builder

newBuilder(Reply.Reference prototype)

public static Reply.Reference.Builder newBuilder(Reply.Reference prototype)
Parameter
NameDescription
prototypeReply.Reference
Returns
TypeDescription
Reply.Reference.Builder

parseDelimitedFrom(InputStream input)

public static Reply.Reference parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Reply.Reference
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Reply.Reference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply.Reference
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Reply.Reference parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Reply.Reference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Reply.Reference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply.Reference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Reply.Reference parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Reply.Reference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Reply.Reference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply.Reference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Reply.Reference parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Reply.Reference
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Reply.Reference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply.Reference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Reply.Reference parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Reply.Reference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Reply.Reference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply.Reference
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Reply.Reference parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Reply.Reference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Reply.Reference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Reply.Reference
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Reply.Reference> parser()
Returns
TypeDescription
Parser<Reference>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAnchorText()

public String getAnchorText()

Anchor text.

string anchor_text = 2;

Returns
TypeDescription
String

The anchorText.

getAnchorTextBytes()

public ByteString getAnchorTextBytes()

Anchor text.

string anchor_text = 2;

Returns
TypeDescription
ByteString

The bytes for anchorText.

getDefaultInstanceForType()

public Reply.Reference getDefaultInstanceForType()
Returns
TypeDescription
Reply.Reference

getEnd()

public int getEnd()

Anchor text end index.

int32 end = 4;

Returns
TypeDescription
int

The end.

getParserForType()

public Parser<Reply.Reference> getParserForType()
Returns
TypeDescription
Parser<Reference>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStart()

public int getStart()

Anchor text start index.

int32 start = 3;

Returns
TypeDescription
int

The start.

getUri()

public String getUri()

URI link reference.

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI link reference.

string uri = 1;

Returns
TypeDescription
ByteString

The bytes for uri.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Reply.Reference.Builder newBuilderForType()
Returns
TypeDescription
Reply.Reference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Reply.Reference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Reply.Reference.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Reply.Reference.Builder toBuilder()
Returns
TypeDescription
Reply.Reference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException