public static final class CreateInstructionMetadata.Builder extends GeneratedMessageV3.Builder<CreateInstructionMetadata.Builder> implements CreateInstructionMetadataOrBuilder
Metadata of a CreateInstruction operation.
Protobuf type google.cloud.datalabeling.v1beta1.CreateInstructionMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 CreateInstructionMetadata.Builder addAllPartialFailures(Iterable<? extends Status> values)
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 CreateInstructionMetadata.Builder addPartialFailures(Status value)
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 CreateInstructionMetadata.Builder addPartialFailures(Status.Builder builderForValue)
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 CreateInstructionMetadata.Builder addPartialFailures(int index, Status value)
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 CreateInstructionMetadata.Builder addPartialFailures(int index, Status.Builder builderForValue)
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()
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)
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 CreateInstructionMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateInstructionMetadata build()
public CreateInstructionMetadata buildPartial()
public CreateInstructionMetadata.Builder clear()
Overrides
public CreateInstructionMetadata.Builder clearCreateTime()
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;
public CreateInstructionMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateInstructionMetadata.Builder clearInstruction()
The name of the created Instruction.
projects/{project_id}/instructions/{instruction_id}
string instruction = 1;
public CreateInstructionMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CreateInstructionMetadata.Builder clearPartialFailures()
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 CreateInstructionMetadata.Builder clone()
Overrides
public Timestamp getCreateTime()
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
public Timestamp.Builder getCreateTimeBuilder()
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;
public TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;
public CreateInstructionMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getInstruction()
The name of the created Instruction.
projects/{project_id}/instructions/{instruction_id}
string instruction = 1;
Returns |
---|
Type | Description |
String | The instruction.
|
public ByteString getInstructionBytes()
The name of the created Instruction.
projects/{project_id}/instructions/{instruction_id}
string instruction = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for instruction.
|
public Status getPartialFailures(int index)
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)
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()
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()
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()
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)
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()
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()
Timestamp when create instruction 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 CreateInstructionMetadata.Builder mergeCreateTime(Timestamp value)
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;
public CreateInstructionMetadata.Builder mergeFrom(CreateInstructionMetadata other)
public CreateInstructionMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateInstructionMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final CreateInstructionMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateInstructionMetadata.Builder removePartialFailures(int index)
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 CreateInstructionMetadata.Builder setCreateTime(Timestamp value)
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;
public CreateInstructionMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
public CreateInstructionMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateInstructionMetadata.Builder setInstruction(String value)
The name of the created Instruction.
projects/{project_id}/instructions/{instruction_id}
string instruction = 1;
Parameter |
---|
Name | Description |
value | String
The instruction to set.
|
public CreateInstructionMetadata.Builder setInstructionBytes(ByteString value)
The name of the created Instruction.
projects/{project_id}/instructions/{instruction_id}
string instruction = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for instruction to set.
|
public CreateInstructionMetadata.Builder setPartialFailures(int index, Status value)
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 CreateInstructionMetadata.Builder setPartialFailures(int index, Status.Builder builderForValue)
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 CreateInstructionMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateInstructionMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides