- 0.66.0 (latest)
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class ImportFlowRequest.Builder extends GeneratedMessageV3.Builder<ImportFlowRequest.Builder> implements ImportFlowRequestOrBuilder
The request message for Flows.ImportFlow.
Protobuf type google.cloud.dialogflow.cx.v3.ImportFlowRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportFlowRequest.BuilderImplements
ImportFlowRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportFlowRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ImportFlowRequest.Builder |
build()
public ImportFlowRequest build()
Type | Description |
ImportFlowRequest |
buildPartial()
public ImportFlowRequest buildPartial()
Type | Description |
ImportFlowRequest |
clear()
public ImportFlowRequest.Builder clear()
Type | Description |
ImportFlowRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ImportFlowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ImportFlowRequest.Builder |
clearFlow()
public ImportFlowRequest.Builder clearFlow()
Type | Description |
ImportFlowRequest.Builder |
clearFlowContent()
public ImportFlowRequest.Builder clearFlowContent()
Uncompressed raw byte content for flow.
bytes flow_content = 3;
Type | Description |
ImportFlowRequest.Builder | This builder for chaining. |
clearFlowUri()
public ImportFlowRequest.Builder clearFlowUri()
The Google Cloud Storage URI
to import flow from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have read permissions for the object. For more information, see
Dialogflow access
control.
string flow_uri = 2;
Type | Description |
ImportFlowRequest.Builder | This builder for chaining. |
clearImportOption()
public ImportFlowRequest.Builder clearImportOption()
Flow import mode. If not specified, KEEP
is assumed.
.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4;
Type | Description |
ImportFlowRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportFlowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ImportFlowRequest.Builder |
clearParent()
public ImportFlowRequest.Builder clearParent()
Required. The agent to import the flow into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ImportFlowRequest.Builder | This builder for chaining. |
clone()
public ImportFlowRequest.Builder clone()
Type | Description |
ImportFlowRequest.Builder |
getDefaultInstanceForType()
public ImportFlowRequest getDefaultInstanceForType()
Type | Description |
ImportFlowRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFlowCase()
public ImportFlowRequest.FlowCase getFlowCase()
Type | Description |
ImportFlowRequest.FlowCase |
getFlowContent()
public ByteString getFlowContent()
Uncompressed raw byte content for flow.
bytes flow_content = 3;
Type | Description |
ByteString | The flowContent. |
getFlowUri()
public String getFlowUri()
The Google Cloud Storage URI
to import flow from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have read permissions for the object. For more information, see
Dialogflow access
control.
string flow_uri = 2;
Type | Description |
String | The flowUri. |
getFlowUriBytes()
public ByteString getFlowUriBytes()
The Google Cloud Storage URI
to import flow from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have read permissions for the object. For more information, see
Dialogflow access
control.
string flow_uri = 2;
Type | Description |
ByteString | The bytes for flowUri. |
getImportOption()
public ImportFlowRequest.ImportOption getImportOption()
Flow import mode. If not specified, KEEP
is assumed.
.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4;
Type | Description |
ImportFlowRequest.ImportOption | The importOption. |
getImportOptionValue()
public int getImportOptionValue()
Flow import mode. If not specified, KEEP
is assumed.
.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4;
Type | Description |
int | The enum numeric value on the wire for importOption. |
getParent()
public String getParent()
Required. The agent to import the flow into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The agent to import the flow into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
hasFlowContent()
public boolean hasFlowContent()
Uncompressed raw byte content for flow.
bytes flow_content = 3;
Type | Description |
boolean | Whether the flowContent field is set. |
hasFlowUri()
public boolean hasFlowUri()
The Google Cloud Storage URI
to import flow from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have read permissions for the object. For more information, see
Dialogflow access
control.
string flow_uri = 2;
Type | Description |
boolean | Whether the flowUri field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ImportFlowRequest other)
public ImportFlowRequest.Builder mergeFrom(ImportFlowRequest other)
Name | Description |
other | ImportFlowRequest |
Type | Description |
ImportFlowRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportFlowRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ImportFlowRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ImportFlowRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ImportFlowRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportFlowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ImportFlowRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ImportFlowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ImportFlowRequest.Builder |
setFlowContent(ByteString value)
public ImportFlowRequest.Builder setFlowContent(ByteString value)
Uncompressed raw byte content for flow.
bytes flow_content = 3;
Name | Description |
value | ByteString The flowContent to set. |
Type | Description |
ImportFlowRequest.Builder | This builder for chaining. |
setFlowUri(String value)
public ImportFlowRequest.Builder setFlowUri(String value)
The Google Cloud Storage URI
to import flow from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have read permissions for the object. For more information, see
Dialogflow access
control.
string flow_uri = 2;
Name | Description |
value | String The flowUri to set. |
Type | Description |
ImportFlowRequest.Builder | This builder for chaining. |
setFlowUriBytes(ByteString value)
public ImportFlowRequest.Builder setFlowUriBytes(ByteString value)
The Google Cloud Storage URI
to import flow from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have read permissions for the object. For more information, see
Dialogflow access
control.
string flow_uri = 2;
Name | Description |
value | ByteString The bytes for flowUri to set. |
Type | Description |
ImportFlowRequest.Builder | This builder for chaining. |
setImportOption(ImportFlowRequest.ImportOption value)
public ImportFlowRequest.Builder setImportOption(ImportFlowRequest.ImportOption value)
Flow import mode. If not specified, KEEP
is assumed.
.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4;
Name | Description |
value | ImportFlowRequest.ImportOption The importOption to set. |
Type | Description |
ImportFlowRequest.Builder | This builder for chaining. |
setImportOptionValue(int value)
public ImportFlowRequest.Builder setImportOptionValue(int value)
Flow import mode. If not specified, KEEP
is assumed.
.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption import_option = 4;
Name | Description |
value | int The enum numeric value on the wire for importOption to set. |
Type | Description |
ImportFlowRequest.Builder | This builder for chaining. |
setParent(String value)
public ImportFlowRequest.Builder setParent(String value)
Required. The agent to import the flow into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
ImportFlowRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public ImportFlowRequest.Builder setParentBytes(ByteString value)
Required. The agent to import the flow into.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
ImportFlowRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportFlowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ImportFlowRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportFlowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ImportFlowRequest.Builder |