public final class AppPlatformCloudFunctionResponse extends GeneratedMessageV3 implements AppPlatformCloudFunctionResponseOrBuilder
Message of the response from customer's Cloud Function to AppPlatform.
Protobuf type google.cloud.visionai.v1.AppPlatformCloudFunctionResponse
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 ANNOTATIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ANNOTATION_PASSTHROUGH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int EVENTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static AppPlatformCloudFunctionResponse getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static AppPlatformCloudFunctionResponse.Builder newBuilder()
public static AppPlatformCloudFunctionResponse.Builder newBuilder(AppPlatformCloudFunctionResponse prototype)
public static AppPlatformCloudFunctionResponse parseDelimitedFrom(InputStream input)
public static AppPlatformCloudFunctionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AppPlatformCloudFunctionResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static AppPlatformCloudFunctionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AppPlatformCloudFunctionResponse parseFrom(ByteString data)
public static AppPlatformCloudFunctionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppPlatformCloudFunctionResponse parseFrom(CodedInputStream input)
public static AppPlatformCloudFunctionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AppPlatformCloudFunctionResponse parseFrom(InputStream input)
public static AppPlatformCloudFunctionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AppPlatformCloudFunctionResponse parseFrom(ByteBuffer data)
public static AppPlatformCloudFunctionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<AppPlatformCloudFunctionResponse> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public 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.
|
public 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
|
public 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 |
|
public 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;
public 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
|
public 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> |
|
public AppPlatformCloudFunctionResponse getDefaultInstanceForType()
public 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
|
public 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 |
|
public 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;
public 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
|
public 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> |
|
public Parser<AppPlatformCloudFunctionResponse> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AppPlatformCloudFunctionResponse.Builder newBuilderForType()
protected AppPlatformCloudFunctionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public AppPlatformCloudFunctionResponse.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides