Class ImportConversationDataOperationMetadata.Builder (4.8.5)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportConversationDataOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportConversationDataOperationMetadata.Builder
Overrides

build()

public ImportConversationDataOperationMetadata build()
Returns
TypeDescription
ImportConversationDataOperationMetadata

buildPartial()

public ImportConversationDataOperationMetadata buildPartial()
Returns
TypeDescription
ImportConversationDataOperationMetadata

clear()

public ImportConversationDataOperationMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ImportConversationDataOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportConversationDataOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportConversationDataOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportConversationDataOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ImportConversationDataOperationMetadata.Builder

clone()

public ImportConversationDataOperationMetadata.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ImportConversationDataOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImportConversationDataOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ImportConversationDataOperationMetadata.Builder

mergeFrom(ImportConversationDataOperationMetadata other)

public ImportConversationDataOperationMetadata.Builder mergeFrom(ImportConversationDataOperationMetadata other)
Parameter
NameDescription
otherImportConversationDataOperationMetadata
Returns
TypeDescription
ImportConversationDataOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportConversationDataOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportConversationDataOperationMetadata.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportConversationDataOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportConversationDataOperationMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportConversationDataOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The conversationDataset to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for conversationDataset to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ImportConversationDataOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportConversationDataOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ImportConversationDataOperationMetadata.Builder

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

public ImportConversationDataOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportConversationDataOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportConversationDataOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportConversationDataOperationMetadata.Builder
Overrides