- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportFlowRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
build()
public ImportFlowRequest build()
Returns | |
---|---|
Type | Description |
ImportFlowRequest |
buildPartial()
public ImportFlowRequest buildPartial()
Returns | |
---|---|
Type | Description |
ImportFlowRequest |
clear()
public ImportFlowRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ImportFlowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
clearFlow()
public ImportFlowRequest.Builder clearFlow()
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
clearFlowContent()
public ImportFlowRequest.Builder clearFlowContent()
Uncompressed raw byte content for flow.
bytes flow_content = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportFlowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
This builder for chaining. |
clone()
public ImportFlowRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
getDefaultInstanceForType()
public ImportFlowRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ImportFlowRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFlowCase()
public ImportFlowRequest.FlowCase getFlowCase()
Returns | |
---|---|
Type | Description |
ImportFlowRequest.FlowCase |
getFlowContent()
public ByteString getFlowContent()
Uncompressed raw byte content for flow.
bytes flow_content = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
hasFlowContent()
public boolean hasFlowContent()
Uncompressed raw byte content for flow.
bytes flow_content = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the flowUri field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ImportFlowRequest other)
public ImportFlowRequest.Builder mergeFrom(ImportFlowRequest other)
Parameter | |
---|---|
Name | Description |
other |
ImportFlowRequest |
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportFlowRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ImportFlowRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportFlowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ImportFlowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
setFlowContent(ByteString value)
public ImportFlowRequest.Builder setFlowContent(ByteString value)
Uncompressed raw byte content for flow.
bytes flow_content = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The flowContent to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The flowUri to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for flowUri to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ImportFlowRequest.ImportOption The importOption to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for importOption to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportFlowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportFlowRequest.Builder |