public final class OperatorQuery extends GeneratedMessageV3 implements OperatorQueryOrBuilder
OperatorQuery represents one query to a Operator.
Protobuf type google.cloud.visionai.v1.OperatorQuery
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > OperatorQueryImplements
OperatorQueryOrBuilderStatic Fields
OPERATOR_FIELD_NUMBER
public static final int OPERATOR_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
REGISTRY_FIELD_NUMBER
public static final int REGISTRY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TAG_FIELD_NUMBER
public static final int TAG_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static OperatorQuery getDefaultInstance()
Returns | |
---|---|
Type | Description |
OperatorQuery |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static OperatorQuery.Builder newBuilder()
Returns | |
---|---|
Type | Description |
OperatorQuery.Builder |
newBuilder(OperatorQuery prototype)
public static OperatorQuery.Builder newBuilder(OperatorQuery prototype)
Parameter | |
---|---|
Name | Description |
prototype |
OperatorQuery |
Returns | |
---|---|
Type | Description |
OperatorQuery.Builder |
parseDelimitedFrom(InputStream input)
public static OperatorQuery parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
OperatorQuery |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OperatorQuery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OperatorQuery |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static OperatorQuery parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
OperatorQuery |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OperatorQuery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OperatorQuery |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static OperatorQuery parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
OperatorQuery |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OperatorQuery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OperatorQuery |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static OperatorQuery parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
OperatorQuery |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OperatorQuery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OperatorQuery |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static OperatorQuery parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
OperatorQuery |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OperatorQuery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OperatorQuery |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static OperatorQuery parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
OperatorQuery |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OperatorQuery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OperatorQuery |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<OperatorQuery> parser()
Returns | |
---|---|
Type | Description |
Parser<OperatorQuery> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public OperatorQuery getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OperatorQuery |
getOperator()
public String getOperator()
Required. The canonical Name of the operator. e.g. OccupancyCounting.
string operator = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The operator. |
getOperatorBytes()
public ByteString getOperatorBytes()
Required. The canonical Name of the operator. e.g. OccupancyCounting.
string operator = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for operator. |
getParserForType()
public Parser<OperatorQuery> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<OperatorQuery> |
getRegistry()
public Registry getRegistry()
Optional. Registry of the operator.
.google.cloud.visionai.v1.Registry registry = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Registry |
The registry. |
getRegistryValue()
public int getRegistryValue()
Optional. Registry of the operator.
.google.cloud.visionai.v1.Registry registry = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for registry. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getTag()
public String getTag()
Optional. Tag of the operator.
string tag = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The tag. |
getTagBytes()
public ByteString getTagBytes()
Optional. Tag of the operator.
string tag = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for tag. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public OperatorQuery.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
OperatorQuery.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OperatorQuery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
OperatorQuery.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public OperatorQuery.Builder toBuilder()
Returns | |
---|---|
Type | Description |
OperatorQuery.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |