Package com.google.cloud.visionai.v1
Class CustomProcessorSourceInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.CustomProcessorSourceInfo
- All Implemented Interfaces:
CustomProcessorSourceInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class CustomProcessorSourceInfo
extends com.google.protobuf.GeneratedMessage
implements CustomProcessorSourceInfoOrBuilder
Describes the source info for a custom processor.Protobuf type
google.cloud.visionai.v1.CustomProcessorSourceInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classDescribes the source info for a custom processor.static final classThe schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).static interfacestatic final classMessage describes product recognizer artifact.static interfacestatic enumSource type of the imported custom processor.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 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 TypeMethodDescriptionbooleanOutput only.booleanDeprecated.intOutput only.Output only.getAdditionalInfoOrDefault(String key, String defaultValue) Output only.Output only.static CustomProcessorSourceInfostatic final com.google.protobuf.Descriptors.DescriptorModel schema files which specifies the signature of the model.Model schema files which specifies the signature of the model.com.google.protobuf.Parser<CustomProcessorSourceInfo>Artifact for product recognizer.Artifact for product recognizer.intThe original product which holds the custom processor's functionality.intThe original product which holds the custom processor's functionality.The resource name original model hosted in the vertex AI platform.com.google.protobuf.ByteStringThe resource name original model hosted in the vertex AI platform.inthashCode()booleanModel schema files which specifies the signature of the model.booleanArtifact for product recognizer.booleanThe resource name original model hosted in the vertex AI platform.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(CustomProcessorSourceInfo prototype) protected CustomProcessorSourceInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CustomProcessorSourceInfoparseDelimitedFrom(InputStream input) static CustomProcessorSourceInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CustomProcessorSourceInfoparseFrom(byte[] data) static CustomProcessorSourceInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CustomProcessorSourceInfoparseFrom(com.google.protobuf.ByteString data) static CustomProcessorSourceInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CustomProcessorSourceInfoparseFrom(com.google.protobuf.CodedInputStream input) static CustomProcessorSourceInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CustomProcessorSourceInfoparseFrom(InputStream input) static CustomProcessorSourceInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CustomProcessorSourceInfoparseFrom(ByteBuffer data) static CustomProcessorSourceInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CustomProcessorSourceInfo>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, 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
-
VERTEX_MODEL_FIELD_NUMBER
public static final int VERTEX_MODEL_FIELD_NUMBER- See Also:
-
PRODUCT_RECOGNIZER_ARTIFACT_FIELD_NUMBER
public static final int PRODUCT_RECOGNIZER_ARTIFACT_FIELD_NUMBER- See Also:
-
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER- See Also:
-
ADDITIONAL_INFO_FIELD_NUMBER
public static final int ADDITIONAL_INFO_FIELD_NUMBER- See Also:
-
MODEL_SCHEMA_FIELD_NUMBER
public static final int MODEL_SCHEMA_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getArtifactPathCase
- Specified by:
getArtifactPathCasein interfaceCustomProcessorSourceInfoOrBuilder
-
hasVertexModel
public boolean hasVertexModel()The resource name original model hosted in the vertex AI platform.
string vertex_model = 2;- Specified by:
hasVertexModelin interfaceCustomProcessorSourceInfoOrBuilder- Returns:
- Whether the vertexModel field is set.
-
getVertexModel
The resource name original model hosted in the vertex AI platform.
string vertex_model = 2;- Specified by:
getVertexModelin interfaceCustomProcessorSourceInfoOrBuilder- Returns:
- The vertexModel.
-
getVertexModelBytes
public com.google.protobuf.ByteString getVertexModelBytes()The resource name original model hosted in the vertex AI platform.
string vertex_model = 2;- Specified by:
getVertexModelBytesin interfaceCustomProcessorSourceInfoOrBuilder- Returns:
- The bytes for vertexModel.
-
hasProductRecognizerArtifact
public boolean hasProductRecognizerArtifact()Artifact for product recognizer.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;- Specified by:
hasProductRecognizerArtifactin interfaceCustomProcessorSourceInfoOrBuilder- Returns:
- Whether the productRecognizerArtifact field is set.
-
getProductRecognizerArtifact
Artifact for product recognizer.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;- Specified by:
getProductRecognizerArtifactin interfaceCustomProcessorSourceInfoOrBuilder- Returns:
- The productRecognizerArtifact.
-
getProductRecognizerArtifactOrBuilder
public CustomProcessorSourceInfo.ProductRecognizerArtifactOrBuilder getProductRecognizerArtifactOrBuilder()Artifact for product recognizer.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;- Specified by:
getProductRecognizerArtifactOrBuilderin interfaceCustomProcessorSourceInfoOrBuilder
-
getSourceTypeValue
public int getSourceTypeValue()The original product which holds the custom processor's functionality.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;- Specified by:
getSourceTypeValuein interfaceCustomProcessorSourceInfoOrBuilder- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
The original product which holds the custom processor's functionality.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;- Specified by:
getSourceTypein interfaceCustomProcessorSourceInfoOrBuilder- Returns:
- The sourceType.
-
getAdditionalInfoCount
public int getAdditionalInfoCount()Description copied from interface:CustomProcessorSourceInfoOrBuilderOutput only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.
map<string, string> additional_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdditionalInfoCountin interfaceCustomProcessorSourceInfoOrBuilder
-
containsAdditionalInfo
Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.
map<string, string> additional_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
containsAdditionalInfoin interfaceCustomProcessorSourceInfoOrBuilder
-
getAdditionalInfo
Deprecated.UsegetAdditionalInfoMap()instead.- Specified by:
getAdditionalInfoin interfaceCustomProcessorSourceInfoOrBuilder
-
getAdditionalInfoMap
Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.
map<string, string> additional_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdditionalInfoMapin interfaceCustomProcessorSourceInfoOrBuilder
-
getAdditionalInfoOrDefault
Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.
map<string, string> additional_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdditionalInfoOrDefaultin interfaceCustomProcessorSourceInfoOrBuilder
-
getAdditionalInfoOrThrow
Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation.
map<string, string> additional_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdditionalInfoOrThrowin interfaceCustomProcessorSourceInfoOrBuilder
-
hasModelSchema
public boolean hasModelSchema()Model schema files which specifies the signature of the model. For VERTEX_CUSTOM models, instances schema is required. If instances schema is not specified during the processor creation, VisionAI Platform will try to get it from Vertex, if it doesn't exist, the creation will fail.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema model_schema = 5;- Specified by:
hasModelSchemain interfaceCustomProcessorSourceInfoOrBuilder- Returns:
- Whether the modelSchema field is set.
-
getModelSchema
Model schema files which specifies the signature of the model. For VERTEX_CUSTOM models, instances schema is required. If instances schema is not specified during the processor creation, VisionAI Platform will try to get it from Vertex, if it doesn't exist, the creation will fail.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema model_schema = 5;- Specified by:
getModelSchemain interfaceCustomProcessorSourceInfoOrBuilder- Returns:
- The modelSchema.
-
getModelSchemaOrBuilder
Model schema files which specifies the signature of the model. For VERTEX_CUSTOM models, instances schema is required. If instances schema is not specified during the processor creation, VisionAI Platform will try to get it from Vertex, if it doesn't exist, the creation will fail.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema model_schema = 5;- Specified by:
getModelSchemaOrBuilderin interfaceCustomProcessorSourceInfoOrBuilder
-
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 CustomProcessorSourceInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CustomProcessorSourceInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CustomProcessorSourceInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CustomProcessorSourceInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CustomProcessorSourceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CustomProcessorSourceInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CustomProcessorSourceInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CustomProcessorSourceInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CustomProcessorSourceInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CustomProcessorSourceInfo 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 CustomProcessorSourceInfo.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
-