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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportFlowRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ExportFlowRequest build()
Returns
buildPartial()
public ExportFlowRequest buildPartial()
Returns
clear()
public ExportFlowRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ExportFlowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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.
string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
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
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportFlowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ExportFlowRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ExportFlowRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.
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.
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()
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
Type |
Description |
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ExportFlowRequest other)
public ExportFlowRequest.Builder mergeFrom(ExportFlowRequest other)
Parameter
Returns
public ExportFlowRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ExportFlowRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportFlowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ExportFlowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
value |
String
The flowUri to set.
|
Returns
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.
string flow_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name |
Description |
value |
ByteString
The bytes for flowUri to set.
|
Returns
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
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
Name |
Description |
value |
String
The name to set.
|
Returns
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
Name |
Description |
value |
ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportFlowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportFlowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides