Package com.google.cloud.visionai.v1
Class OperatorDefinition
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.OperatorDefinition
- All Implemented Interfaces:
OperatorDefinitionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class OperatorDefinition
extends com.google.protobuf.GeneratedMessage
implements OperatorDefinitionOrBuilder
Defines the interface of an Operator. Arguments to an operator are input/output streams that are getting processesed/returned while attributes are fixed configuration parameters.Protobuf type
google.cloud.visionai.v1.OperatorDefinition- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefines an argument to an operator.static interfacestatic final classDefines an attribute of an operator.static interfacestatic final classDefines the interface of an Operator.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttributes(int index) Declares the attributes.intDeclares the attributes.Declares the attributes.getAttributesOrBuilder(int index) Declares the attributes.Declares the attributes.static OperatorDefinitionFull description of the operator.com.google.protobuf.ByteStringFull description of the operator.static final com.google.protobuf.Descriptors.DescriptorgetInputArgs(int index) Declares input arguments.intDeclares input arguments.Declares input arguments.getInputArgsOrBuilder(int index) Declares input arguments.Declares input arguments.The name of this operator.com.google.protobuf.ByteStringThe name of this operator.getOutputArgs(int index) Declares output arguments.intDeclares output arguments.Declares output arguments.getOutputArgsOrBuilder(int index) Declares output arguments.Declares output arguments.com.google.protobuf.Parser<OperatorDefinition>The resources for running the operator.The resources for running the operator.intShort description of the operator.com.google.protobuf.ByteStringShort description of the operator.inthashCode()booleanThe resources for running the operator.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic OperatorDefinition.Builderstatic OperatorDefinition.BuildernewBuilder(OperatorDefinition prototype) protected OperatorDefinition.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static OperatorDefinitionparseDelimitedFrom(InputStream input) static OperatorDefinitionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OperatorDefinitionparseFrom(byte[] data) static OperatorDefinitionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OperatorDefinitionparseFrom(com.google.protobuf.ByteString data) static OperatorDefinitionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OperatorDefinitionparseFrom(com.google.protobuf.CodedInputStream input) static OperatorDefinitionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OperatorDefinitionparseFrom(InputStream input) static OperatorDefinitionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OperatorDefinitionparseFrom(ByteBuffer data) static OperatorDefinitionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<OperatorDefinition>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
OPERATOR_FIELD_NUMBER
public static final int OPERATOR_FIELD_NUMBER- See Also:
-
INPUT_ARGS_FIELD_NUMBER
public static final int INPUT_ARGS_FIELD_NUMBER- See Also:
-
OUTPUT_ARGS_FIELD_NUMBER
public static final int OUTPUT_ARGS_FIELD_NUMBER- See Also:
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER- See Also:
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER- See Also:
-
SHORT_DESCRIPTION_FIELD_NUMBER
public static final int SHORT_DESCRIPTION_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getOperator
The name of this operator. Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, PetDetector1.
string operator = 1;- Specified by:
getOperatorin interfaceOperatorDefinitionOrBuilder- Returns:
- The operator.
-
getOperatorBytes
public com.google.protobuf.ByteString getOperatorBytes()The name of this operator. Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, PetDetector1.
string operator = 1;- Specified by:
getOperatorBytesin interfaceOperatorDefinitionOrBuilder- Returns:
- The bytes for operator.
-
getInputArgsList
Declares input arguments.
repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition input_args = 2;- Specified by:
getInputArgsListin interfaceOperatorDefinitionOrBuilder
-
getInputArgsOrBuilderList
Declares input arguments.
repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition input_args = 2;- Specified by:
getInputArgsOrBuilderListin interfaceOperatorDefinitionOrBuilder
-
getInputArgsCount
public int getInputArgsCount()Declares input arguments.
repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition input_args = 2;- Specified by:
getInputArgsCountin interfaceOperatorDefinitionOrBuilder
-
getInputArgs
Declares input arguments.
repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition input_args = 2;- Specified by:
getInputArgsin interfaceOperatorDefinitionOrBuilder
-
getInputArgsOrBuilder
Declares input arguments.
repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition input_args = 2;- Specified by:
getInputArgsOrBuilderin interfaceOperatorDefinitionOrBuilder
-
getOutputArgsList
Declares output arguments.
repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition output_args = 3;- Specified by:
getOutputArgsListin interfaceOperatorDefinitionOrBuilder
-
getOutputArgsOrBuilderList
Declares output arguments.
repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition output_args = 3;- Specified by:
getOutputArgsOrBuilderListin interfaceOperatorDefinitionOrBuilder
-
getOutputArgsCount
public int getOutputArgsCount()Declares output arguments.
repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition output_args = 3;- Specified by:
getOutputArgsCountin interfaceOperatorDefinitionOrBuilder
-
getOutputArgs
Declares output arguments.
repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition output_args = 3;- Specified by:
getOutputArgsin interfaceOperatorDefinitionOrBuilder
-
getOutputArgsOrBuilder
Declares output arguments.
repeated .google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition output_args = 3;- Specified by:
getOutputArgsOrBuilderin interfaceOperatorDefinitionOrBuilder
-
getAttributesList
Declares the attributes.
repeated .google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition attributes = 4;- Specified by:
getAttributesListin interfaceOperatorDefinitionOrBuilder
-
getAttributesOrBuilderList
Declares the attributes.
repeated .google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition attributes = 4;- Specified by:
getAttributesOrBuilderListin interfaceOperatorDefinitionOrBuilder
-
getAttributesCount
public int getAttributesCount()Declares the attributes.
repeated .google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition attributes = 4;- Specified by:
getAttributesCountin interfaceOperatorDefinitionOrBuilder
-
getAttributes
Declares the attributes.
repeated .google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition attributes = 4;- Specified by:
getAttributesin interfaceOperatorDefinitionOrBuilder
-
getAttributesOrBuilder
Declares the attributes.
repeated .google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition attributes = 4;- Specified by:
getAttributesOrBuilderin interfaceOperatorDefinitionOrBuilder
-
hasResources
public boolean hasResources()The resources for running the operator.
.google.cloud.visionai.v1.ResourceSpecification resources = 5;- Specified by:
hasResourcesin interfaceOperatorDefinitionOrBuilder- Returns:
- Whether the resources field is set.
-
getResources
The resources for running the operator.
.google.cloud.visionai.v1.ResourceSpecification resources = 5;- Specified by:
getResourcesin interfaceOperatorDefinitionOrBuilder- Returns:
- The resources.
-
getResourcesOrBuilder
The resources for running the operator.
.google.cloud.visionai.v1.ResourceSpecification resources = 5;- Specified by:
getResourcesOrBuilderin interfaceOperatorDefinitionOrBuilder
-
getShortDescription
Short description of the operator.
string short_description = 6;- Specified by:
getShortDescriptionin interfaceOperatorDefinitionOrBuilder- Returns:
- The shortDescription.
-
getShortDescriptionBytes
public com.google.protobuf.ByteString getShortDescriptionBytes()Short description of the operator.
string short_description = 6;- Specified by:
getShortDescriptionBytesin interfaceOperatorDefinitionOrBuilder- Returns:
- The bytes for shortDescription.
-
getDescription
Full description of the operator.
string description = 7;- Specified by:
getDescriptionin interfaceOperatorDefinitionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Full description of the operator.
string description = 7;- Specified by:
getDescriptionBytesin interfaceOperatorDefinitionOrBuilder- Returns:
- The bytes for description.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OperatorDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperatorDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperatorDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperatorDefinition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperatorDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OperatorDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OperatorDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static OperatorDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static OperatorDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static OperatorDefinition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OperatorDefinition.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-