Class HumanAnnotationConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HumanAnnotationConfig.Builder>
-
- com.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.Builder
-
- All Implemented Interfaces:
HumanAnnotationConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HumanAnnotationConfig
public static final class HumanAnnotationConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HumanAnnotationConfig.Builder> implements HumanAnnotationConfigOrBuilder
Configuration for how human labeling task should be done.
Protobuf typegoogle.cloud.datalabeling.v1beta1.HumanAnnotationConfig
-
-
Method Summary
-
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<HumanAnnotationConfig.Builder>
-
clear
public HumanAnnotationConfig.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<HumanAnnotationConfig.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<HumanAnnotationConfig.Builder>
-
getDefaultInstanceForType
public HumanAnnotationConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HumanAnnotationConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HumanAnnotationConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HumanAnnotationConfig.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<HumanAnnotationConfig.Builder>
-
setField
public HumanAnnotationConfig.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<HumanAnnotationConfig.Builder>
-
clearField
public HumanAnnotationConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAnnotationConfig.Builder>
-
clearOneof
public HumanAnnotationConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAnnotationConfig.Builder>
-
setRepeatedField
public HumanAnnotationConfig.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<HumanAnnotationConfig.Builder>
-
addRepeatedField
public HumanAnnotationConfig.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<HumanAnnotationConfig.Builder>
-
mergeFrom
public HumanAnnotationConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HumanAnnotationConfig.Builder>
-
mergeFrom
public HumanAnnotationConfig.Builder mergeFrom(HumanAnnotationConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAnnotationConfig.Builder>
-
mergeFrom
public HumanAnnotationConfig.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<HumanAnnotationConfig.Builder>- Throws:
IOException
-
getInstruction
public String getInstruction()
Required. Instruction resource name.
string instruction = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstructionin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The instruction.
-
getInstructionBytes
public com.google.protobuf.ByteString getInstructionBytes()
Required. Instruction resource name.
string instruction = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstructionBytesin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The bytes for instruction.
-
setInstruction
public HumanAnnotationConfig.Builder setInstruction(String value)
Required. Instruction resource name.
string instruction = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The instruction to set.- Returns:
- This builder for chaining.
-
clearInstruction
public HumanAnnotationConfig.Builder clearInstruction()
Required. Instruction resource name.
string instruction = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setInstructionBytes
public HumanAnnotationConfig.Builder setInstructionBytes(com.google.protobuf.ByteString value)
Required. Instruction resource name.
string instruction = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for instruction to set.- Returns:
- This builder for chaining.
-
getAnnotatedDatasetDisplayName
public String getAnnotatedDatasetDisplayName()
Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .
string annotated_dataset_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAnnotatedDatasetDisplayNamein interfaceHumanAnnotationConfigOrBuilder- Returns:
- The annotatedDatasetDisplayName.
-
getAnnotatedDatasetDisplayNameBytes
public com.google.protobuf.ByteString getAnnotatedDatasetDisplayNameBytes()
Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .
string annotated_dataset_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAnnotatedDatasetDisplayNameBytesin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The bytes for annotatedDatasetDisplayName.
-
setAnnotatedDatasetDisplayName
public HumanAnnotationConfig.Builder setAnnotatedDatasetDisplayName(String value)
Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .
string annotated_dataset_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The annotatedDatasetDisplayName to set.- Returns:
- This builder for chaining.
-
clearAnnotatedDatasetDisplayName
public HumanAnnotationConfig.Builder clearAnnotatedDatasetDisplayName()
Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .
string annotated_dataset_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setAnnotatedDatasetDisplayNameBytes
public HumanAnnotationConfig.Builder setAnnotatedDatasetDisplayNameBytes(com.google.protobuf.ByteString value)
Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .
string annotated_dataset_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for annotatedDatasetDisplayName to set.- Returns:
- This builder for chaining.
-
getAnnotatedDatasetDescription
public String getAnnotatedDatasetDescription()
Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.
string annotated_dataset_description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotatedDatasetDescriptionin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The annotatedDatasetDescription.
-
getAnnotatedDatasetDescriptionBytes
public com.google.protobuf.ByteString getAnnotatedDatasetDescriptionBytes()
Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.
string annotated_dataset_description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotatedDatasetDescriptionBytesin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The bytes for annotatedDatasetDescription.
-
setAnnotatedDatasetDescription
public HumanAnnotationConfig.Builder setAnnotatedDatasetDescription(String value)
Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.
string annotated_dataset_description = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The annotatedDatasetDescription to set.- Returns:
- This builder for chaining.
-
clearAnnotatedDatasetDescription
public HumanAnnotationConfig.Builder clearAnnotatedDatasetDescription()
Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.
string annotated_dataset_description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setAnnotatedDatasetDescriptionBytes
public HumanAnnotationConfig.Builder setAnnotatedDatasetDescriptionBytes(com.google.protobuf.ByteString value)
Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.
string annotated_dataset_description = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for annotatedDatasetDescription to set.- Returns:
- This builder for chaining.
-
getLabelGroup
public String getLabelGroup()
Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.string label_group = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelGroupin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The labelGroup.
-
getLabelGroupBytes
public com.google.protobuf.ByteString getLabelGroupBytes()
Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.string label_group = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelGroupBytesin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The bytes for labelGroup.
-
setLabelGroup
public HumanAnnotationConfig.Builder setLabelGroup(String value)
Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.string label_group = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The labelGroup to set.- Returns:
- This builder for chaining.
-
clearLabelGroup
public HumanAnnotationConfig.Builder clearLabelGroup()
Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.string label_group = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setLabelGroupBytes
public HumanAnnotationConfig.Builder setLabelGroupBytes(com.google.protobuf.ByteString value)
Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.string label_group = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for labelGroup to set.- Returns:
- This builder for chaining.
-
getLanguageCode
public String getLanguageCode()
Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.
string language_code = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageCodein interfaceHumanAnnotationConfigOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()
Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.
string language_code = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageCodeBytesin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
public HumanAnnotationConfig.Builder setLanguageCode(String value)
Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.
string language_code = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
public HumanAnnotationConfig.Builder clearLanguageCode()
Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.
string language_code = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
public HumanAnnotationConfig.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.
string language_code = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
getReplicaCount
public int getReplicaCount()
Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.
int32 replica_count = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReplicaCountin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The replicaCount.
-
setReplicaCount
public HumanAnnotationConfig.Builder setReplicaCount(int value)
Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.
int32 replica_count = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The replicaCount to set.- Returns:
- This builder for chaining.
-
clearReplicaCount
public HumanAnnotationConfig.Builder clearReplicaCount()
Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.
int32 replica_count = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasQuestionDuration
public boolean hasQuestionDuration()
Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
.google.protobuf.Duration question_duration = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasQuestionDurationin interfaceHumanAnnotationConfigOrBuilder- Returns:
- Whether the questionDuration field is set.
-
getQuestionDuration
public com.google.protobuf.Duration getQuestionDuration()
Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
.google.protobuf.Duration question_duration = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getQuestionDurationin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The questionDuration.
-
setQuestionDuration
public HumanAnnotationConfig.Builder setQuestionDuration(com.google.protobuf.Duration value)
Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
.google.protobuf.Duration question_duration = 7 [(.google.api.field_behavior) = OPTIONAL];
-
setQuestionDuration
public HumanAnnotationConfig.Builder setQuestionDuration(com.google.protobuf.Duration.Builder builderForValue)
Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
.google.protobuf.Duration question_duration = 7 [(.google.api.field_behavior) = OPTIONAL];
-
mergeQuestionDuration
public HumanAnnotationConfig.Builder mergeQuestionDuration(com.google.protobuf.Duration value)
Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
.google.protobuf.Duration question_duration = 7 [(.google.api.field_behavior) = OPTIONAL];
-
clearQuestionDuration
public HumanAnnotationConfig.Builder clearQuestionDuration()
Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
.google.protobuf.Duration question_duration = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getQuestionDurationBuilder
public com.google.protobuf.Duration.Builder getQuestionDurationBuilder()
Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
.google.protobuf.Duration question_duration = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getQuestionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getQuestionDurationOrBuilder()
Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
.google.protobuf.Duration question_duration = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getQuestionDurationOrBuilderin interfaceHumanAnnotationConfigOrBuilder
-
getContributorEmailsList
public com.google.protobuf.ProtocolStringList getContributorEmailsList()
Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
repeated string contributor_emails = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContributorEmailsListin interfaceHumanAnnotationConfigOrBuilder- Returns:
- A list containing the contributorEmails.
-
getContributorEmailsCount
public int getContributorEmailsCount()
Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
repeated string contributor_emails = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContributorEmailsCountin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The count of contributorEmails.
-
getContributorEmails
public String getContributorEmails(int index)
Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
repeated string contributor_emails = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContributorEmailsin interfaceHumanAnnotationConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The contributorEmails at the given index.
-
getContributorEmailsBytes
public com.google.protobuf.ByteString getContributorEmailsBytes(int index)
Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
repeated string contributor_emails = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContributorEmailsBytesin interfaceHumanAnnotationConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the contributorEmails at the given index.
-
setContributorEmails
public HumanAnnotationConfig.Builder setContributorEmails(int index, String value)
Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
repeated string contributor_emails = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The contributorEmails to set.- Returns:
- This builder for chaining.
-
addContributorEmails
public HumanAnnotationConfig.Builder addContributorEmails(String value)
Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
repeated string contributor_emails = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The contributorEmails to add.- Returns:
- This builder for chaining.
-
addAllContributorEmails
public HumanAnnotationConfig.Builder addAllContributorEmails(Iterable<String> values)
Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
repeated string contributor_emails = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The contributorEmails to add.- Returns:
- This builder for chaining.
-
clearContributorEmails
public HumanAnnotationConfig.Builder clearContributorEmails()
Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
repeated string contributor_emails = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addContributorEmailsBytes
public HumanAnnotationConfig.Builder addContributorEmailsBytes(com.google.protobuf.ByteString value)
Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
repeated string contributor_emails = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the contributorEmails to add.- Returns:
- This builder for chaining.
-
getUserEmailAddress
public String getUserEmailAddress()
Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.
string user_email_address = 10;- Specified by:
getUserEmailAddressin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The userEmailAddress.
-
getUserEmailAddressBytes
public com.google.protobuf.ByteString getUserEmailAddressBytes()
Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.
string user_email_address = 10;- Specified by:
getUserEmailAddressBytesin interfaceHumanAnnotationConfigOrBuilder- Returns:
- The bytes for userEmailAddress.
-
setUserEmailAddress
public HumanAnnotationConfig.Builder setUserEmailAddress(String value)
Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.
string user_email_address = 10;- Parameters:
value- The userEmailAddress to set.- Returns:
- This builder for chaining.
-
clearUserEmailAddress
public HumanAnnotationConfig.Builder clearUserEmailAddress()
Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.
string user_email_address = 10;- Returns:
- This builder for chaining.
-
setUserEmailAddressBytes
public HumanAnnotationConfig.Builder setUserEmailAddressBytes(com.google.protobuf.ByteString value)
Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.
string user_email_address = 10;- Parameters:
value- The bytes for userEmailAddress to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final HumanAnnotationConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAnnotationConfig.Builder>
-
mergeUnknownFields
public final HumanAnnotationConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAnnotationConfig.Builder>
-
-