public static final class PlaybookTraceMetadata.Builder extends GeneratedMessage.Builder<PlaybookTraceMetadata.Builder> implements PlaybookTraceMetadataOrBuilderMetadata of the playbook trace.
Protobuf type google.cloud.dialogflow.cx.v3beta1.PlaybookTraceMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PlaybookTraceMetadata.BuilderImplements
PlaybookTraceMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PlaybookTraceMetadata build()| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata |
|
buildPartial()
public PlaybookTraceMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata |
|
clear()
public PlaybookTraceMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata.Builder |
|
clearDisplayName()
public PlaybookTraceMetadata.Builder clearDisplayName()Output only. The display name of the playbook.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata.Builder |
This builder for chaining. |
clearPlaybook()
public PlaybookTraceMetadata.Builder clearPlaybook() Required. The unique identifier of the playbook.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.
string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PlaybookTraceMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. The display name of the playbook.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. The display name of the playbook.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getPlaybook()
public String getPlaybook() Required. The unique identifier of the playbook.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.
string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The playbook. |
getPlaybookBytes()
public ByteString getPlaybookBytes() Required. The unique identifier of the playbook.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.
string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for playbook. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PlaybookTraceMetadata other)
public PlaybookTraceMetadata.Builder mergeFrom(PlaybookTraceMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
PlaybookTraceMetadata |
| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PlaybookTraceMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PlaybookTraceMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata.Builder |
|
setDisplayName(String value)
public PlaybookTraceMetadata.Builder setDisplayName(String value)Output only. The display name of the playbook.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public PlaybookTraceMetadata.Builder setDisplayNameBytes(ByteString value)Output only. The display name of the playbook.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata.Builder |
This builder for chaining. |
setPlaybook(String value)
public PlaybookTraceMetadata.Builder setPlaybook(String value) Required. The unique identifier of the playbook.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.
string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe playbook to set. |
| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata.Builder |
This builder for chaining. |
setPlaybookBytes(ByteString value)
public PlaybookTraceMetadata.Builder setPlaybookBytes(ByteString value) Required. The unique identifier of the playbook.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>.
string playbook = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for playbook to set. |
| Returns | |
|---|---|
| Type | Description |
PlaybookTraceMetadata.Builder |
This builder for chaining. |