Send feedback
Class ExportAgentRequest.Builder (4.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.4.0 keyboard_arrow_down
public static final class ExportAgentRequest . Builder extends GeneratedMessageV3 . Builder<ExportAgentRequest . Builder > implements ExportAgentRequestOrBuilder
The request message for Agents.ExportAgent .
Protobuf type google.cloud.dialogflow.v2beta1.ExportAgentRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportAgentRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ExportAgentRequest build ()
Returns
buildPartial()
public ExportAgentRequest buildPartial ()
Returns
clear()
public ExportAgentRequest . Builder clear ()
Returns
Overrides
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public ExportAgentRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportAgentRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearParent()
public ExportAgentRequest . Builder clearParent ()
Required. The project that the agent to export is associated with.
Format: projects/<Project ID>
or
projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public ExportAgentRequest . Builder clone ()
Returns
Overrides
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;
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.
string agent_uri = 2;
Returns
getDefaultInstanceForType()
public ExportAgentRequest getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getParent()
public String getParent ()
Required. The project that the agent to export is associated with.
Format: projects/<Project ID>
or
projects/<Project ID>/locations/<Location 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 project that the agent to export is associated with.
Format: projects/<Project ID>
or
projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ExportAgentRequest other)
public ExportAgentRequest . Builder mergeFrom ( ExportAgentRequest other )
Parameter
Returns
public ExportAgentRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ExportAgentRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportAgentRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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;
Parameter
Name Description value String
The agentUri to set.
Returns
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;
Parameter
Name Description value ByteString
The bytes for agentUri to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ExportAgentRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setParent(String value)
public ExportAgentRequest . Builder setParent ( String value )
Required. The project that the agent to export is associated with.
Format: projects/<Project ID>
or
projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name Description value String
The parent to set.
Returns
setParentBytes(ByteString value)
public ExportAgentRequest . Builder setParentBytes ( ByteString value )
Required. The project that the agent to export is associated with.
Format: projects/<Project ID>
or
projects/<Project ID>/locations/<Location 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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportAgentRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportAgentRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]