Package com.google.cloud.visionai.v1
Class VertexCustomConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.VertexCustomConfig
- All Implemented Interfaces:
VertexCustomConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class VertexCustomConfig
extends com.google.protobuf.GeneratedMessage
implements VertexCustomConfigOrBuilder
Message describing VertexCustomConfig.Protobuf type
google.cloud.visionai.v1.VertexCustomConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMessage describing VertexCustomConfig.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 TypeMethodDescriptionbooleanbooleanIf true, the prediction request received by custom model will also contain metadata with the following schema: 'appPlatformMetadata': { 'ingestionTime': DOUBLE; (UNIX timestamp) 'application': STRING; 'instanceId': STRING; 'node': STRING; 'processor': STRING; }A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.static VertexCustomConfigstatic final com.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.intThe max prediction frame per second.com.google.protobuf.Parser<VertexCustomConfig>If not empty, the prediction result will be sent to the specified cloud function for post processingcom.google.protobuf.ByteStringIf not empty, the prediction result will be sent to the specified cloud function for post processingintbooleanA description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.booleanOptional.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic VertexCustomConfig.Builderstatic VertexCustomConfig.BuildernewBuilder(VertexCustomConfig prototype) protected VertexCustomConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static VertexCustomConfigparseDelimitedFrom(InputStream input) static VertexCustomConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VertexCustomConfigparseFrom(byte[] data) static VertexCustomConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VertexCustomConfigparseFrom(com.google.protobuf.ByteString data) static VertexCustomConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VertexCustomConfigparseFrom(com.google.protobuf.CodedInputStream input) static VertexCustomConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VertexCustomConfigparseFrom(InputStream input) static VertexCustomConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VertexCustomConfigparseFrom(ByteBuffer data) static VertexCustomConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VertexCustomConfig>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
-
MAX_PREDICTION_FPS_FIELD_NUMBER
public static final int MAX_PREDICTION_FPS_FIELD_NUMBER- See Also:
-
DEDICATED_RESOURCES_FIELD_NUMBER
public static final int DEDICATED_RESOURCES_FIELD_NUMBER- See Also:
-
POST_PROCESSING_CLOUD_FUNCTION_FIELD_NUMBER
public static final int POST_PROCESSING_CLOUD_FUNCTION_FIELD_NUMBER- See Also:
-
ATTACH_APPLICATION_METADATA_FIELD_NUMBER
public static final int ATTACH_APPLICATION_METADATA_FIELD_NUMBER- See Also:
-
DYNAMIC_CONFIG_INPUT_TOPIC_FIELD_NUMBER
public static final int DYNAMIC_CONFIG_INPUT_TOPIC_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
-
getMaxPredictionFps
public int getMaxPredictionFps()The max prediction frame per second. This attribute sets how fast the operator sends prediction requests to Vertex AI endpoint. Default value is 0, which means there is no max prediction fps limit. The operator sends prediction requests at input fps.
int32 max_prediction_fps = 1;- Specified by:
getMaxPredictionFpsin interfaceVertexCustomConfigOrBuilder- Returns:
- The maxPredictionFps.
-
hasDedicatedResources
public boolean hasDedicatedResources()A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
.google.cloud.visionai.v1.DedicatedResources dedicated_resources = 2;- Specified by:
hasDedicatedResourcesin interfaceVertexCustomConfigOrBuilder- Returns:
- Whether the dedicatedResources field is set.
-
getDedicatedResources
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
.google.cloud.visionai.v1.DedicatedResources dedicated_resources = 2;- Specified by:
getDedicatedResourcesin interfaceVertexCustomConfigOrBuilder- Returns:
- The dedicatedResources.
-
getDedicatedResourcesOrBuilder
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration.
.google.cloud.visionai.v1.DedicatedResources dedicated_resources = 2;- Specified by:
getDedicatedResourcesOrBuilderin interfaceVertexCustomConfigOrBuilder
-
getPostProcessingCloudFunction
If not empty, the prediction result will be sent to the specified cloud function for post processing. * The cloud function will receive AppPlatformCloudFunctionRequest where the annotations field will be the json format of proto PredictResponse. * The cloud function should return AppPlatformCloudFunctionResponse with PredictResponse stored in the annotations field. * To drop the prediction output, simply clear the payload field in the returned AppPlatformCloudFunctionResponse.
string post_processing_cloud_function = 3;- Specified by:
getPostProcessingCloudFunctionin interfaceVertexCustomConfigOrBuilder- Returns:
- The postProcessingCloudFunction.
-
getPostProcessingCloudFunctionBytes
public com.google.protobuf.ByteString getPostProcessingCloudFunctionBytes()If not empty, the prediction result will be sent to the specified cloud function for post processing. * The cloud function will receive AppPlatformCloudFunctionRequest where the annotations field will be the json format of proto PredictResponse. * The cloud function should return AppPlatformCloudFunctionResponse with PredictResponse stored in the annotations field. * To drop the prediction output, simply clear the payload field in the returned AppPlatformCloudFunctionResponse.
string post_processing_cloud_function = 3;- Specified by:
getPostProcessingCloudFunctionBytesin interfaceVertexCustomConfigOrBuilder- Returns:
- The bytes for postProcessingCloudFunction.
-
getAttachApplicationMetadata
public boolean getAttachApplicationMetadata()If true, the prediction request received by custom model will also contain metadata with the following schema: 'appPlatformMetadata': { 'ingestionTime': DOUBLE; (UNIX timestamp) 'application': STRING; 'instanceId': STRING; 'node': STRING; 'processor': STRING; }bool attach_application_metadata = 4;- Specified by:
getAttachApplicationMetadatain interfaceVertexCustomConfigOrBuilder- Returns:
- The attachApplicationMetadata.
-
hasDynamicConfigInputTopic
public boolean hasDynamicConfigInputTopic()Optional. By setting the configuration_input_topic, processor will subscribe to given topic, only pub/sub topic is supported now. Example channel: //pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic message schema should be: message Message { // The ID of the stream that associates with the application instance. string stream_id = 1; // The target fps. By default, the custom processor will *not* send any data to the Vertex Prediction container. Note that once the dynamic_config_input_topic is set, max_prediction_fps will not work and be preceded by the fps set inside the topic. int32 fps = 2; }optional string dynamic_config_input_topic = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDynamicConfigInputTopicin interfaceVertexCustomConfigOrBuilder- Returns:
- Whether the dynamicConfigInputTopic field is set.
-
getDynamicConfigInputTopic
Optional. By setting the configuration_input_topic, processor will subscribe to given topic, only pub/sub topic is supported now. Example channel: //pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic message schema should be: message Message { // The ID of the stream that associates with the application instance. string stream_id = 1; // The target fps. By default, the custom processor will *not* send any data to the Vertex Prediction container. Note that once the dynamic_config_input_topic is set, max_prediction_fps will not work and be preceded by the fps set inside the topic. int32 fps = 2; }optional string dynamic_config_input_topic = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDynamicConfigInputTopicin interfaceVertexCustomConfigOrBuilder- Returns:
- The dynamicConfigInputTopic.
-
getDynamicConfigInputTopicBytes
public com.google.protobuf.ByteString getDynamicConfigInputTopicBytes()Optional. By setting the configuration_input_topic, processor will subscribe to given topic, only pub/sub topic is supported now. Example channel: //pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic message schema should be: message Message { // The ID of the stream that associates with the application instance. string stream_id = 1; // The target fps. By default, the custom processor will *not* send any data to the Vertex Prediction container. Note that once the dynamic_config_input_topic is set, max_prediction_fps will not work and be preceded by the fps set inside the topic. int32 fps = 2; }optional string dynamic_config_input_topic = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDynamicConfigInputTopicBytesin interfaceVertexCustomConfigOrBuilder- Returns:
- The bytes for dynamicConfigInputTopic.
-
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 VertexCustomConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VertexCustomConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VertexCustomConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VertexCustomConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VertexCustomConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VertexCustomConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static VertexCustomConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static VertexCustomConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static VertexCustomConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static VertexCustomConfig 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 VertexCustomConfig.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
-