Class ExportFlowResponse.Builder (0.14.1)

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.v3beta1.ExportFlowResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportFlowResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportFlowResponse.Builder
Overrides

build()

public ExportFlowResponse build()
Returns
TypeDescription
ExportFlowResponse

buildPartial()

public ExportFlowResponse buildPartial()
Returns
TypeDescription
ExportFlowResponse

clear()

public ExportFlowResponse.Builder clear()
Returns
TypeDescription
ExportFlowResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExportFlowResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExportFlowResponse.Builder
Overrides

clearFlow()

public ExportFlowResponse.Builder clearFlow()
Returns
TypeDescription
ExportFlowResponse.Builder

clearFlowContent()

public ExportFlowResponse.Builder clearFlowContent()

Uncompressed raw byte content for flow.

bytes flow_content = 2;

Returns
TypeDescription
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
TypeDescription
ExportFlowResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportFlowResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExportFlowResponse.Builder
Overrides

clone()

public ExportFlowResponse.Builder clone()
Returns
TypeDescription
ExportFlowResponse.Builder
Overrides

getDefaultInstanceForType()

public ExportFlowResponse getDefaultInstanceForType()
Returns
TypeDescription
ExportFlowResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFlowCase()

public ExportFlowResponse.FlowCase getFlowCase()
Returns
TypeDescription
ExportFlowResponse.FlowCase

getFlowContent()

public ByteString getFlowContent()

Uncompressed raw byte content for flow.

bytes flow_content = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for flowUri.

hasFlowContent()

public boolean hasFlowContent()

Uncompressed raw byte content for flow.

bytes flow_content = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the flowUri field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportFlowResponse other)

public ExportFlowResponse.Builder mergeFrom(ExportFlowResponse other)
Parameter
NameDescription
otherExportFlowResponse
Returns
TypeDescription
ExportFlowResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportFlowResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportFlowResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExportFlowResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExportFlowResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportFlowResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportFlowResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExportFlowResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportFlowResponse.Builder
Overrides

setFlowContent(ByteString value)

public ExportFlowResponse.Builder setFlowContent(ByteString value)

Uncompressed raw byte content for flow.

bytes flow_content = 2;

Parameter
NameDescription
valueByteString

The flowContent to set.

Returns
TypeDescription
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
NameDescription
valueString

The flowUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for flowUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExportFlowResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportFlowResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportFlowResponse.Builder
Overrides