public static final class AppPlatformCloudFunctionResponse.Builder extends GeneratedMessage.Builder<AppPlatformCloudFunctionResponse.Builder> implements AppPlatformCloudFunctionResponseOrBuilderMessage of the response from customer's Cloud Function to AppPlatform.
Protobuf type google.cloud.visionai.v1.AppPlatformCloudFunctionResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AppPlatformCloudFunctionResponse.BuilderImplements
AppPlatformCloudFunctionResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAnnotations(Iterable<? extends AppPlatformCloudFunctionResponse.StructedOutputAnnotation> values)
public AppPlatformCloudFunctionResponse.Builder addAllAnnotations(Iterable<? extends AppPlatformCloudFunctionResponse.StructedOutputAnnotation> values)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 |
values |
Iterable<? extends com.google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotation> |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
addAllEvents(Iterable<? extends AppPlatformEventBody> values)
public AppPlatformCloudFunctionResponse.Builder addAllEvents(Iterable<? extends AppPlatformEventBody> values)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 |
values |
Iterable<? extends com.google.cloud.visionai.v1.AppPlatformEventBody> |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
addAnnotations(AppPlatformCloudFunctionResponse.StructedOutputAnnotation value)
public AppPlatformCloudFunctionResponse.Builder addAnnotations(AppPlatformCloudFunctionResponse.StructedOutputAnnotation value)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 |
value |
AppPlatformCloudFunctionResponse.StructedOutputAnnotation |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
addAnnotations(AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder builderForValue)
public AppPlatformCloudFunctionResponse.Builder addAnnotations(AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder builderForValue)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 |
builderForValue |
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
addAnnotations(int index, AppPlatformCloudFunctionResponse.StructedOutputAnnotation value)
public AppPlatformCloudFunctionResponse.Builder addAnnotations(int index, AppPlatformCloudFunctionResponse.StructedOutputAnnotation value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AppPlatformCloudFunctionResponse.StructedOutputAnnotation |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
addAnnotations(int index, AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder builderForValue)
public AppPlatformCloudFunctionResponse.Builder addAnnotations(int index, AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
addAnnotationsBuilder()
public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder addAnnotationsBuilder()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 |
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder |
|
addAnnotationsBuilder(int index)
public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder addAnnotationsBuilder(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.Builder |
|
addEvents(AppPlatformEventBody value)
public AppPlatformCloudFunctionResponse.Builder addEvents(AppPlatformEventBody value)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 |
value |
AppPlatformEventBody |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
addEvents(AppPlatformEventBody.Builder builderForValue)
public AppPlatformCloudFunctionResponse.Builder addEvents(AppPlatformEventBody.Builder builderForValue)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 |
builderForValue |
AppPlatformEventBody.Builder |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
addEvents(int index, AppPlatformEventBody value)
public AppPlatformCloudFunctionResponse.Builder addEvents(int index, AppPlatformEventBody value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AppPlatformEventBody |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
addEvents(int index, AppPlatformEventBody.Builder builderForValue)
public AppPlatformCloudFunctionResponse.Builder addEvents(int index, AppPlatformEventBody.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AppPlatformEventBody.Builder |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
addEventsBuilder()
public AppPlatformEventBody.Builder addEventsBuilder()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 |
AppPlatformEventBody.Builder |
|
addEventsBuilder(int index)
public AppPlatformEventBody.Builder addEventsBuilder(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.Builder |
|
build()
public AppPlatformCloudFunctionResponse build()| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse |
|
buildPartial()
public AppPlatformCloudFunctionResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse |
|
clear()
public AppPlatformCloudFunctionResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
clearAnnotationPassthrough()
public AppPlatformCloudFunctionResponse.Builder clearAnnotationPassthrough()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 |
AppPlatformCloudFunctionResponse.Builder |
This builder for chaining. |
clearAnnotations()
public AppPlatformCloudFunctionResponse.Builder clearAnnotations()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 |
AppPlatformCloudFunctionResponse.Builder |
|
clearEvents()
public AppPlatformCloudFunctionResponse.Builder clearEvents()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 |
AppPlatformCloudFunctionResponse.Builder |
|
getAnnotationPassthrough()
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. |
getAnnotations(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.StructedOutputAnnotation |
|
getAnnotationsBuilder(int index)
public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder getAnnotationsBuilder(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.Builder |
|
getAnnotationsBuilderList()
public List<AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder> getAnnotationsBuilderList()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<Builder> |
|
getAnnotationsCount()
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 |
|
getAnnotationsList()
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;
| Returns | |
|---|---|
| Type | Description |
List<StructedOutputAnnotation> |
|
getAnnotationsOrBuilder(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.StructedOutputAnnotationOrBuilder |
|
getAnnotationsOrBuilderList()
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> |
|
getDefaultInstanceForType()
public AppPlatformCloudFunctionResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEvents(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
AppPlatformEventBody |
|
getEventsBuilder(int index)
public AppPlatformEventBody.Builder getEventsBuilder(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.Builder |
|
getEventsBuilderList()
public List<AppPlatformEventBody.Builder> getEventsBuilderList()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<Builder> |
|
getEventsCount()
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 |
|
getEventsList()
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;
| Returns | |
|---|---|
| Type | Description |
List<AppPlatformEventBody> |
|
getEventsOrBuilder(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
AppPlatformEventBodyOrBuilder |
|
getEventsOrBuilderList()
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AppPlatformCloudFunctionResponse other)
public AppPlatformCloudFunctionResponse.Builder mergeFrom(AppPlatformCloudFunctionResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
AppPlatformCloudFunctionResponse |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AppPlatformCloudFunctionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AppPlatformCloudFunctionResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
removeAnnotations(int index)
public AppPlatformCloudFunctionResponse.Builder removeAnnotations(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.Builder |
|
removeEvents(int index)
public AppPlatformCloudFunctionResponse.Builder removeEvents(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 |
AppPlatformCloudFunctionResponse.Builder |
|
setAnnotationPassthrough(boolean value)
public AppPlatformCloudFunctionResponse.Builder setAnnotationPassthrough(boolean value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe annotationPassthrough to set. |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
This builder for chaining. |
setAnnotations(int index, AppPlatformCloudFunctionResponse.StructedOutputAnnotation value)
public AppPlatformCloudFunctionResponse.Builder setAnnotations(int index, AppPlatformCloudFunctionResponse.StructedOutputAnnotation value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AppPlatformCloudFunctionResponse.StructedOutputAnnotation |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
setAnnotations(int index, AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder builderForValue)
public AppPlatformCloudFunctionResponse.Builder setAnnotations(int index, AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
setEvents(int index, AppPlatformEventBody value)
public AppPlatformCloudFunctionResponse.Builder setEvents(int index, AppPlatformEventBody value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AppPlatformEventBody |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|
setEvents(int index, AppPlatformEventBody.Builder builderForValue)
public AppPlatformCloudFunctionResponse.Builder setEvents(int index, AppPlatformEventBody.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AppPlatformEventBody.Builder |
| Returns | |
|---|---|
| Type | Description |
AppPlatformCloudFunctionResponse.Builder |
|