Send feedback
Class VertexCustomConfig (0.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.15.0 keyboard_arrow_down
public final class VertexCustomConfig extends GeneratedMessageV3 implements VertexCustomConfigOrBuilder
Message describing VertexCustomConfig.
Protobuf type google.events.cloud.visionai.v1.VertexCustomConfig
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
public static final int ATTACH_APPLICATION_METADATA_FIELD_NUMBER
Field Value
Type
Description
int
DEDICATED_RESOURCES_FIELD_NUMBER
public static final int DEDICATED_RESOURCES_FIELD_NUMBER
Field Value
Type
Description
int
MAX_PREDICTION_FPS_FIELD_NUMBER
public static final int MAX_PREDICTION_FPS_FIELD_NUMBER
Field Value
Type
Description
int
POST_PROCESSING_CLOUD_FUNCTION_FIELD_NUMBER
public static final int POST_PROCESSING_CLOUD_FUNCTION_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static VertexCustomConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static VertexCustomConfig . Builder newBuilder ()
newBuilder(VertexCustomConfig prototype)
public static VertexCustomConfig . Builder newBuilder ( VertexCustomConfig prototype )
public static VertexCustomConfig parseDelimitedFrom ( InputStream input )
public static VertexCustomConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static VertexCustomConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VertexCustomConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static VertexCustomConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VertexCustomConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static VertexCustomConfig parseFrom ( CodedInputStream input )
public static VertexCustomConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static VertexCustomConfig parseFrom ( InputStream input )
public static VertexCustomConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static VertexCustomConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VertexCustomConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<VertexCustomConfig> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
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;
Returns
Type
Description
boolean
The attachApplicationMetadata.
getDedicatedResources()
public DedicatedResources getDedicatedResources ()
A description of resources that are dedicated to the DeployedModel, and
that need a higher degree of manual configuration.
.google.events.cloud.visionai.v1.DedicatedResources dedicated_resources = 2;
getDedicatedResourcesOrBuilder()
public DedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder ()
A description of resources that are dedicated to the DeployedModel, and
that need a higher degree of manual configuration.
.google.events.cloud.visionai.v1.DedicatedResources dedicated_resources = 2;
getDefaultInstanceForType()
public VertexCustomConfig getDefaultInstanceForType ()
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;
Returns
Type
Description
int
The maxPredictionFps.
getParserForType()
public Parser<VertexCustomConfig> getParserForType ()
Overrides
getPostProcessingCloudFunction()
public String 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;
Returns
Type
Description
String
The postProcessingCloudFunction.
getPostProcessingCloudFunctionBytes()
public 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;
Returns
Type
Description
ByteString
The bytes for postProcessingCloudFunction.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hasDedicatedResources()
public boolean hasDedicatedResources ()
A description of resources that are dedicated to the DeployedModel, and
that need a higher degree of manual configuration.
.google.events.cloud.visionai.v1.DedicatedResources dedicated_resources = 2;
Returns
Type
Description
boolean
Whether the dedicatedResources field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public VertexCustomConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VertexCustomConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public VertexCustomConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]