public static final class AnalyzerDefinition.OperatorOption.Builder extends GeneratedMessageV3.Builder<AnalyzerDefinition.OperatorOption.Builder> implements AnalyzerDefinition.OperatorOptionOrBuilder
Option related to the operator.
Protobuf type google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzerDefinition.OperatorOption.BuilderImplements
AnalyzerDefinition.OperatorOptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzerDefinition.OperatorOption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
build()
public AnalyzerDefinition.OperatorOption build()
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption |
buildPartial()
public AnalyzerDefinition.OperatorOption buildPartial()
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption |
clear()
public AnalyzerDefinition.OperatorOption.Builder clear()
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
clearField(Descriptors.FieldDescriptor field)
public AnalyzerDefinition.OperatorOption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzerDefinition.OperatorOption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
clearRegistry()
public AnalyzerDefinition.OperatorOption.Builder clearRegistry()
Registry of the operator. e.g. public, dev.
string registry = 2;
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
This builder for chaining. |
clearTag()
public AnalyzerDefinition.OperatorOption.Builder clearTag()
Tag of the operator.
string tag = 1;
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
This builder for chaining. |
clone()
public AnalyzerDefinition.OperatorOption.Builder clone()
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
getDefaultInstanceForType()
public AnalyzerDefinition.OperatorOption getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRegistry()
public String getRegistry()
Registry of the operator. e.g. public, dev.
string registry = 2;
Returns | |
---|---|
Type | Description |
String |
The registry. |
getRegistryBytes()
public ByteString getRegistryBytes()
Registry of the operator. e.g. public, dev.
string registry = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for registry. |
getTag()
public String getTag()
Tag of the operator.
string tag = 1;
Returns | |
---|---|
Type | Description |
String |
The tag. |
getTagBytes()
public ByteString getTagBytes()
Tag of the operator.
string tag = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for tag. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AnalyzerDefinition.OperatorOption other)
public AnalyzerDefinition.OperatorOption.Builder mergeFrom(AnalyzerDefinition.OperatorOption other)
Parameter | |
---|---|
Name | Description |
other |
AnalyzerDefinition.OperatorOption |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyzerDefinition.OperatorOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AnalyzerDefinition.OperatorOption.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzerDefinition.OperatorOption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzerDefinition.OperatorOption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
setRegistry(String value)
public AnalyzerDefinition.OperatorOption.Builder setRegistry(String value)
Registry of the operator. e.g. public, dev.
string registry = 2;
Parameter | |
---|---|
Name | Description |
value |
String The registry to set. |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
This builder for chaining. |
setRegistryBytes(ByteString value)
public AnalyzerDefinition.OperatorOption.Builder setRegistryBytes(ByteString value)
Registry of the operator. e.g. public, dev.
string registry = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for registry to set. |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzerDefinition.OperatorOption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
setTag(String value)
public AnalyzerDefinition.OperatorOption.Builder setTag(String value)
Tag of the operator.
string tag = 1;
Parameter | |
---|---|
Name | Description |
value |
String The tag to set. |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
This builder for chaining. |
setTagBytes(ByteString value)
public AnalyzerDefinition.OperatorOption.Builder setTagBytes(ByteString value)
Tag of the operator.
string tag = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for tag to set. |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzerDefinition.OperatorOption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AnalyzerDefinition.OperatorOption.Builder |