public static final class ImportDataOperationMetadata.Builder extends GeneratedMessageV3.Builder<ImportDataOperationMetadata.Builder> implements ImportDataOperationMetadataOrBuilder
Metadata of an ImportData operation.
Protobuf type google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ImportDataOperationMetadata.Builder addAllPartialFailures(Iterable<? extends Status> values)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.rpc.Status>
|
public ImportDataOperationMetadata.Builder addPartialFailures(Status value)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameter |
---|
Name | Description |
value | com.google.rpc.Status
|
public ImportDataOperationMetadata.Builder addPartialFailures(Status.Builder builderForValue)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameter |
---|
Name | Description |
builderForValue | com.google.rpc.Status.Builder
|
public ImportDataOperationMetadata.Builder addPartialFailures(int index, Status value)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameters |
---|
Name | Description |
index | int
|
value | com.google.rpc.Status
|
public ImportDataOperationMetadata.Builder addPartialFailures(int index, Status.Builder builderForValue)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameters |
---|
Name | Description |
index | int
|
builderForValue | com.google.rpc.Status.Builder
|
public Status.Builder addPartialFailuresBuilder()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Returns |
---|
Type | Description |
com.google.rpc.Status.Builder | |
public Status.Builder addPartialFailuresBuilder(int index)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.rpc.Status.Builder | |
public ImportDataOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportDataOperationMetadata build()
public ImportDataOperationMetadata buildPartial()
public ImportDataOperationMetadata.Builder clear()
Overrides
public ImportDataOperationMetadata.Builder clearCreateTime()
Output only. Timestamp when import dataset request was created.
.google.protobuf.Timestamp create_time = 3;
public ImportDataOperationMetadata.Builder clearDataset()
Output only. The name of imported dataset.
"projects/*/datasets/*"
string dataset = 1;
public ImportDataOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ImportDataOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ImportDataOperationMetadata.Builder clearPartialFailures()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
public ImportDataOperationMetadata.Builder clone()
Overrides
public Timestamp getCreateTime()
Output only. Timestamp when import dataset request was created.
.google.protobuf.Timestamp create_time = 3;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when import dataset request was created.
.google.protobuf.Timestamp create_time = 3;
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when import dataset request was created.
.google.protobuf.Timestamp create_time = 3;
public String getDataset()
Output only. The name of imported dataset.
"projects/*/datasets/*"
string dataset = 1;
Returns |
---|
Type | Description |
String | The dataset.
|
public ByteString getDatasetBytes()
Output only. The name of imported dataset.
"projects/*/datasets/*"
string dataset = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for dataset.
|
public ImportDataOperationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Status getPartialFailures(int index)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
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)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
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()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Returns |
---|
Type | Description |
List<com.google.rpc.Status.Builder> | |
public int getPartialFailuresCount()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Returns |
---|
Type | Description |
int | |
public List<Status> getPartialFailuresList()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Returns |
---|
Type | Description |
List<com.google.rpc.Status> | |
public StatusOrBuilder getPartialFailuresOrBuilder(int index)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.rpc.StatusOrBuilder | |
public List<? extends StatusOrBuilder> getPartialFailuresOrBuilderList()
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Returns |
---|
Type | Description |
List<? extends com.google.rpc.StatusOrBuilder> | |
public boolean hasCreateTime()
Output only. Timestamp when import dataset request was created.
.google.protobuf.Timestamp create_time = 3;
Returns |
---|
Type | Description |
boolean | Whether the createTime field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImportDataOperationMetadata.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when import dataset request was created.
.google.protobuf.Timestamp create_time = 3;
public ImportDataOperationMetadata.Builder mergeFrom(ImportDataOperationMetadata other)
public ImportDataOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImportDataOperationMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ImportDataOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImportDataOperationMetadata.Builder removePartialFailures(int index)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameter |
---|
Name | Description |
index | int
|
public ImportDataOperationMetadata.Builder setCreateTime(Timestamp value)
Output only. Timestamp when import dataset request was created.
.google.protobuf.Timestamp create_time = 3;
public ImportDataOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when import dataset request was created.
.google.protobuf.Timestamp create_time = 3;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
public ImportDataOperationMetadata.Builder setDataset(String value)
Output only. The name of imported dataset.
"projects/*/datasets/*"
string dataset = 1;
Parameter |
---|
Name | Description |
value | String
The dataset to set.
|
public ImportDataOperationMetadata.Builder setDatasetBytes(ByteString value)
Output only. The name of imported dataset.
"projects/*/datasets/*"
string dataset = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for dataset to set.
|
public ImportDataOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportDataOperationMetadata.Builder setPartialFailures(int index, Status value)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameters |
---|
Name | Description |
index | int
|
value | com.google.rpc.Status
|
public ImportDataOperationMetadata.Builder setPartialFailures(int index, Status.Builder builderForValue)
Output only. Partial failures encountered.
E.g. single files that couldn't be read.
Status details field will contain standard GCP error details.
repeated .google.rpc.Status partial_failures = 2;
Parameters |
---|
Name | Description |
index | int
|
builderForValue | com.google.rpc.Status.Builder
|
public ImportDataOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ImportDataOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides