Class Reply.Reference.Builder (0.43.0)

public static final class Reply.Reference.Builder extends GeneratedMessageV3.Builder<Reply.Reference.Builder> implements Reply.ReferenceOrBuilder

Defines reference in reply.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Reply.Reference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Reply.Reference.Builder
Overrides

build()

public Reply.Reference build()
Returns
Type Description
Reply.Reference

buildPartial()

public Reply.Reference buildPartial()
Returns
Type Description
Reply.Reference

clear()

public Reply.Reference.Builder clear()
Returns
Type Description
Reply.Reference.Builder
Overrides

clearAnchorText()

public Reply.Reference.Builder clearAnchorText()

Anchor text.

string anchor_text = 2;

Returns
Type Description
Reply.Reference.Builder

This builder for chaining.

clearEnd()

public Reply.Reference.Builder clearEnd()

Anchor text end index.

int32 end = 4;

Returns
Type Description
Reply.Reference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Reply.Reference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Reply.Reference.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Reply.Reference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Reply.Reference.Builder
Overrides

clearStart()

public Reply.Reference.Builder clearStart()

Anchor text start index.

int32 start = 3;

Returns
Type Description
Reply.Reference.Builder

This builder for chaining.

clearUri()

public Reply.Reference.Builder clearUri()

URI link reference.

string uri = 1;

Returns
Type Description
Reply.Reference.Builder

This builder for chaining.

clone()

public Reply.Reference.Builder clone()
Returns
Type Description
Reply.Reference.Builder
Overrides

getAnchorText()

public String getAnchorText()

Anchor text.

string anchor_text = 2;

Returns
Type Description
String

The anchorText.

getAnchorTextBytes()

public ByteString getAnchorTextBytes()

Anchor text.

string anchor_text = 2;

Returns
Type Description
ByteString

The bytes for anchorText.

getDefaultInstanceForType()

public Reply.Reference getDefaultInstanceForType()
Returns
Type Description
Reply.Reference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnd()

public int getEnd()

Anchor text end index.

int32 end = 4;

Returns
Type Description
int

The end.

getStart()

public int getStart()

Anchor text start index.

int32 start = 3;

Returns
Type Description
int

The start.

getUri()

public String getUri()

URI link reference.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI link reference.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Reply.Reference other)

public Reply.Reference.Builder mergeFrom(Reply.Reference other)
Parameter
Name Description
other Reply.Reference
Returns
Type Description
Reply.Reference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Reply.Reference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Reply.Reference.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Reply.Reference.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Reply.Reference.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Reply.Reference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Reply.Reference.Builder
Overrides

setAnchorText(String value)

public Reply.Reference.Builder setAnchorText(String value)

Anchor text.

string anchor_text = 2;

Parameter
Name Description
value String

The anchorText to set.

Returns
Type Description
Reply.Reference.Builder

This builder for chaining.

setAnchorTextBytes(ByteString value)

public Reply.Reference.Builder setAnchorTextBytes(ByteString value)

Anchor text.

string anchor_text = 2;

Parameter
Name Description
value ByteString

The bytes for anchorText to set.

Returns
Type Description
Reply.Reference.Builder

This builder for chaining.

setEnd(int value)

public Reply.Reference.Builder setEnd(int value)

Anchor text end index.

int32 end = 4;

Parameter
Name Description
value int

The end to set.

Returns
Type Description
Reply.Reference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Reply.Reference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Reply.Reference.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Reply.Reference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Reply.Reference.Builder
Overrides

setStart(int value)

public Reply.Reference.Builder setStart(int value)

Anchor text start index.

int32 start = 3;

Parameter
Name Description
value int

The start to set.

Returns
Type Description
Reply.Reference.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Reply.Reference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Reply.Reference.Builder
Overrides

setUri(String value)

public Reply.Reference.Builder setUri(String value)

URI link reference.

string uri = 1;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
Reply.Reference.Builder

This builder for chaining.

setUriBytes(ByteString value)

public Reply.Reference.Builder setUriBytes(ByteString value)

URI link reference.

string uri = 1;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
Reply.Reference.Builder

This builder for chaining.