Class ExportFlowRequest.Builder (0.66.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportFlowRequest build()
Returns
Type Description
ExportFlowRequest

buildPartial()

public ExportFlowRequest buildPartial()
Returns
Type Description
ExportFlowRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearName()

public ExportFlowRequest.Builder clearName()

Required. The name of the flow to export. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

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

Returns
Type Description
ExportFlowRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ExportFlowRequest getDefaultInstanceForType()
Returns
Type Description
ExportFlowRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

The includeReferencedFlows.

getName()

public String getName()

Required. The name of the flow to export. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the flow to export. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportFlowRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The flowUri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for flowUri to set.

Returns
Type Description
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
Name Description
value boolean

The includeReferencedFlows to set.

Returns
Type Description
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportFlowRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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