Package com.google.cloud.visionai.v1
Class AppPlatformCloudFunctionResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AppPlatformCloudFunctionResponse.Builder>
com.google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.Builder
- All Implemented Interfaces:
AppPlatformCloudFunctionResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AppPlatformCloudFunctionResponse
public static final class AppPlatformCloudFunctionResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AppPlatformCloudFunctionResponse.Builder>
implements AppPlatformCloudFunctionResponseOrBuilder
Message of the response from customer's Cloud Function to AppPlatform.Protobuf type
google.cloud.visionai.v1.AppPlatformCloudFunctionResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllAnnotations(Iterable<? extends AppPlatformCloudFunctionResponse.StructedOutputAnnotation> values) The modified annotations that is returned back to AppPlatform.addAllEvents(Iterable<? extends AppPlatformEventBody> values) The event notifications that is returned back to AppPlatform.addAnnotations(int index, AppPlatformCloudFunctionResponse.StructedOutputAnnotation value) The modified annotations that is returned back to AppPlatform.addAnnotations(int index, AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder builderForValue) The modified annotations that is returned back to AppPlatform.The modified annotations that is returned back to AppPlatform.The modified annotations that is returned back to AppPlatform.The modified annotations that is returned back to AppPlatform.addAnnotationsBuilder(int index) The modified annotations that is returned back to AppPlatform.addEvents(int index, AppPlatformEventBody value) The event notifications that is returned back to AppPlatform.addEvents(int index, AppPlatformEventBody.Builder builderForValue) The event notifications that is returned back to AppPlatform.addEvents(AppPlatformEventBody value) The event notifications that is returned back to AppPlatform.addEvents(AppPlatformEventBody.Builder builderForValue) The event notifications that is returned back to AppPlatform.The event notifications that is returned back to AppPlatform.addEventsBuilder(int index) The event notifications that is returned back to AppPlatform.build()clear()If set to true, AppPlatform will use original annotations instead of dropping them, even if it is empty in the annotations filed.The modified annotations that is returned back to AppPlatform.The event notifications that is returned back to AppPlatform.booleanIf set to true, AppPlatform will use original annotations instead of dropping them, even if it is empty in the annotations filed.getAnnotations(int index) The modified annotations that is returned back to AppPlatform.getAnnotationsBuilder(int index) The modified annotations that is returned back to AppPlatform.The modified annotations that is returned back to AppPlatform.intThe modified annotations that is returned back to AppPlatform.The modified annotations that is returned back to AppPlatform.getAnnotationsOrBuilder(int index) The modified annotations that is returned back to AppPlatform.The modified annotations that is returned back to AppPlatform.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEvents(int index) The event notifications that is returned back to AppPlatform.getEventsBuilder(int index) The event notifications that is returned back to AppPlatform.The event notifications that is returned back to AppPlatform.intThe event notifications that is returned back to AppPlatform.The event notifications that is returned back to AppPlatform.getEventsOrBuilder(int index) The event notifications that is returned back to AppPlatform.List<? extends AppPlatformEventBodyOrBuilder>The event notifications that is returned back to AppPlatform.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAnnotations(int index) The modified annotations that is returned back to AppPlatform.removeEvents(int index) The event notifications that is returned back to AppPlatform.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.setAnnotations(int index, AppPlatformCloudFunctionResponse.StructedOutputAnnotation value) The modified annotations that is returned back to AppPlatform.setAnnotations(int index, AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder builderForValue) The modified annotations that is returned back to AppPlatform.setEvents(int index, AppPlatformEventBody value) The event notifications that is returned back to AppPlatform.setEvents(int index, AppPlatformEventBody.Builder builderForValue) The event notifications that is returned back to AppPlatform.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AppPlatformCloudFunctionResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AppPlatformCloudFunctionResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AppPlatformCloudFunctionResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AppPlatformCloudFunctionResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AppPlatformCloudFunctionResponse.Builder>
-
mergeFrom
public AppPlatformCloudFunctionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AppPlatformCloudFunctionResponse.Builder>- Throws:
IOException
-
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;- Specified by:
getAnnotationsListin interfaceAppPlatformCloudFunctionResponseOrBuilder
-
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;- Specified by:
getAnnotationsCountin interfaceAppPlatformCloudFunctionResponseOrBuilder
-
getAnnotations
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;- Specified by:
getAnnotationsin interfaceAppPlatformCloudFunctionResponseOrBuilder
-
setAnnotations
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; -
setAnnotations
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; -
addAnnotations
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; -
addAnnotations
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; -
addAnnotations
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; -
addAnnotations
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; -
addAllAnnotations
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; -
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; -
removeAnnotations
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; -
getAnnotationsBuilder
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; -
getAnnotationsOrBuilder
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;- Specified by:
getAnnotationsOrBuilderin interfaceAppPlatformCloudFunctionResponseOrBuilder
-
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;- Specified by:
getAnnotationsOrBuilderListin interfaceAppPlatformCloudFunctionResponseOrBuilder
-
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; -
addAnnotationsBuilder
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; -
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; -
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;- Specified by:
getAnnotationPassthroughin interfaceAppPlatformCloudFunctionResponseOrBuilder- Returns:
- The annotationPassthrough.
-
setAnnotationPassthrough
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;- Parameters:
value- The annotationPassthrough to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
getEventsListin interfaceAppPlatformCloudFunctionResponseOrBuilder
-
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;- Specified by:
getEventsCountin interfaceAppPlatformCloudFunctionResponseOrBuilder
-
getEvents
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;- Specified by:
getEventsin interfaceAppPlatformCloudFunctionResponseOrBuilder
-
setEvents
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
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; -
addEvents
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
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
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
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; -
addAllEvents
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; -
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; -
removeEvents
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; -
getEventsBuilder
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; -
getEventsOrBuilder
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;- Specified by:
getEventsOrBuilderin interfaceAppPlatformCloudFunctionResponseOrBuilder
-
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;- Specified by:
getEventsOrBuilderListin interfaceAppPlatformCloudFunctionResponseOrBuilder
-
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; -
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; -
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;
-