Class ImportFlowResponse.Builder (0.94.0)

public static final class ImportFlowResponse.Builder extends GeneratedMessage.Builder<ImportFlowResponse.Builder> implements ImportFlowResponseOrBuilder

The response message for Flows.ImportFlow.

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

Static Methods

getDescriptor()

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

Methods

build()

public ImportFlowResponse build()
Returns
Type Description
ImportFlowResponse

buildPartial()

public ImportFlowResponse buildPartial()
Returns
Type Description
ImportFlowResponse

clear()

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

clearFlow()

public ImportFlowResponse.Builder clearFlow()

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

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

Returns
Type Description
ImportFlowResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ImportFlowResponse getDefaultInstanceForType()
Returns
Type Description
ImportFlowResponse

getDescriptorForType()

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

getFlow()

public String getFlow()

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

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

Returns
Type Description
String

The flow.

getFlowBytes()

public ByteString getFlowBytes()

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

string flow = 1 [(.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(ImportFlowResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFlow(String value)

public ImportFlowResponse.Builder setFlow(String value)

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

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

Parameter
Name Description
value String

The flow to set.

Returns
Type Description
ImportFlowResponse.Builder

This builder for chaining.

setFlowBytes(ByteString value)

public ImportFlowResponse.Builder setFlowBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for flow to set.

Returns
Type Description
ImportFlowResponse.Builder

This builder for chaining.