public static final class SegmentationConfig.Builder extends GeneratedMessage.Builder<SegmentationConfig.Builder> implements SegmentationConfigOrBuilderConfig for image segmentation
Protobuf type google.cloud.datalabeling.v1beta1.SegmentationConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SegmentationConfig.BuilderImplements
SegmentationConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SegmentationConfig build()| Returns | |
|---|---|
| Type | Description |
SegmentationConfig |
|
buildPartial()
public SegmentationConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
SegmentationConfig |
|
clear()
public SegmentationConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
SegmentationConfig.Builder |
|
clearAnnotationSpecSet()
public SegmentationConfig.Builder clearAnnotationSpecSet()Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SegmentationConfig.Builder |
This builder for chaining. |
clearInstructionMessage()
public SegmentationConfig.Builder clearInstructionMessage()Instruction message showed on labelers UI.
string instruction_message = 2;
| Returns | |
|---|---|
| Type | Description |
SegmentationConfig.Builder |
This builder for chaining. |
getAnnotationSpecSet()
public String getAnnotationSpecSet()Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The annotationSpecSet. |
getAnnotationSpecSetBytes()
public ByteString getAnnotationSpecSetBytes()Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for annotationSpecSet. |
getDefaultInstanceForType()
public SegmentationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SegmentationConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstructionMessage()
public String getInstructionMessage()Instruction message showed on labelers UI.
string instruction_message = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The instructionMessage. |
getInstructionMessageBytes()
public ByteString getInstructionMessageBytes()Instruction message showed on labelers UI.
string instruction_message = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instructionMessage. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SegmentationConfig other)
public SegmentationConfig.Builder mergeFrom(SegmentationConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
SegmentationConfig |
| Returns | |
|---|---|
| Type | Description |
SegmentationConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SegmentationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SegmentationConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SegmentationConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SegmentationConfig.Builder |
|
setAnnotationSpecSet(String value)
public SegmentationConfig.Builder setAnnotationSpecSet(String value)Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe annotationSpecSet to set. |
| Returns | |
|---|---|
| Type | Description |
SegmentationConfig.Builder |
This builder for chaining. |
setAnnotationSpecSetBytes(ByteString value)
public SegmentationConfig.Builder setAnnotationSpecSetBytes(ByteString value)Required. Annotation spec set resource name. format: projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}
string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for annotationSpecSet to set. |
| Returns | |
|---|---|
| Type | Description |
SegmentationConfig.Builder |
This builder for chaining. |
setInstructionMessage(String value)
public SegmentationConfig.Builder setInstructionMessage(String value)Instruction message showed on labelers UI.
string instruction_message = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instructionMessage to set. |
| Returns | |
|---|---|
| Type | Description |
SegmentationConfig.Builder |
This builder for chaining. |
setInstructionMessageBytes(ByteString value)
public SegmentationConfig.Builder setInstructionMessageBytes(ByteString value)Instruction message showed on labelers UI.
string instruction_message = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for instructionMessage to set. |
| Returns | |
|---|---|
| Type | Description |
SegmentationConfig.Builder |
This builder for chaining. |