Package com.google.cloud.visionai.v1
Class AppPlatformCloudFunctionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AppPlatformCloudFunctionRequest.Builder>
com.google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.Builder
- All Implemented Interfaces:
AppPlatformCloudFunctionRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AppPlatformCloudFunctionRequest
public static final class AppPlatformCloudFunctionRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AppPlatformCloudFunctionRequest.Builder>
implements AppPlatformCloudFunctionRequestOrBuilder
For any cloud function based customer processing logic, customer's cloud function is expected to receive AppPlatformCloudFunctionRequest as request and send back AppPlatformCloudFunctionResponse as response. Message of request from AppPlatform to Cloud Function.Protobuf type
google.cloud.visionai.v1.AppPlatformCloudFunctionRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllAnnotations(Iterable<? extends AppPlatformCloudFunctionRequest.StructedInputAnnotation> values) The actual annotations to be processed by the customized Cloud Function.addAnnotations(int index, AppPlatformCloudFunctionRequest.StructedInputAnnotation value) The actual annotations to be processed by the customized Cloud Function.addAnnotations(int index, AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder builderForValue) The actual annotations to be processed by the customized Cloud Function.The actual annotations to be processed by the customized Cloud Function.The actual annotations to be processed by the customized Cloud Function.The actual annotations to be processed by the customized Cloud Function.addAnnotationsBuilder(int index) The actual annotations to be processed by the customized Cloud Function.build()clear()The actual annotations to be processed by the customized Cloud Function.The metadata of the AppPlatform for customer to identify the source of the payload.getAnnotations(int index) The actual annotations to be processed by the customized Cloud Function.getAnnotationsBuilder(int index) The actual annotations to be processed by the customized Cloud Function.The actual annotations to be processed by the customized Cloud Function.intThe actual annotations to be processed by the customized Cloud Function.The actual annotations to be processed by the customized Cloud Function.getAnnotationsOrBuilder(int index) The actual annotations to be processed by the customized Cloud Function.The actual annotations to be processed by the customized Cloud Function.The metadata of the AppPlatform for customer to identify the source of the payload.The metadata of the AppPlatform for customer to identify the source of the payload.The metadata of the AppPlatform for customer to identify the source of the payload.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanThe metadata of the AppPlatform for customer to identify the source of the payload.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe metadata of the AppPlatform for customer to identify the source of the payload.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAnnotations(int index) The actual annotations to be processed by the customized Cloud Function.setAnnotations(int index, AppPlatformCloudFunctionRequest.StructedInputAnnotation value) The actual annotations to be processed by the customized Cloud Function.setAnnotations(int index, AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder builderForValue) The actual annotations to be processed by the customized Cloud Function.The metadata of the AppPlatform for customer to identify the source of the payload.setAppPlatformMetadata(AppPlatformMetadata.Builder builderForValue) The metadata of the AppPlatform for customer to identify the source of the payload.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<AppPlatformCloudFunctionRequest.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<AppPlatformCloudFunctionRequest.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<AppPlatformCloudFunctionRequest.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<AppPlatformCloudFunctionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AppPlatformCloudFunctionRequest.Builder>
-
mergeFrom
public AppPlatformCloudFunctionRequest.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<AppPlatformCloudFunctionRequest.Builder>- Throws:
IOException
-
hasAppPlatformMetadata
public boolean hasAppPlatformMetadata()The metadata of the AppPlatform for customer to identify the source of the payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1;- Specified by:
hasAppPlatformMetadatain interfaceAppPlatformCloudFunctionRequestOrBuilder- Returns:
- Whether the appPlatformMetadata field is set.
-
getAppPlatformMetadata
The metadata of the AppPlatform for customer to identify the source of the payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1;- Specified by:
getAppPlatformMetadatain interfaceAppPlatformCloudFunctionRequestOrBuilder- Returns:
- The appPlatformMetadata.
-
setAppPlatformMetadata
The metadata of the AppPlatform for customer to identify the source of the payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1; -
setAppPlatformMetadata
public AppPlatformCloudFunctionRequest.Builder setAppPlatformMetadata(AppPlatformMetadata.Builder builderForValue) The metadata of the AppPlatform for customer to identify the source of the payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1; -
mergeAppPlatformMetadata
The metadata of the AppPlatform for customer to identify the source of the payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1; -
clearAppPlatformMetadata
The metadata of the AppPlatform for customer to identify the source of the payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1; -
getAppPlatformMetadataBuilder
The metadata of the AppPlatform for customer to identify the source of the payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1; -
getAppPlatformMetadataOrBuilder
The metadata of the AppPlatform for customer to identify the source of the payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1;- Specified by:
getAppPlatformMetadataOrBuilderin interfaceAppPlatformCloudFunctionRequestOrBuilder
-
getAnnotationsList
The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2;- Specified by:
getAnnotationsListin interfaceAppPlatformCloudFunctionRequestOrBuilder
-
getAnnotationsCount
public int getAnnotationsCount()The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2;- Specified by:
getAnnotationsCountin interfaceAppPlatformCloudFunctionRequestOrBuilder
-
getAnnotations
The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2;- Specified by:
getAnnotationsin interfaceAppPlatformCloudFunctionRequestOrBuilder
-
setAnnotations
public AppPlatformCloudFunctionRequest.Builder setAnnotations(int index, AppPlatformCloudFunctionRequest.StructedInputAnnotation value) The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2; -
setAnnotations
public AppPlatformCloudFunctionRequest.Builder setAnnotations(int index, AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder builderForValue) The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2; -
addAnnotations
public AppPlatformCloudFunctionRequest.Builder addAnnotations(AppPlatformCloudFunctionRequest.StructedInputAnnotation value) The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2; -
addAnnotations
public AppPlatformCloudFunctionRequest.Builder addAnnotations(int index, AppPlatformCloudFunctionRequest.StructedInputAnnotation value) The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2; -
addAnnotations
public AppPlatformCloudFunctionRequest.Builder addAnnotations(AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder builderForValue) The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2; -
addAnnotations
public AppPlatformCloudFunctionRequest.Builder addAnnotations(int index, AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder builderForValue) The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2; -
addAllAnnotations
public AppPlatformCloudFunctionRequest.Builder addAllAnnotations(Iterable<? extends AppPlatformCloudFunctionRequest.StructedInputAnnotation> values) The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2; -
clearAnnotations
The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2; -
removeAnnotations
The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2; -
getAnnotationsBuilder
public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder getAnnotationsBuilder(int index) The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2; -
getAnnotationsOrBuilder
public AppPlatformCloudFunctionRequest.StructedInputAnnotationOrBuilder getAnnotationsOrBuilder(int index) The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2;- Specified by:
getAnnotationsOrBuilderin interfaceAppPlatformCloudFunctionRequestOrBuilder
-
getAnnotationsOrBuilderList
public List<? extends AppPlatformCloudFunctionRequest.StructedInputAnnotationOrBuilder> getAnnotationsOrBuilderList()The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2;- Specified by:
getAnnotationsOrBuilderListin interfaceAppPlatformCloudFunctionRequestOrBuilder
-
addAnnotationsBuilder
The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2; -
addAnnotationsBuilder
public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder addAnnotationsBuilder(int index) The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2; -
getAnnotationsBuilderList
public List<AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder> getAnnotationsBuilderList()The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2;
-