Class Instruction.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Instruction.Builder>
-
- com.google.cloud.datalabeling.v1beta1.Instruction.Builder
-
- All Implemented Interfaces:
InstructionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Instruction
public static final class Instruction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instruction.Builder> implements InstructionOrBuilder
Instruction of how to perform the labeling task for human operators. Currently only PDF instruction is supported.
Protobuf typegoogle.cloud.datalabeling.v1beta1.Instruction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Instruction.BuilderaddAllBlockingResources(Iterable<String> values)Output only.Instruction.BuilderaddBlockingResources(String value)Output only.Instruction.BuilderaddBlockingResourcesBytes(com.google.protobuf.ByteString value)Output only.Instruction.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Instructionbuild()InstructionbuildPartial()Instruction.Builderclear()Instruction.BuilderclearBlockingResources()Output only.Instruction.BuilderclearCreateTime()Output only.Instruction.BuilderclearCsvInstruction()Deprecated.Instruction.BuilderclearDataType()Required.Instruction.BuilderclearDescription()Optional.Instruction.BuilderclearDisplayName()Required.Instruction.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Instruction.BuilderclearName()Output only.Instruction.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Instruction.BuilderclearPdfInstruction()Instruction from a PDF document.Instruction.BuilderclearUpdateTime()Output only.Instruction.Builderclone()StringgetBlockingResources(int index)Output only.com.google.protobuf.ByteStringgetBlockingResourcesBytes(int index)Output only.intgetBlockingResourcesCount()Output only.com.google.protobuf.ProtocolStringListgetBlockingResourcesList()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.CsvInstructiongetCsvInstruction()Deprecated.google.cloud.datalabeling.v1beta1.Instruction.csv_instruction is deprecated.CsvInstruction.BuildergetCsvInstructionBuilder()Deprecated.CsvInstructionOrBuildergetCsvInstructionOrBuilder()Deprecated.DataTypegetDataType()Required.intgetDataTypeValue()Required.InstructiongetDefaultInstanceForType()StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.PdfInstructiongetPdfInstruction()Instruction from a PDF document.PdfInstruction.BuildergetPdfInstructionBuilder()Instruction from a PDF document.PdfInstructionOrBuildergetPdfInstructionOrBuilder()Instruction from a PDF document.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasCsvInstruction()Deprecated.google.cloud.datalabeling.v1beta1.Instruction.csv_instruction is deprecated.booleanhasPdfInstruction()Instruction from a PDF document.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Instruction.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Instruction.BuildermergeCsvInstruction(CsvInstruction value)Deprecated.Instruction.BuildermergeFrom(Instruction other)Instruction.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Instruction.BuildermergeFrom(com.google.protobuf.Message other)Instruction.BuildermergePdfInstruction(PdfInstruction value)Instruction from a PDF document.Instruction.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Instruction.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Instruction.BuildersetBlockingResources(int index, String value)Output only.Instruction.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Instruction.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Instruction.BuildersetCsvInstruction(CsvInstruction value)Deprecated.Instruction.BuildersetCsvInstruction(CsvInstruction.Builder builderForValue)Deprecated.Instruction.BuildersetDataType(DataType value)Required.Instruction.BuildersetDataTypeValue(int value)Required.Instruction.BuildersetDescription(String value)Optional.Instruction.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Optional.Instruction.BuildersetDisplayName(String value)Required.Instruction.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Required.Instruction.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Instruction.BuildersetName(String value)Output only.Instruction.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Instruction.BuildersetPdfInstruction(PdfInstruction value)Instruction from a PDF document.Instruction.BuildersetPdfInstruction(PdfInstruction.Builder builderForValue)Instruction from a PDF document.Instruction.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Instruction.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Instruction.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Instruction.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Instruction.Builder>
-
clear
public Instruction.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Instruction.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.GeneratedMessageV3.Builder<Instruction.Builder>
-
getDefaultInstanceForType
public Instruction getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instruction build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instruction buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Instruction.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Instruction.Builder>
-
setField
public Instruction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instruction.Builder>
-
clearField
public Instruction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instruction.Builder>
-
clearOneof
public Instruction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Instruction.Builder>
-
setRepeatedField
public Instruction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instruction.Builder>
-
addRepeatedField
public Instruction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instruction.Builder>
-
mergeFrom
public Instruction.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instruction.Builder>
-
mergeFrom
public Instruction.Builder mergeFrom(Instruction other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Instruction.Builder>
-
mergeFrom
public Instruction.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<Instruction.Builder>- Throws:
IOException
-
getName
public String getName()
Output only. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}string name = 1;- Specified by:
getNamein interfaceInstructionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}string name = 1;- Specified by:
getNameBytesin interfaceInstructionOrBuilder- Returns:
- The bytes for name.
-
setName
public Instruction.Builder setName(String value)
Output only. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Instruction.Builder clearName()
Output only. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public Instruction.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
Required. The display name of the instruction. Maximum of 64 characters.
string display_name = 2;- Specified by:
getDisplayNamein interfaceInstructionOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Required. The display name of the instruction. Maximum of 64 characters.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceInstructionOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public Instruction.Builder setDisplayName(String value)
Required. The display name of the instruction. Maximum of 64 characters.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Instruction.Builder clearDisplayName()
Required. The display name of the instruction. Maximum of 64 characters.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Instruction.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The display name of the instruction. Maximum of 64 characters.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
string description = 3;- Specified by:
getDescriptionin interfaceInstructionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
string description = 3;- Specified by:
getDescriptionBytesin interfaceInstructionOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Instruction.Builder setDescription(String value)
Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Instruction.Builder clearDescription()
Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Instruction.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Creation time of instruction.
.google.protobuf.Timestamp create_time = 4;- Specified by:
hasCreateTimein interfaceInstructionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Creation time of instruction.
.google.protobuf.Timestamp create_time = 4;- Specified by:
getCreateTimein interfaceInstructionOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Instruction.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Creation time of instruction.
.google.protobuf.Timestamp create_time = 4;
-
setCreateTime
public Instruction.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Creation time of instruction.
.google.protobuf.Timestamp create_time = 4;
-
mergeCreateTime
public Instruction.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Creation time of instruction.
.google.protobuf.Timestamp create_time = 4;
-
clearCreateTime
public Instruction.Builder clearCreateTime()
Output only. Creation time of instruction.
.google.protobuf.Timestamp create_time = 4;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Creation time of instruction.
.google.protobuf.Timestamp create_time = 4;
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time of instruction.
.google.protobuf.Timestamp create_time = 4;- Specified by:
getCreateTimeOrBuilderin interfaceInstructionOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Last update time of instruction.
.google.protobuf.Timestamp update_time = 5;- Specified by:
hasUpdateTimein interfaceInstructionOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Last update time of instruction.
.google.protobuf.Timestamp update_time = 5;- Specified by:
getUpdateTimein interfaceInstructionOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Instruction.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Last update time of instruction.
.google.protobuf.Timestamp update_time = 5;
-
setUpdateTime
public Instruction.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Last update time of instruction.
.google.protobuf.Timestamp update_time = 5;
-
mergeUpdateTime
public Instruction.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Last update time of instruction.
.google.protobuf.Timestamp update_time = 5;
-
clearUpdateTime
public Instruction.Builder clearUpdateTime()
Output only. Last update time of instruction.
.google.protobuf.Timestamp update_time = 5;
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Last update time of instruction.
.google.protobuf.Timestamp update_time = 5;
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Last update time of instruction.
.google.protobuf.Timestamp update_time = 5;- Specified by:
getUpdateTimeOrBuilderin interfaceInstructionOrBuilder
-
getDataTypeValue
public int getDataTypeValue()
Required. The data type of this instruction.
.google.cloud.datalabeling.v1beta1.DataType data_type = 6;- Specified by:
getDataTypeValuein interfaceInstructionOrBuilder- Returns:
- The enum numeric value on the wire for dataType.
-
setDataTypeValue
public Instruction.Builder setDataTypeValue(int value)
Required. The data type of this instruction.
.google.cloud.datalabeling.v1beta1.DataType data_type = 6;- Parameters:
value- The enum numeric value on the wire for dataType to set.- Returns:
- This builder for chaining.
-
getDataType
public DataType getDataType()
Required. The data type of this instruction.
.google.cloud.datalabeling.v1beta1.DataType data_type = 6;- Specified by:
getDataTypein interfaceInstructionOrBuilder- Returns:
- The dataType.
-
setDataType
public Instruction.Builder setDataType(DataType value)
Required. The data type of this instruction.
.google.cloud.datalabeling.v1beta1.DataType data_type = 6;- Parameters:
value- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
public Instruction.Builder clearDataType()
Required. The data type of this instruction.
.google.cloud.datalabeling.v1beta1.DataType data_type = 6;- Returns:
- This builder for chaining.
-
hasCsvInstruction
@Deprecated public boolean hasCsvInstruction()
Deprecated.google.cloud.datalabeling.v1beta1.Instruction.csv_instruction is deprecated. See google/cloud/datalabeling/v1beta1/instruction.proto;l=64Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
.google.cloud.datalabeling.v1beta1.CsvInstruction csv_instruction = 7 [deprecated = true];- Specified by:
hasCsvInstructionin interfaceInstructionOrBuilder- Returns:
- Whether the csvInstruction field is set.
-
getCsvInstruction
@Deprecated public CsvInstruction getCsvInstruction()
Deprecated.google.cloud.datalabeling.v1beta1.Instruction.csv_instruction is deprecated. See google/cloud/datalabeling/v1beta1/instruction.proto;l=64Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
.google.cloud.datalabeling.v1beta1.CsvInstruction csv_instruction = 7 [deprecated = true];- Specified by:
getCsvInstructionin interfaceInstructionOrBuilder- Returns:
- The csvInstruction.
-
setCsvInstruction
@Deprecated public Instruction.Builder setCsvInstruction(CsvInstruction value)
Deprecated.Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
.google.cloud.datalabeling.v1beta1.CsvInstruction csv_instruction = 7 [deprecated = true];
-
setCsvInstruction
@Deprecated public Instruction.Builder setCsvInstruction(CsvInstruction.Builder builderForValue)
Deprecated.Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
.google.cloud.datalabeling.v1beta1.CsvInstruction csv_instruction = 7 [deprecated = true];
-
mergeCsvInstruction
@Deprecated public Instruction.Builder mergeCsvInstruction(CsvInstruction value)
Deprecated.Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
.google.cloud.datalabeling.v1beta1.CsvInstruction csv_instruction = 7 [deprecated = true];
-
clearCsvInstruction
@Deprecated public Instruction.Builder clearCsvInstruction()
Deprecated.Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
.google.cloud.datalabeling.v1beta1.CsvInstruction csv_instruction = 7 [deprecated = true];
-
getCsvInstructionBuilder
@Deprecated public CsvInstruction.Builder getCsvInstructionBuilder()
Deprecated.Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
.google.cloud.datalabeling.v1beta1.CsvInstruction csv_instruction = 7 [deprecated = true];
-
getCsvInstructionOrBuilder
@Deprecated public CsvInstructionOrBuilder getCsvInstructionOrBuilder()
Deprecated.Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.
.google.cloud.datalabeling.v1beta1.CsvInstruction csv_instruction = 7 [deprecated = true];- Specified by:
getCsvInstructionOrBuilderin interfaceInstructionOrBuilder
-
hasPdfInstruction
public boolean hasPdfInstruction()
Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
.google.cloud.datalabeling.v1beta1.PdfInstruction pdf_instruction = 9;- Specified by:
hasPdfInstructionin interfaceInstructionOrBuilder- Returns:
- Whether the pdfInstruction field is set.
-
getPdfInstruction
public PdfInstruction getPdfInstruction()
Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
.google.cloud.datalabeling.v1beta1.PdfInstruction pdf_instruction = 9;- Specified by:
getPdfInstructionin interfaceInstructionOrBuilder- Returns:
- The pdfInstruction.
-
setPdfInstruction
public Instruction.Builder setPdfInstruction(PdfInstruction value)
Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
.google.cloud.datalabeling.v1beta1.PdfInstruction pdf_instruction = 9;
-
setPdfInstruction
public Instruction.Builder setPdfInstruction(PdfInstruction.Builder builderForValue)
Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
.google.cloud.datalabeling.v1beta1.PdfInstruction pdf_instruction = 9;
-
mergePdfInstruction
public Instruction.Builder mergePdfInstruction(PdfInstruction value)
Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
.google.cloud.datalabeling.v1beta1.PdfInstruction pdf_instruction = 9;
-
clearPdfInstruction
public Instruction.Builder clearPdfInstruction()
Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
.google.cloud.datalabeling.v1beta1.PdfInstruction pdf_instruction = 9;
-
getPdfInstructionBuilder
public PdfInstruction.Builder getPdfInstructionBuilder()
Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
.google.cloud.datalabeling.v1beta1.PdfInstruction pdf_instruction = 9;
-
getPdfInstructionOrBuilder
public PdfInstructionOrBuilder getPdfInstructionOrBuilder()
Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
.google.cloud.datalabeling.v1beta1.PdfInstruction pdf_instruction = 9;- Specified by:
getPdfInstructionOrBuilderin interfaceInstructionOrBuilder
-
getBlockingResourcesList
public com.google.protobuf.ProtocolStringList getBlockingResourcesList()
Output only. The names of any related resources that are blocking changes to the instruction.
repeated string blocking_resources = 10;- Specified by:
getBlockingResourcesListin interfaceInstructionOrBuilder- Returns:
- A list containing the blockingResources.
-
getBlockingResourcesCount
public int getBlockingResourcesCount()
Output only. The names of any related resources that are blocking changes to the instruction.
repeated string blocking_resources = 10;- Specified by:
getBlockingResourcesCountin interfaceInstructionOrBuilder- Returns:
- The count of blockingResources.
-
getBlockingResources
public String getBlockingResources(int index)
Output only. The names of any related resources that are blocking changes to the instruction.
repeated string blocking_resources = 10;- Specified by:
getBlockingResourcesin interfaceInstructionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The blockingResources at the given index.
-
getBlockingResourcesBytes
public com.google.protobuf.ByteString getBlockingResourcesBytes(int index)
Output only. The names of any related resources that are blocking changes to the instruction.
repeated string blocking_resources = 10;- Specified by:
getBlockingResourcesBytesin interfaceInstructionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the blockingResources at the given index.
-
setBlockingResources
public Instruction.Builder setBlockingResources(int index, String value)
Output only. The names of any related resources that are blocking changes to the instruction.
repeated string blocking_resources = 10;- Parameters:
index- The index to set the value at.value- The blockingResources to set.- Returns:
- This builder for chaining.
-
addBlockingResources
public Instruction.Builder addBlockingResources(String value)
Output only. The names of any related resources that are blocking changes to the instruction.
repeated string blocking_resources = 10;- Parameters:
value- The blockingResources to add.- Returns:
- This builder for chaining.
-
addAllBlockingResources
public Instruction.Builder addAllBlockingResources(Iterable<String> values)
Output only. The names of any related resources that are blocking changes to the instruction.
repeated string blocking_resources = 10;- Parameters:
values- The blockingResources to add.- Returns:
- This builder for chaining.
-
clearBlockingResources
public Instruction.Builder clearBlockingResources()
Output only. The names of any related resources that are blocking changes to the instruction.
repeated string blocking_resources = 10;- Returns:
- This builder for chaining.
-
addBlockingResourcesBytes
public Instruction.Builder addBlockingResourcesBytes(com.google.protobuf.ByteString value)
Output only. The names of any related resources that are blocking changes to the instruction.
repeated string blocking_resources = 10;- Parameters:
value- The bytes of the blockingResources to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Instruction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instruction.Builder>
-
mergeUnknownFields
public final Instruction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instruction.Builder>
-
-