Class ExportToolsResponse.Builder (0.51.0)

public static final class ExportToolsResponse.Builder extends GeneratedMessageV3.Builder<ExportToolsResponse.Builder> implements ExportToolsResponseOrBuilder

The response message for Tools.ExportTools.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportToolsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportToolsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportToolsResponse.Builder
Overrides

build()

public ExportToolsResponse build()
Returns
Type Description
ExportToolsResponse

buildPartial()

public ExportToolsResponse buildPartial()
Returns
Type Description
ExportToolsResponse

clear()

public ExportToolsResponse.Builder clear()
Returns
Type Description
ExportToolsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExportToolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportToolsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportToolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportToolsResponse.Builder
Overrides

clearTools()

public ExportToolsResponse.Builder clearTools()
Returns
Type Description
ExportToolsResponse.Builder

clearToolsContent()

public ExportToolsResponse.Builder clearToolsContent()

Uncompressed byte content for tools. This field is populated only if tools_content_inline is set to true in ExportToolsRequest.

.google.cloud.dialogflow.cx.v3beta1.InlineDestination tools_content = 2;

Returns
Type Description
ExportToolsResponse.Builder

clearToolsUri()

public ExportToolsResponse.Builder clearToolsUri()

The URI to a file containing the exported tools. This field is populated only if tools_uri is specified in ExportToolsRequest.

string tools_uri = 1;

Returns
Type Description
ExportToolsResponse.Builder

This builder for chaining.

clone()

public ExportToolsResponse.Builder clone()
Returns
Type Description
ExportToolsResponse.Builder
Overrides

getDefaultInstanceForType()

public ExportToolsResponse getDefaultInstanceForType()
Returns
Type Description
ExportToolsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getToolsCase()

public ExportToolsResponse.ToolsCase getToolsCase()
Returns
Type Description
ExportToolsResponse.ToolsCase

getToolsContent()

public InlineDestination getToolsContent()

Uncompressed byte content for tools. This field is populated only if tools_content_inline is set to true in ExportToolsRequest.

.google.cloud.dialogflow.cx.v3beta1.InlineDestination tools_content = 2;

Returns
Type Description
InlineDestination

The toolsContent.

getToolsContentBuilder()

public InlineDestination.Builder getToolsContentBuilder()

Uncompressed byte content for tools. This field is populated only if tools_content_inline is set to true in ExportToolsRequest.

.google.cloud.dialogflow.cx.v3beta1.InlineDestination tools_content = 2;

Returns
Type Description
InlineDestination.Builder

getToolsContentOrBuilder()

public InlineDestinationOrBuilder getToolsContentOrBuilder()

Uncompressed byte content for tools. This field is populated only if tools_content_inline is set to true in ExportToolsRequest.

.google.cloud.dialogflow.cx.v3beta1.InlineDestination tools_content = 2;

Returns
Type Description
InlineDestinationOrBuilder

getToolsUri()

public String getToolsUri()

The URI to a file containing the exported tools. This field is populated only if tools_uri is specified in ExportToolsRequest.

string tools_uri = 1;

Returns
Type Description
String

The toolsUri.

getToolsUriBytes()

public ByteString getToolsUriBytes()

The URI to a file containing the exported tools. This field is populated only if tools_uri is specified in ExportToolsRequest.

string tools_uri = 1;

Returns
Type Description
ByteString

The bytes for toolsUri.

hasToolsContent()

public boolean hasToolsContent()

Uncompressed byte content for tools. This field is populated only if tools_content_inline is set to true in ExportToolsRequest.

.google.cloud.dialogflow.cx.v3beta1.InlineDestination tools_content = 2;

Returns
Type Description
boolean

Whether the toolsContent field is set.

hasToolsUri()

public boolean hasToolsUri()

The URI to a file containing the exported tools. This field is populated only if tools_uri is specified in ExportToolsRequest.

string tools_uri = 1;

Returns
Type Description
boolean

Whether the toolsUri field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportToolsResponse other)

public ExportToolsResponse.Builder mergeFrom(ExportToolsResponse other)
Parameter
Name Description
other ExportToolsResponse
Returns
Type Description
ExportToolsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportToolsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportToolsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportToolsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportToolsResponse.Builder
Overrides

mergeToolsContent(InlineDestination value)

public ExportToolsResponse.Builder mergeToolsContent(InlineDestination value)

Uncompressed byte content for tools. This field is populated only if tools_content_inline is set to true in ExportToolsRequest.

.google.cloud.dialogflow.cx.v3beta1.InlineDestination tools_content = 2;

Parameter
Name Description
value InlineDestination
Returns
Type Description
ExportToolsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportToolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportToolsResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExportToolsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportToolsResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportToolsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportToolsResponse.Builder
Overrides

setToolsContent(InlineDestination value)

public ExportToolsResponse.Builder setToolsContent(InlineDestination value)

Uncompressed byte content for tools. This field is populated only if tools_content_inline is set to true in ExportToolsRequest.

.google.cloud.dialogflow.cx.v3beta1.InlineDestination tools_content = 2;

Parameter
Name Description
value InlineDestination
Returns
Type Description
ExportToolsResponse.Builder

setToolsContent(InlineDestination.Builder builderForValue)

public ExportToolsResponse.Builder setToolsContent(InlineDestination.Builder builderForValue)

Uncompressed byte content for tools. This field is populated only if tools_content_inline is set to true in ExportToolsRequest.

.google.cloud.dialogflow.cx.v3beta1.InlineDestination tools_content = 2;

Parameter
Name Description
builderForValue InlineDestination.Builder
Returns
Type Description
ExportToolsResponse.Builder

setToolsUri(String value)

public ExportToolsResponse.Builder setToolsUri(String value)

The URI to a file containing the exported tools. This field is populated only if tools_uri is specified in ExportToolsRequest.

string tools_uri = 1;

Parameter
Name Description
value String

The toolsUri to set.

Returns
Type Description
ExportToolsResponse.Builder

This builder for chaining.

setToolsUriBytes(ByteString value)

public ExportToolsResponse.Builder setToolsUriBytes(ByteString value)

The URI to a file containing the exported tools. This field is populated only if tools_uri is specified in ExportToolsRequest.

string tools_uri = 1;

Parameter
Name Description
value ByteString

The bytes for toolsUri to set.

Returns
Type Description
ExportToolsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportToolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportToolsResponse.Builder
Overrides