public static final class CustomProcessorSourceInfo.Builder extends GeneratedMessageV3.Builder<CustomProcessorSourceInfo.Builder> implements CustomProcessorSourceInfoOrBuilder
Describes the source info for a custom processor.
Protobuf type google.events.cloud.visionai.v1.CustomProcessorSourceInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomProcessorSourceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CustomProcessorSourceInfo build()
buildPartial()
public CustomProcessorSourceInfo buildPartial()
clear()
public CustomProcessorSourceInfo.Builder clear()
Overrides
clearAdditionalInfo()
public CustomProcessorSourceInfo.Builder clearAdditionalInfo()
clearArtifactPath()
public CustomProcessorSourceInfo.Builder clearArtifactPath()
clearField(Descriptors.FieldDescriptor field)
public CustomProcessorSourceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearModelSchema()
public CustomProcessorSourceInfo.Builder clearModelSchema()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomProcessorSourceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSourceType()
public CustomProcessorSourceInfo.Builder clearSourceType()
The original product which holds the custom processor's functionality.
.google.events.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;
clearVertexModel()
public CustomProcessorSourceInfo.Builder clearVertexModel()
The resource name original model hosted in the vertex AI platform.
string vertex_model = 2;
clone()
public CustomProcessorSourceInfo.Builder clone()
Overrides
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
getModelSchemaBuilder()
public CustomProcessorSourceInfo.ModelSchema.Builder getModelSchemaBuilder()
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;
getMutableAdditionalInfo()
public Map<String,String> getMutableAdditionalInfo()
Use alternate mutation accessors instead.
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CustomProcessorSourceInfo other)
public CustomProcessorSourceInfo.Builder mergeFrom(CustomProcessorSourceInfo other)
public CustomProcessorSourceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CustomProcessorSourceInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeModelSchema(CustomProcessorSourceInfo.ModelSchema value)
public CustomProcessorSourceInfo.Builder mergeModelSchema(CustomProcessorSourceInfo.ModelSchema value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomProcessorSourceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAdditionalInfo(String key, String value)
public CustomProcessorSourceInfo.Builder putAdditionalInfo(String key, String value)
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;
putAllAdditionalInfo(Map<String,String> values)
public CustomProcessorSourceInfo.Builder putAllAdditionalInfo(Map<String,String> values)
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;
removeAdditionalInfo(String key)
public CustomProcessorSourceInfo.Builder removeAdditionalInfo(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
|
setField(Descriptors.FieldDescriptor field, Object value)
public CustomProcessorSourceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setModelSchema(CustomProcessorSourceInfo.ModelSchema value)
public CustomProcessorSourceInfo.Builder setModelSchema(CustomProcessorSourceInfo.ModelSchema value)
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;
setModelSchema(CustomProcessorSourceInfo.ModelSchema.Builder builderForValue)
public CustomProcessorSourceInfo.Builder setModelSchema(CustomProcessorSourceInfo.ModelSchema.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomProcessorSourceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSourceType(CustomProcessorSourceInfo.SourceType value)
public CustomProcessorSourceInfo.Builder setSourceType(CustomProcessorSourceInfo.SourceType value)
The original product which holds the custom processor's functionality.
.google.events.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;
setSourceTypeValue(int value)
public CustomProcessorSourceInfo.Builder setSourceTypeValue(int value)
The original product which holds the custom processor's functionality.
.google.events.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType source_type = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for sourceType to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomProcessorSourceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVertexModel(String value)
public CustomProcessorSourceInfo.Builder setVertexModel(String value)
The resource name original model hosted in the vertex AI platform.
string vertex_model = 2;
Parameter |
Name |
Description |
value |
String
The vertexModel to set.
|
setVertexModelBytes(ByteString value)
public CustomProcessorSourceInfo.Builder setVertexModelBytes(ByteString value)
The resource name original model hosted in the vertex AI platform.
string vertex_model = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for vertexModel to set.
|