Class ExportFlowResponse.Builder (0.94.0)

public static final class ExportFlowResponse.Builder extends GeneratedMessage.Builder<ExportFlowResponse.Builder> implements ExportFlowResponseOrBuilder

The response message for Flows.ExportFlow.

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

Static Methods

getDescriptor()

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

Methods

build()

public ExportFlowResponse build()
Returns
Type Description
ExportFlowResponse

buildPartial()

public ExportFlowResponse buildPartial()
Returns
Type Description
ExportFlowResponse

clear()

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

clearFlow()

public ExportFlowResponse.Builder clearFlow()
Returns
Type Description
ExportFlowResponse.Builder

clearFlowContent()

public ExportFlowResponse.Builder clearFlowContent()

Uncompressed raw byte content for flow.

bytes flow_content = 2;

Returns
Type Description
ExportFlowResponse.Builder

This builder for chaining.

clearFlowUri()

public ExportFlowResponse.Builder clearFlowUri()

The URI to a file containing the exported flow. This field is populated only if flow_uri is specified in ExportFlowRequest.

string flow_uri = 1;

Returns
Type Description
ExportFlowResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExportFlowResponse getDefaultInstanceForType()
Returns
Type Description
ExportFlowResponse

getDescriptorForType()

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

getFlowCase()

public ExportFlowResponse.FlowCase getFlowCase()
Returns
Type Description
ExportFlowResponse.FlowCase

getFlowContent()

public ByteString getFlowContent()

Uncompressed raw byte content for flow.

bytes flow_content = 2;

Returns
Type Description
ByteString

The flowContent.

getFlowUri()

public String getFlowUri()

The URI to a file containing the exported flow. This field is populated only if flow_uri is specified in ExportFlowRequest.

string flow_uri = 1;

Returns
Type Description
String

The flowUri.

getFlowUriBytes()

public ByteString getFlowUriBytes()

The URI to a file containing the exported flow. This field is populated only if flow_uri is specified in ExportFlowRequest.

string flow_uri = 1;

Returns
Type Description
ByteString

The bytes for flowUri.

hasFlowContent()

public boolean hasFlowContent()

Uncompressed raw byte content for flow.

bytes flow_content = 2;

Returns
Type Description
boolean

Whether the flowContent field is set.

hasFlowUri()

public boolean hasFlowUri()

The URI to a file containing the exported flow. This field is populated only if flow_uri is specified in ExportFlowRequest.

string flow_uri = 1;

Returns
Type Description
boolean

Whether the flowUri field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportFlowResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFlowContent(ByteString value)

public ExportFlowResponse.Builder setFlowContent(ByteString value)

Uncompressed raw byte content for flow.

bytes flow_content = 2;

Parameter
Name Description
value ByteString

The flowContent to set.

Returns
Type Description
ExportFlowResponse.Builder

This builder for chaining.

setFlowUri(String value)

public ExportFlowResponse.Builder setFlowUri(String value)

The URI to a file containing the exported flow. This field is populated only if flow_uri is specified in ExportFlowRequest.

string flow_uri = 1;

Parameter
Name Description
value String

The flowUri to set.

Returns
Type Description
ExportFlowResponse.Builder

This builder for chaining.

setFlowUriBytes(ByteString value)

public ExportFlowResponse.Builder setFlowUriBytes(ByteString value)

The URI to a file containing the exported flow. This field is populated only if flow_uri is specified in ExportFlowRequest.

string flow_uri = 1;

Parameter
Name Description
value ByteString

The bytes for flowUri to set.

Returns
Type Description
ExportFlowResponse.Builder

This builder for chaining.