public static final class AppPlatformCloudFunctionRequest.Builder extends GeneratedMessageV3.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
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 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;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation>
|
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;
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;
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;
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;
public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder addAnnotationsBuilder()
The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2;
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;
Parameter |
Name |
Description |
index |
int
|
public AppPlatformCloudFunctionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AppPlatformCloudFunctionRequest build()
public AppPlatformCloudFunctionRequest buildPartial()
public AppPlatformCloudFunctionRequest.Builder clear()
Overrides
public AppPlatformCloudFunctionRequest.Builder clearAnnotations()
The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2;
public AppPlatformCloudFunctionRequest.Builder clearAppPlatformMetadata()
The metadata of the AppPlatform for customer to identify the source of the
payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1;
public AppPlatformCloudFunctionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AppPlatformCloudFunctionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AppPlatformCloudFunctionRequest.Builder clone()
Overrides
public AppPlatformCloudFunctionRequest.StructedInputAnnotation getAnnotations(int index)
The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2;
Parameter |
Name |
Description |
index |
int
|
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;
Parameter |
Name |
Description |
index |
int
|
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;
public int getAnnotationsCount()
The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2;
Returns |
Type |
Description |
int |
|
public List<AppPlatformCloudFunctionRequest.StructedInputAnnotation> getAnnotationsList()
The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2;
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;
Parameter |
Name |
Description |
index |
int
|
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;
Returns |
Type |
Description |
List<? extends com.google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotationOrBuilder> |
|
public AppPlatformMetadata getAppPlatformMetadata()
The metadata of the AppPlatform for customer to identify the source of the
payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1;
public AppPlatformMetadata.Builder getAppPlatformMetadataBuilder()
The metadata of the AppPlatform for customer to identify the source of the
payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1;
public AppPlatformMetadataOrBuilder getAppPlatformMetadataOrBuilder()
The metadata of the AppPlatform for customer to identify the source of the
payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1;
public AppPlatformCloudFunctionRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Returns |
Type |
Description |
boolean |
Whether the appPlatformMetadata field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AppPlatformCloudFunctionRequest.Builder mergeAppPlatformMetadata(AppPlatformMetadata value)
The metadata of the AppPlatform for customer to identify the source of the
payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1;
public AppPlatformCloudFunctionRequest.Builder mergeFrom(AppPlatformCloudFunctionRequest other)
public AppPlatformCloudFunctionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AppPlatformCloudFunctionRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final AppPlatformCloudFunctionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AppPlatformCloudFunctionRequest.Builder removeAnnotations(int index)
The actual annotations to be processed by the customized Cloud Function.
repeated .google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation annotations = 2;
Parameter |
Name |
Description |
index |
int
|
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;
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;
public AppPlatformCloudFunctionRequest.Builder setAppPlatformMetadata(AppPlatformMetadata value)
The metadata of the AppPlatform for customer to identify the source of the
payload.
.google.cloud.visionai.v1.AppPlatformMetadata app_platform_metadata = 1;
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;
public AppPlatformCloudFunctionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AppPlatformCloudFunctionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AppPlatformCloudFunctionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides