public final class CustomProcessorSourceInfo extends GeneratedMessageV3 implements CustomProcessorSourceInfoOrBuilder
Describes the source info for a custom processor.
Protobuf type google.cloud.visionai.v1.CustomProcessorSourceInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADDITIONAL_INFO_FIELD_NUMBER
public static final int ADDITIONAL_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MODEL_SCHEMA_FIELD_NUMBER
public static final int MODEL_SCHEMA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PRODUCT_RECOGNIZER_ARTIFACT_FIELD_NUMBER
public static final int PRODUCT_RECOGNIZER_ARTIFACT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VERTEX_MODEL_FIELD_NUMBER
public static final int VERTEX_MODEL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CustomProcessorSourceInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CustomProcessorSourceInfo.Builder newBuilder()
newBuilder(CustomProcessorSourceInfo prototype)
public static CustomProcessorSourceInfo.Builder newBuilder(CustomProcessorSourceInfo prototype)
public static CustomProcessorSourceInfo parseDelimitedFrom(InputStream input)
public static CustomProcessorSourceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CustomProcessorSourceInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomProcessorSourceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CustomProcessorSourceInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomProcessorSourceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomProcessorSourceInfo parseFrom(CodedInputStream input)
public static CustomProcessorSourceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomProcessorSourceInfo parseFrom(InputStream input)
public static CustomProcessorSourceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CustomProcessorSourceInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomProcessorSourceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CustomProcessorSourceInfo> parser()
Methods
containsAdditionalInfo(String key)
public boolean containsAdditionalInfo(String key)
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];
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAdditionalInfo() (deprecated)
public Map<String,String> getAdditionalInfo()
getAdditionalInfoCount()
public int getAdditionalInfoCount()
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];
Returns |
Type |
Description |
int |
|
getAdditionalInfoMap()
public Map<String,String> 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];
getAdditionalInfoOrDefault(String key, String defaultValue)
public String getAdditionalInfoOrDefault(String key, String defaultValue)
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];
Returns |
Type |
Description |
String |
|
getAdditionalInfoOrThrow(String key)
public String getAdditionalInfoOrThrow(String key)
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];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getArtifactPathCase()
public CustomProcessorSourceInfo.ArtifactPathCase getArtifactPathCase()
getDefaultInstanceForType()
public CustomProcessorSourceInfo getDefaultInstanceForType()
getModelSchema()
public CustomProcessorSourceInfo.ModelSchema 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;
getModelSchemaOrBuilder()
public CustomProcessorSourceInfo.ModelSchemaOrBuilder 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;
getParserForType()
public Parser<CustomProcessorSourceInfo> getParserForType()
Overrides
getProductRecognizerArtifact()
public CustomProcessorSourceInfo.ProductRecognizerArtifact getProductRecognizerArtifact()
Artifact for product recognizer.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;
getProductRecognizerArtifactOrBuilder()
public CustomProcessorSourceInfo.ProductRecognizerArtifactOrBuilder getProductRecognizerArtifactOrBuilder()
Artifact for product recognizer.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSourceType()
public CustomProcessorSourceInfo.SourceType getSourceType()
The original product which holds the custom processor's functionality.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;
getSourceTypeValue()
public int getSourceTypeValue()
The original product which holds the custom processor's functionality.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for sourceType.
|
getVertexModel()
public String getVertexModel()
The resource name original model hosted in the vertex AI platform.
string vertex_model = 2;
Returns |
Type |
Description |
String |
The vertexModel.
|
getVertexModelBytes()
public ByteString getVertexModelBytes()
The resource name original model hosted in the vertex AI platform.
string vertex_model = 2;
Returns |
Type |
Description |
ByteString |
The bytes for vertexModel.
|
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;
Returns |
Type |
Description |
boolean |
Whether the modelSchema field is set.
|
hasProductRecognizerArtifact()
public boolean hasProductRecognizerArtifact()
Artifact for product recognizer.
.google.cloud.visionai.v1.CustomProcessorSourceInfo.ProductRecognizerArtifact product_recognizer_artifact = 3;
Returns |
Type |
Description |
boolean |
Whether the productRecognizerArtifact field is set.
|
hasVertexModel()
public boolean hasVertexModel()
The resource name original model hosted in the vertex AI platform.
string vertex_model = 2;
Returns |
Type |
Description |
boolean |
Whether the vertexModel field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CustomProcessorSourceInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomProcessorSourceInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CustomProcessorSourceInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides