Class ExportFlowRequest.Builder (0.13.0)

public static final class ExportFlowRequest.Builder extends GeneratedMessageV3.Builder<ExportFlowRequest.Builder> implements ExportFlowRequestOrBuilder

The request message for Flows.ExportFlow.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportFlowRequest build()
Returns
TypeDescription
ExportFlowRequest

buildPartial()

public ExportFlowRequest buildPartial()
Returns
TypeDescription
ExportFlowRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFlowUri()

public ExportFlowRequest.Builder clearFlowUri()

Optional. The Google Cloud Storage URI to export the flow to. The format of this URI must be gs://<bucket-name>/<object-name>. If left unspecified, the serialized flow is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.

string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ExportFlowRequest.Builder

This builder for chaining.

clearIncludeReferencedFlows()

public ExportFlowRequest.Builder clearIncludeReferencedFlows()

Optional. Whether to export flows referenced by the specified flow.

bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ExportFlowRequest.Builder

This builder for chaining.

clearName()

public ExportFlowRequest.Builder clearName()

Required. The name of the flow to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

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

Returns
TypeDescription
ExportFlowRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ExportFlowRequest getDefaultInstanceForType()
Returns
TypeDescription
ExportFlowRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFlowUri()

public String getFlowUri()

Optional. The Google Cloud Storage URI to export the flow to. The format of this URI must be gs://<bucket-name>/<object-name>. If left unspecified, the serialized flow is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.

string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The flowUri.

getFlowUriBytes()

public ByteString getFlowUriBytes()

Optional. The Google Cloud Storage URI to export the flow to. The format of this URI must be gs://<bucket-name>/<object-name>. If left unspecified, the serialized flow is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.

string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for flowUri.

getIncludeReferencedFlows()

public boolean getIncludeReferencedFlows()

Optional. Whether to export flows referenced by the specified flow.

bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The includeReferencedFlows.

getName()

public String getName()

Required. The name of the flow to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the flow to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportFlowRequest other)

public ExportFlowRequest.Builder mergeFrom(ExportFlowRequest other)
Parameter
NameDescription
otherExportFlowRequest
Returns
TypeDescription
ExportFlowRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFlowUri(String value)

public ExportFlowRequest.Builder setFlowUri(String value)

Optional. The Google Cloud Storage URI to export the flow to. The format of this URI must be gs://<bucket-name>/<object-name>. If left unspecified, the serialized flow is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.

string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The flowUri to set.

Returns
TypeDescription
ExportFlowRequest.Builder

This builder for chaining.

setFlowUriBytes(ByteString value)

public ExportFlowRequest.Builder setFlowUriBytes(ByteString value)

Optional. The Google Cloud Storage URI to export the flow to. The format of this URI must be gs://<bucket-name>/<object-name>. If left unspecified, the serialized flow is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control.

string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for flowUri to set.

Returns
TypeDescription
ExportFlowRequest.Builder

This builder for chaining.

setIncludeReferencedFlows(boolean value)

public ExportFlowRequest.Builder setIncludeReferencedFlows(boolean value)

Optional. Whether to export flows referenced by the specified flow.

bool include_referenced_flows = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueboolean

The includeReferencedFlows to set.

Returns
TypeDescription
ExportFlowRequest.Builder

This builder for chaining.

setName(String value)

public ExportFlowRequest.Builder setName(String value)

Required. The name of the flow to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ExportFlowRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExportFlowRequest.Builder setNameBytes(ByteString value)

Required. The name of the flow to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ExportFlowRequest.Builder

This builder for chaining.

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

public ExportFlowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExportFlowRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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