Class ExportFlowResponse.Builder (0.66.0)

public static final class ExportFlowResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportFlowResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportFlowResponse.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ExportFlowResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportFlowResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportFlowResponse.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportFlowResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportFlowResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExportFlowResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportFlowResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportFlowResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportFlowResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportFlowResponse.Builder
Overrides