Class PlaybookTraceMetadata.Builder (0.102.0)

public static final class PlaybookTraceMetadata.Builder extends GeneratedMessage.Builder<PlaybookTraceMetadata.Builder> implements PlaybookTraceMetadataOrBuilder

Metadata of the playbook trace.

Protobuf type google.cloud.dialogflow.cx.v3.PlaybookTraceMetadata

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for playbook to set.

Returns
Type Description
PlaybookTraceMetadata.Builder

This builder for chaining.