public final class CustomProcessorSourceInfo extends GeneratedMessageV3 implements CustomProcessorSourceInfoOrBuilder
Describes the source info for a custom processor.
Protobuf type google.events.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 |
|
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;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAdditionalInfo()
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;
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;
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;
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;
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.events.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.events.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema model_schema = 5;
getParserForType()
public Parser<CustomProcessorSourceInfo> getParserForType()
Overrides
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.events.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;
getSourceTypeValue()
public int getSourceTypeValue()
The original product which holds the custom processor's functionality.
.google.events.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for sourceType.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.events.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema model_schema = 5;
Returns |
Type |
Description |
boolean |
Whether the modelSchema 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
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
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