Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class Reference.
Defines reference in reply.
Generated from protobuf message google.cloud.discoveryengine.v1beta.Reply.Reference
Namespace
Google \ Cloud \ DiscoveryEngine \ V1beta \ ReplyMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uri |
string
URI link reference. |
↳ anchor_text |
string
Anchor text. |
↳ start |
int
Anchor text start index. |
↳ end |
int
Anchor text end index. |
getUri
URI link reference.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUri
URI link reference.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAnchorText
Anchor text.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAnchorText
Anchor text.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStart
Anchor text start index.
| Returns | |
|---|---|
| Type | Description |
int |
|
setStart
Anchor text start index.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEnd
Anchor text end index.
| Returns | |
|---|---|
| Type | Description |
int |
|
setEnd
Anchor text end index.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|