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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
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
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
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
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
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 |
|
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 |
|
public ImportConversationDataOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportConversationDataOperationMetadata build()
Returns
public ImportConversationDataOperationMetadata buildPartial()
Returns
public ImportConversationDataOperationMetadata.Builder clear()
Returns
Overrides
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
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
public ImportConversationDataOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ImportConversationDataOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public ImportConversationDataOperationMetadata.Builder clone()
Returns
Overrides
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.
|
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.
|
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
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
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
public ImportConversationDataOperationMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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 |
|
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 |
|
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> |
|
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
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> |
|
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 |
|
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> |
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
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
Returns
public ImportConversationDataOperationMetadata.Builder mergeFrom(ImportConversationDataOperationMetadata other)
Parameter
Returns
public ImportConversationDataOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ImportConversationDataOperationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ImportConversationDataOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
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
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
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
Returns
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
public ImportConversationDataOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public ImportConversationDataOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ImportConversationDataOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides