public static final class ExportAgentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder> implements ExportAgentRequestOrBuilder
The request message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent].Protobuf type
google.cloud.dialogflow.cx.v3.ExportAgentRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder>public ExportAgentRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder>public ExportAgentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExportAgentRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExportAgentRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExportAgentRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder>public ExportAgentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder>public ExportAgentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder>public ExportAgentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder>public ExportAgentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder>public ExportAgentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder>public ExportAgentRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportAgentRequest.Builder>public ExportAgentRequest.Builder mergeFrom(ExportAgentRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder>public ExportAgentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportAgentRequest.Builder>IOExceptionpublic String getName()
Required. The name of the agent to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface ExportAgentRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The name of the agent to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface ExportAgentRequestOrBuilderpublic ExportAgentRequest.Builder setName(String value)
Required. The name of the agent to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public ExportAgentRequest.Builder clearName()
Required. The name of the agent to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ExportAgentRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The name of the agent to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public String getAgentUri()
Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];getAgentUri in interface ExportAgentRequestOrBuilderpublic com.google.protobuf.ByteString getAgentUriBytes()
Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];getAgentUriBytes in interface ExportAgentRequestOrBuilderpublic ExportAgentRequest.Builder setAgentUri(String value)
Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];value - The agentUri to set.public ExportAgentRequest.Builder clearAgentUri()
Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];public ExportAgentRequest.Builder setAgentUriBytes(com.google.protobuf.ByteString value)
Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string agent_uri = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for agentUri to set.public int getDataFormatValue()
Optional. The data format of the exported agent. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat data_format = 3 [(.google.api.field_behavior) = OPTIONAL];
getDataFormatValue in interface ExportAgentRequestOrBuilderpublic ExportAgentRequest.Builder setDataFormatValue(int value)
Optional. The data format of the exported agent. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat data_format = 3 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for dataFormat to set.public ExportAgentRequest.DataFormat getDataFormat()
Optional. The data format of the exported agent. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat data_format = 3 [(.google.api.field_behavior) = OPTIONAL];
getDataFormat in interface ExportAgentRequestOrBuilderpublic ExportAgentRequest.Builder setDataFormat(ExportAgentRequest.DataFormat value)
Optional. The data format of the exported agent. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat data_format = 3 [(.google.api.field_behavior) = OPTIONAL];
value - The dataFormat to set.public ExportAgentRequest.Builder clearDataFormat()
Optional. The data format of the exported agent. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat data_format = 3 [(.google.api.field_behavior) = OPTIONAL];
public String getEnvironment()
Optional. Environment name. If not set, draft environment is assumed. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`.
string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getEnvironment in interface ExportAgentRequestOrBuilderpublic com.google.protobuf.ByteString getEnvironmentBytes()
Optional. Environment name. If not set, draft environment is assumed. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`.
string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getEnvironmentBytes in interface ExportAgentRequestOrBuilderpublic ExportAgentRequest.Builder setEnvironment(String value)
Optional. Environment name. If not set, draft environment is assumed. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`.
string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
value - The environment to set.public ExportAgentRequest.Builder clearEnvironment()
Optional. Environment name. If not set, draft environment is assumed. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`.
string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
public ExportAgentRequest.Builder setEnvironmentBytes(com.google.protobuf.ByteString value)
Optional. Environment name. If not set, draft environment is assumed. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`.
string environment = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
value - The bytes for environment to set.public boolean hasGitDestination()
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
hasGitDestination in interface ExportAgentRequestOrBuilderpublic ExportAgentRequest.GitDestination getGitDestination()
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
getGitDestination in interface ExportAgentRequestOrBuilderpublic ExportAgentRequest.Builder setGitDestination(ExportAgentRequest.GitDestination value)
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
public ExportAgentRequest.Builder setGitDestination(ExportAgentRequest.GitDestination.Builder builderForValue)
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
public ExportAgentRequest.Builder mergeGitDestination(ExportAgentRequest.GitDestination value)
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
public ExportAgentRequest.Builder clearGitDestination()
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
public ExportAgentRequest.GitDestination.Builder getGitDestinationBuilder()
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
public ExportAgentRequest.GitDestinationOrBuilder getGitDestinationOrBuilder()
Optional. The Git branch to export the agent to.
.google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestination git_destination = 6 [(.google.api.field_behavior) = OPTIONAL];
getGitDestinationOrBuilder in interface ExportAgentRequestOrBuilderpublic boolean getIncludeBigqueryExportSettings()
Optional. Whether to include BigQuery Export setting.
bool include_bigquery_export_settings = 7 [(.google.api.field_behavior) = OPTIONAL];
getIncludeBigqueryExportSettings in interface ExportAgentRequestOrBuilderpublic ExportAgentRequest.Builder setIncludeBigqueryExportSettings(boolean value)
Optional. Whether to include BigQuery Export setting.
bool include_bigquery_export_settings = 7 [(.google.api.field_behavior) = OPTIONAL];
value - The includeBigqueryExportSettings to set.public ExportAgentRequest.Builder clearIncludeBigqueryExportSettings()
Optional. Whether to include BigQuery Export setting.
bool include_bigquery_export_settings = 7 [(.google.api.field_behavior) = OPTIONAL];
public final ExportAgentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder>public final ExportAgentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportAgentRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.