public final class ExportToolsRequest extends GeneratedMessageV3 implements ExportToolsRequestOrBuilder
The request message for
Tools.ExportTools.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DATA_FORMAT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PARENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TOOLS_CONTENT_INLINE_FIELD_NUMBER
public static final int TOOLS_CONTENT_INLINE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TOOLS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TOOLS_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static ExportToolsRequest getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ExportToolsRequest.Builder newBuilder()
public static ExportToolsRequest.Builder newBuilder(ExportToolsRequest prototype)
public static ExportToolsRequest parseDelimitedFrom(InputStream input)
public static ExportToolsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportToolsRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static ExportToolsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExportToolsRequest parseFrom(ByteString data)
public static ExportToolsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportToolsRequest parseFrom(CodedInputStream input)
public static ExportToolsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportToolsRequest parseFrom(InputStream input)
public static ExportToolsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportToolsRequest parseFrom(ByteBuffer data)
public static ExportToolsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ExportToolsRequest> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public ExportToolsRequest.DataFormat getDataFormat()
Optional. The data format of the exported tools. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
public int getDataFormatValue()
Optional. The data format of the exported tools. If not specified, BLOB
is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for dataFormat.
|
public ExportToolsRequest getDefaultInstanceForType()
public ExportToolsRequest.DestinationCase getDestinationCase()
public String getParent()
Required. The agent to export tools from.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
public ByteString getParentBytes()
Required. The agent to export tools from.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
public Parser<ExportToolsRequest> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public String getTools(int index)
Required. The name of the tools to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The tools at the given index.
|
public ByteString getToolsBytes(int index)
Required. The name of the tools to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the tools at the given index.
|
getToolsContentInline()
public boolean getToolsContentInline()
Optional. The option to return the serialized tools inline.
bool tools_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The toolsContentInline.
|
public int getToolsCount()
Required. The name of the tools to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
int |
The count of tools.
|
public ProtocolStringList getToolsList()
Required. The name of the tools to export.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>
.
repeated string tools = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public String getToolsUri()
Optional. The Google Cloud
Storage URI to export the tools
to. The format of this URI must be gs://<bucket-name>/<object-name>
.
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 tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The toolsUri.
|
public ByteString getToolsUriBytes()
Optional. The Google Cloud
Storage URI to export the tools
to. The format of this URI must be gs://<bucket-name>/<object-name>
.
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 tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for toolsUri.
|
hasToolsContentInline()
public boolean hasToolsContentInline()
Optional. The option to return the serialized tools inline.
bool tools_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the toolsContentInline field is set.
|
public boolean hasToolsUri()
Optional. The Google Cloud
Storage URI to export the tools
to. The format of this URI must be gs://<bucket-name>/<object-name>
.
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 tools_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the toolsUri field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ExportToolsRequest.Builder newBuilderForType()
protected ExportToolsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public ExportToolsRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides