Class ImportConversationDataOperationMetadata.Builder (4.12.0)

public static final class ImportConversationDataOperationMetadata.Builder extends GeneratedMessageV3.Builder<ImportConversationDataOperationMetadata.Builder> implements ImportConversationDataOperationMetadataOrBuilder

Metadata for a ConversationDatasets.ImportConversationData operation.

Protobuf type google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata

Static Methods

getDescriptor()

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

Methods

addAllPartialFailures(Iterable<? extends Status> values)

public ImportConversationDataOperationMetadata.Builder addAllPartialFailures(Iterable<? extends Status> values)

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
ImportConversationDataOperationMetadata.Builder

addPartialFailures(Status value)

public ImportConversationDataOperationMetadata.Builder addPartialFailures(Status value)

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
ImportConversationDataOperationMetadata.Builder

addPartialFailures(Status.Builder builderForValue)

public ImportConversationDataOperationMetadata.Builder addPartialFailures(Status.Builder builderForValue)

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ImportConversationDataOperationMetadata.Builder

addPartialFailures(int index, Status value)

public ImportConversationDataOperationMetadata.Builder addPartialFailures(int index, Status value)

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
ImportConversationDataOperationMetadata.Builder

addPartialFailures(int index, Status.Builder builderForValue)

public ImportConversationDataOperationMetadata.Builder addPartialFailures(int index, Status.Builder builderForValue)

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ImportConversationDataOperationMetadata.Builder

addPartialFailuresBuilder()

public Status.Builder addPartialFailuresBuilder()

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
com.google.rpc.Status.Builder

addPartialFailuresBuilder(int index)

public Status.Builder addPartialFailuresBuilder(int index)

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportConversationDataOperationMetadata build()
Returns
Type Description
ImportConversationDataOperationMetadata

buildPartial()

public ImportConversationDataOperationMetadata buildPartial()
Returns
Type Description
ImportConversationDataOperationMetadata

clear()

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

clearConversationDataset()

public ImportConversationDataOperationMetadata.Builder clearConversationDataset()

The resource name of the imported conversation dataset. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

string conversation_dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ImportConversationDataOperationMetadata.Builder

This builder for chaining.

clearCreateTime()

public ImportConversationDataOperationMetadata.Builder clearCreateTime()

Timestamp when import conversation data request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
ImportConversationDataOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPartialFailures()

public ImportConversationDataOperationMetadata.Builder clearPartialFailures()

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
ImportConversationDataOperationMetadata.Builder

clone()

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

getConversationDataset()

public String getConversationDataset()

The resource name of the imported conversation dataset. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

string conversation_dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The conversationDataset.

getConversationDatasetBytes()

public ByteString getConversationDatasetBytes()

The resource name of the imported conversation dataset. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

string conversation_dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for conversationDataset.

getCreateTime()

public Timestamp getCreateTime()

Timestamp when import conversation data request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Timestamp when import conversation data request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp when import conversation data request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ImportConversationDataOperationMetadata getDefaultInstanceForType()
Returns
Type Description
ImportConversationDataOperationMetadata

getDescriptorForType()

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

getPartialFailures(int index)

public Status getPartialFailures(int index)

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getPartialFailuresBuilder(int index)

public Status.Builder getPartialFailuresBuilder(int index)

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

getPartialFailuresBuilderList()

public List<Status.Builder> getPartialFailuresBuilderList()

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
List<com.google.rpc.Status.Builder>

getPartialFailuresCount()

public int getPartialFailuresCount()

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
int

getPartialFailuresList()

public List<Status> getPartialFailuresList()

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
List<com.google.rpc.Status>

getPartialFailuresOrBuilder(int index)

public StatusOrBuilder getPartialFailuresOrBuilder(int index)

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getPartialFailuresOrBuilderList()

public List<? extends StatusOrBuilder> getPartialFailuresOrBuilderList()

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

hasCreateTime()

public boolean hasCreateTime()

Timestamp when import conversation data request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public ImportConversationDataOperationMetadata.Builder mergeCreateTime(Timestamp value)

Timestamp when import conversation data request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportConversationDataOperationMetadata.Builder

mergeFrom(ImportConversationDataOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePartialFailures(int index)

public ImportConversationDataOperationMetadata.Builder removePartialFailures(int index)

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportConversationDataOperationMetadata.Builder

setConversationDataset(String value)

public ImportConversationDataOperationMetadata.Builder setConversationDataset(String value)

The resource name of the imported conversation dataset. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

string conversation_dataset = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The conversationDataset to set.

Returns
Type Description
ImportConversationDataOperationMetadata.Builder

This builder for chaining.

setConversationDatasetBytes(ByteString value)

public ImportConversationDataOperationMetadata.Builder setConversationDatasetBytes(ByteString value)

The resource name of the imported conversation dataset. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

string conversation_dataset = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for conversationDataset to set.

Returns
Type Description
ImportConversationDataOperationMetadata.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public ImportConversationDataOperationMetadata.Builder setCreateTime(Timestamp value)

Timestamp when import conversation data request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportConversationDataOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ImportConversationDataOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Timestamp when import conversation data request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportConversationDataOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPartialFailures(int index, Status value)

public ImportConversationDataOperationMetadata.Builder setPartialFailures(int index, Status value)

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
ImportConversationDataOperationMetadata.Builder

setPartialFailures(int index, Status.Builder builderForValue)

public ImportConversationDataOperationMetadata.Builder setPartialFailures(int index, Status.Builder builderForValue)

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read.

repeated .google.rpc.Status partial_failures = 2;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ImportConversationDataOperationMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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