public static final class AppPlatformCloudFunctionResponse.Builder extends GeneratedMessageV3.Builder<AppPlatformCloudFunctionResponse.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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>
|
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;
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;
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;
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;
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;
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
|
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;
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;
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;
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;
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;
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
|
public AppPlatformCloudFunctionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AppPlatformCloudFunctionResponse build()
public AppPlatformCloudFunctionResponse buildPartial()
public AppPlatformCloudFunctionResponse.Builder clear()
Overrides
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;
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;
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;
public AppPlatformCloudFunctionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AppPlatformCloudFunctionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AppPlatformCloudFunctionResponse.Builder clone()
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 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
|
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;
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 Descriptors.Descriptor getDescriptorForType()
Overrides
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 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
|
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;
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AppPlatformCloudFunctionResponse.Builder mergeFrom(AppPlatformCloudFunctionResponse other)
public AppPlatformCloudFunctionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AppPlatformCloudFunctionResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final AppPlatformCloudFunctionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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
|
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 |
boolean
The annotationPassthrough to set.
|
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;
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;
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;
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;
public AppPlatformCloudFunctionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AppPlatformCloudFunctionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AppPlatformCloudFunctionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides