public static final class ExportAgentRequest.Builder extends GeneratedMessageV3.Builder<ExportAgentRequest.Builder> implements ExportAgentRequestOrBuilderThe request message for Agents.ExportAgent.
Protobuf type google.cloud.dialogflow.cx.v3.ExportAgentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExportAgentRequest.BuilderImplements
ExportAgentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportAgentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ExportAgentRequest.Builder |
build()
public ExportAgentRequest build()| Type | Description |
| ExportAgentRequest |
buildPartial()
public ExportAgentRequest buildPartial()| Type | Description |
| ExportAgentRequest |
clear()
public ExportAgentRequest.Builder clear()| 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.
string agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| 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) = { ... }
| Type | Description |
| ExportAgentRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ExportAgentRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| ExportAgentRequest.Builder |
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) = { ... }
| Type | Description |
| ExportAgentRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportAgentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| ExportAgentRequest.Builder |
clone()
public ExportAgentRequest.Builder clone()| 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.
string agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| 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.
string agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| ByteString | The bytes for agentUri. |
getDefaultInstanceForType()
public ExportAgentRequest getDefaultInstanceForType()| Type | Description |
| ExportAgentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| 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) = { ... }
| 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) = { ... }
| Type | Description |
| ByteString | The bytes for environment. |
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) = { ... }
| 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) = { ... }
| Type | Description |
| ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(ExportAgentRequest other)
public ExportAgentRequest.Builder mergeFrom(ExportAgentRequest other)| Name | Description |
| other | ExportAgentRequest |
| Type | Description |
| ExportAgentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportAgentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ExportAgentRequest.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ExportAgentRequest.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| ExportAgentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportAgentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| 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.
string agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| value | StringThe agentUri to set. |
| 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.
string agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| value | ByteStringThe bytes for agentUri to set. |
| 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) = { ... }
| Name | Description |
| value | StringThe environment to set. |
| 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) = { ... }
| Name | Description |
| value | ByteStringThe bytes for environment to set. |
| Type | Description |
| ExportAgentRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ExportAgentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ExportAgentRequest.Builder |
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) = { ... }
| Name | Description |
| value | StringThe name to set. |
| 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) = { ... }
| Name | Description |
| value | ByteStringThe bytes for name to set. |
| 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)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| ExportAgentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportAgentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ExportAgentRequest.Builder |