Class FlowTraceMetadata.Builder (0.102.0)

public static final class FlowTraceMetadata.Builder extends GeneratedMessage.Builder<FlowTraceMetadata.Builder> implements FlowTraceMetadataOrBuilder

Metadata of the flow trace.

Protobuf type google.cloud.dialogflow.cx.v3beta1.FlowTraceMetadata

Static Methods

getDescriptor()

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

Methods

build()

public FlowTraceMetadata build()
Returns
Type Description
FlowTraceMetadata

buildPartial()

public FlowTraceMetadata buildPartial()
Returns
Type Description
FlowTraceMetadata

clear()

public FlowTraceMetadata.Builder clear()
Returns
Type Description
FlowTraceMetadata.Builder
Overrides

clearDisplayName()

public FlowTraceMetadata.Builder clearDisplayName()

Output only. The display name of the flow.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlowTraceMetadata.Builder

This builder for chaining.

clearFlow()

public FlowTraceMetadata.Builder clearFlow()

Required. The unique identifier of the flow. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
FlowTraceMetadata.Builder

This builder for chaining.

getDefaultInstanceForType()

public FlowTraceMetadata getDefaultInstanceForType()
Returns
Type Description
FlowTraceMetadata

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Output only. The display name of the flow.

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 flow.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getFlow()

public String getFlow()

Required. The unique identifier of the flow. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The flow.

getFlowBytes()

public ByteString getFlowBytes()

Required. The unique identifier of the flow. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for flow.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FlowTraceMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDisplayName(String value)

public FlowTraceMetadata.Builder setDisplayName(String value)

Output only. The display name of the flow.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
FlowTraceMetadata.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public FlowTraceMetadata.Builder setDisplayNameBytes(ByteString value)

Output only. The display name of the flow.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
FlowTraceMetadata.Builder

This builder for chaining.

setFlow(String value)

public FlowTraceMetadata.Builder setFlow(String value)

Required. The unique identifier of the flow. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The flow to set.

Returns
Type Description
FlowTraceMetadata.Builder

This builder for chaining.

setFlowBytes(ByteString value)

public FlowTraceMetadata.Builder setFlowBytes(ByteString value)

Required. The unique identifier of the flow. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

string flow = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for flow to set.

Returns
Type Description
FlowTraceMetadata.Builder

This builder for chaining.