Class CreateInstructionMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateInstructionMetadata.Builder>
com.google.cloud.datalabeling.v1beta1.CreateInstructionMetadata.Builder
- All Implemented Interfaces:
CreateInstructionMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CreateInstructionMetadata
public static final class CreateInstructionMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CreateInstructionMetadata.Builder>
implements CreateInstructionMetadataOrBuilder
Metadata of a CreateInstruction operation.Protobuf type
google.cloud.datalabeling.v1beta1.CreateInstructionMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAllPartialFailures(Iterable<? extends Status> values) Partial failures encountered.addPartialFailures(int index, Status value) Partial failures encountered.addPartialFailures(int index, Status.Builder builderForValue) Partial failures encountered.addPartialFailures(Status value) Partial failures encountered.addPartialFailures(Status.Builder builderForValue) Partial failures encountered.Partial failures encountered.addPartialFailuresBuilder(int index) Partial failures encountered.build()clear()Timestamp when create instruction request was created.The name of the created Instruction.Partial failures encountered.com.google.protobuf.TimestampTimestamp when create instruction request was created.com.google.protobuf.Timestamp.BuilderTimestamp when create instruction request was created.com.google.protobuf.TimestampOrBuilderTimestamp when create instruction request was created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the created Instruction.com.google.protobuf.ByteStringThe name of the created Instruction.getPartialFailures(int index) Partial failures encountered.getPartialFailuresBuilder(int index) Partial failures encountered.Partial failures encountered.intPartial failures encountered.Partial failures encountered.getPartialFailuresOrBuilder(int index) Partial failures encountered.List<? extends StatusOrBuilder>Partial failures encountered.booleanTimestamp when create instruction request was created.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Timestamp when create instruction request was created.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removePartialFailures(int index) Partial failures encountered.setCreateTime(com.google.protobuf.Timestamp value) Timestamp when create instruction request was created.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when create instruction request was created.setInstruction(String value) The name of the created Instruction.setInstructionBytes(com.google.protobuf.ByteString value) The name of the created Instruction.setPartialFailures(int index, Status value) Partial failures encountered.setPartialFailures(int index, Status.Builder builderForValue) Partial failures encountered.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CreateInstructionMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CreateInstructionMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CreateInstructionMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateInstructionMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CreateInstructionMetadata.Builder>
-
mergeFrom
public CreateInstructionMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateInstructionMetadata.Builder>- Throws:
IOException
-
getInstruction
The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}string instruction = 1;- Specified by:
getInstructionin interfaceCreateInstructionMetadataOrBuilder- Returns:
- The instruction.
-
getInstructionBytes
public com.google.protobuf.ByteString getInstructionBytes()The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}string instruction = 1;- Specified by:
getInstructionBytesin interfaceCreateInstructionMetadataOrBuilder- Returns:
- The bytes for instruction.
-
setInstruction
The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}string instruction = 1;- Parameters:
value- The instruction to set.- Returns:
- This builder for chaining.
-
clearInstruction
The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}string instruction = 1;- Returns:
- This builder for chaining.
-
setInstructionBytes
The name of the created Instruction. projects/{project_id}/instructions/{instruction_id}string instruction = 1;- Parameters:
value- The bytes for instruction to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getPartialFailuresListin interfaceCreateInstructionMetadataOrBuilder
-
getPartialFailuresCount
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;- Specified by:
getPartialFailuresCountin interfaceCreateInstructionMetadataOrBuilder
-
getPartialFailures
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;- Specified by:
getPartialFailuresin interfaceCreateInstructionMetadataOrBuilder
-
setPartialFailures
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; -
setPartialFailures
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; -
addPartialFailures
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; -
addPartialFailures
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; -
addPartialFailures
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; -
addPartialFailures
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; -
addAllPartialFailures
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; -
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; -
removePartialFailures
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; -
getPartialFailuresBuilder
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; -
getPartialFailuresOrBuilder
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;- Specified by:
getPartialFailuresOrBuilderin interfaceCreateInstructionMetadataOrBuilder
-
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;- Specified by:
getPartialFailuresOrBuilderListin interfaceCreateInstructionMetadataOrBuilder
-
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; -
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; -
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; -
hasCreateTime
public boolean hasCreateTime()Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;- Specified by:
hasCreateTimein interfaceCreateInstructionMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimein interfaceCreateInstructionMetadataOrBuilder- Returns:
- The createTime.
-
setCreateTime
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3; -
setCreateTime
public CreateInstructionMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3; -
mergeCreateTime
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3; -
clearCreateTime
Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Timestamp when create instruction request was created.
.google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimeOrBuilderin interfaceCreateInstructionMetadataOrBuilder
-