Interface AppPlatformCloudFunctionResponseOrBuilder (0.12.0)

public interface AppPlatformCloudFunctionResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotationPassthrough()

public abstract boolean getAnnotationPassthrough()

If set to true, AppPlatform will use original annotations instead of dropping them, even if it is empty in the annotations filed.

bool annotation_passthrough = 3;

Returns
Type Description
boolean

The annotationPassthrough.

getAnnotations(int index)

public abstract AppPlatformCloudFunctionResponse.StructedOutputAnnotation getAnnotations(int index)

The modified annotations that is returned back to AppPlatform. If the annotations fields are empty, then those annotations will be dropped by AppPlatform.

repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotation annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation

getAnnotationsCount()

public abstract int getAnnotationsCount()

The modified annotations that is returned back to AppPlatform. If the annotations fields are empty, then those annotations will be dropped by AppPlatform.

repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotation annotations = 2;

Returns
Type Description
int

getAnnotationsList()

public abstract List<AppPlatformCloudFunctionResponse.StructedOutputAnnotation> getAnnotationsList()

The modified annotations that is returned back to AppPlatform. If the annotations fields are empty, then those annotations will be dropped by AppPlatform.

repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotation annotations = 2;

Returns
Type Description
List<StructedOutputAnnotation>

getAnnotationsOrBuilder(int index)

public abstract AppPlatformCloudFunctionResponse.StructedOutputAnnotationOrBuilder getAnnotationsOrBuilder(int index)

The modified annotations that is returned back to AppPlatform. If the annotations fields are empty, then those annotations will be dropped by AppPlatform.

repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotation annotations = 2;

Parameter
Name Description
index int
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotationOrBuilder

getAnnotationsOrBuilderList()

public abstract List<? extends AppPlatformCloudFunctionResponse.StructedOutputAnnotationOrBuilder> getAnnotationsOrBuilderList()

The modified annotations that is returned back to AppPlatform. If the annotations fields are empty, then those annotations will be dropped by AppPlatform.

repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotation annotations = 2;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotationOrBuilder>

getEvents(int index)

public abstract AppPlatformEventBody getEvents(int index)

The event notifications that is returned back to AppPlatform. Typically it will then be configured to be consumed/forwared to a operator that handles events, such as Pub/Sub operator.

repeated .google.cloud.visionai.v1.AppPlatformEventBody events = 4;

Parameter
Name Description
index int
Returns
Type Description
AppPlatformEventBody

getEventsCount()

public abstract int getEventsCount()

The event notifications that is returned back to AppPlatform. Typically it will then be configured to be consumed/forwared to a operator that handles events, such as Pub/Sub operator.

repeated .google.cloud.visionai.v1.AppPlatformEventBody events = 4;

Returns
Type Description
int

getEventsList()

public abstract List<AppPlatformEventBody> getEventsList()

The event notifications that is returned back to AppPlatform. Typically it will then be configured to be consumed/forwared to a operator that handles events, such as Pub/Sub operator.

repeated .google.cloud.visionai.v1.AppPlatformEventBody events = 4;

Returns
Type Description
List<AppPlatformEventBody>

getEventsOrBuilder(int index)

public abstract AppPlatformEventBodyOrBuilder getEventsOrBuilder(int index)

The event notifications that is returned back to AppPlatform. Typically it will then be configured to be consumed/forwared to a operator that handles events, such as Pub/Sub operator.

repeated .google.cloud.visionai.v1.AppPlatformEventBody events = 4;

Parameter
Name Description
index int
Returns
Type Description
AppPlatformEventBodyOrBuilder

getEventsOrBuilderList()

public abstract List<? extends AppPlatformEventBodyOrBuilder> getEventsOrBuilderList()

The event notifications that is returned back to AppPlatform. Typically it will then be configured to be consumed/forwared to a operator that handles events, such as Pub/Sub operator.

repeated .google.cloud.visionai.v1.AppPlatformEventBody events = 4;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.AppPlatformEventBodyOrBuilder>