- 0.64.0 (latest)
- 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 ExportAgentRequest.Builder extends GeneratedMessageV3.Builder<ExportAgentRequest.Builder> implements ExportAgentRequestOrBuilder
The request message for Agents.ExportAgent.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExportAgentRequest.BuilderImplements
ExportAgentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportAgentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
build()
public ExportAgentRequest build()
Returns | |
---|---|
Type | Description |
ExportAgentRequest |
buildPartial()
public ExportAgentRequest buildPartial()
Returns | |
---|---|
Type | Description |
ExportAgentRequest |
clear()
public ExportAgentRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
clearAgentUri()
public ExportAgentRequest.Builder clearAgentUri()
Optional. The Google Cloud
Storage URI to export the agent
to. The format of this URI must be gs://<bucket-name>/<object-name>
. If
left unspecified, the serialized agent 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 agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
clearDataFormat()
public ExportAgentRequest.Builder clearDataFormat()
Optional. The data format of the exported agent. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.DataFormat data_format = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
clearEnvironment()
public ExportAgentRequest.Builder clearEnvironment()
Optional. Environment name. If not set, draft environment is assumed.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment ID>
.
string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ExportAgentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
clearGitDestination()
public ExportAgentRequest.Builder clearGitDestination()
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
clearIncludeBigqueryExportSettings()
public ExportAgentRequest.Builder clearIncludeBigqueryExportSettings()
Optional. Whether to include BigQuery Export setting.
bool include_bigquery_export_settings = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
clearName()
public ExportAgentRequest.Builder clearName()
Required. The name of the agent to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportAgentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
clone()
public ExportAgentRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
getAgentUri()
public String getAgentUri()
Optional. The Google Cloud
Storage URI to export the agent
to. The format of this URI must be gs://<bucket-name>/<object-name>
. If
left unspecified, the serialized agent 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 agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The agentUri. |
getAgentUriBytes()
public ByteString getAgentUriBytes()
Optional. The Google Cloud
Storage URI to export the agent
to. The format of this URI must be gs://<bucket-name>/<object-name>
. If
left unspecified, the serialized agent 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 agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for agentUri. |
getDataFormat()
public ExportAgentRequest.DataFormat getDataFormat()
Optional. The data format of the exported agent. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.DataFormat data_format = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportAgentRequest.DataFormat |
The dataFormat. |
getDataFormatValue()
public int getDataFormatValue()
Optional. The data format of the exported agent. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.DataFormat data_format = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for dataFormat. |
getDefaultInstanceForType()
public ExportAgentRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExportAgentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnvironment()
public String getEnvironment()
Optional. Environment name. If not set, draft environment is assumed.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment ID>
.
string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The environment. |
getEnvironmentBytes()
public ByteString getEnvironmentBytes()
Optional. Environment name. If not set, draft environment is assumed.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment ID>
.
string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for environment. |
getGitDestination()
public ExportAgentRequest.GitDestination getGitDestination()
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportAgentRequest.GitDestination |
The gitDestination. |
getGitDestinationBuilder()
public ExportAgentRequest.GitDestination.Builder getGitDestinationBuilder()
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportAgentRequest.GitDestination.Builder |
getGitDestinationOrBuilder()
public ExportAgentRequest.GitDestinationOrBuilder getGitDestinationOrBuilder()
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ExportAgentRequest.GitDestinationOrBuilder |
getIncludeBigqueryExportSettings()
public boolean getIncludeBigqueryExportSettings()
Optional. Whether to include BigQuery Export setting.
bool include_bigquery_export_settings = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The includeBigqueryExportSettings. |
getName()
public String getName()
Required. The name of the agent to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent 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 agent to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
hasGitDestination()
public boolean hasGitDestination()
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the gitDestination field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ExportAgentRequest other)
public ExportAgentRequest.Builder mergeFrom(ExportAgentRequest other)
Parameter | |
---|---|
Name | Description |
other |
ExportAgentRequest |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportAgentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExportAgentRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
mergeGitDestination(ExportAgentRequest.GitDestination value)
public ExportAgentRequest.Builder mergeGitDestination(ExportAgentRequest.GitDestination value)
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ExportAgentRequest.GitDestination |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportAgentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
setAgentUri(String value)
public ExportAgentRequest.Builder setAgentUri(String value)
Optional. The Google Cloud
Storage URI to export the agent
to. The format of this URI must be gs://<bucket-name>/<object-name>
. If
left unspecified, the serialized agent 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 agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The agentUri to set. |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
setAgentUriBytes(ByteString value)
public ExportAgentRequest.Builder setAgentUriBytes(ByteString value)
Optional. The Google Cloud
Storage URI to export the agent
to. The format of this URI must be gs://<bucket-name>/<object-name>
. If
left unspecified, the serialized agent 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 agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for agentUri to set. |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
setDataFormat(ExportAgentRequest.DataFormat value)
public ExportAgentRequest.Builder setDataFormat(ExportAgentRequest.DataFormat value)
Optional. The data format of the exported agent. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.DataFormat data_format = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ExportAgentRequest.DataFormat The dataFormat to set. |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
setDataFormatValue(int value)
public ExportAgentRequest.Builder setDataFormatValue(int value)
Optional. The data format of the exported agent. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.DataFormat data_format = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for dataFormat to set. |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
setEnvironment(String value)
public ExportAgentRequest.Builder setEnvironment(String value)
Optional. Environment name. If not set, draft environment is assumed.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment ID>
.
string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The environment to set. |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
setEnvironmentBytes(ByteString value)
public ExportAgentRequest.Builder setEnvironmentBytes(ByteString value)
Optional. Environment name. If not set, draft environment is assumed.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/environments/<Environment ID>
.
string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for environment to set. |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ExportAgentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
setGitDestination(ExportAgentRequest.GitDestination value)
public ExportAgentRequest.Builder setGitDestination(ExportAgentRequest.GitDestination value)
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ExportAgentRequest.GitDestination |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
setGitDestination(ExportAgentRequest.GitDestination.Builder builderForValue)
public ExportAgentRequest.Builder setGitDestination(ExportAgentRequest.GitDestination.Builder builderForValue)
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
ExportAgentRequest.GitDestination.Builder |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
setIncludeBigqueryExportSettings(boolean value)
public ExportAgentRequest.Builder setIncludeBigqueryExportSettings(boolean value)
Optional. Whether to include BigQuery Export setting.
bool include_bigquery_export_settings = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The includeBigqueryExportSettings to set. |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
setName(String value)
public ExportAgentRequest.Builder setName(String value)
Required. The name of the agent to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ExportAgentRequest.Builder setNameBytes(ByteString value)
Required. The name of the agent to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent 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 | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportAgentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportAgentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportAgentRequest.Builder |