Interface StreamingStorageConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamingStorageConfig,StreamingStorageConfig.Builder
public interface StreamingStorageConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAnnotationResultStorageDirectory()Cloud Storage URI to store all annotation results for one client.com.google.protobuf.ByteStringgetAnnotationResultStorageDirectoryBytes()Cloud Storage URI to store all annotation results for one client.booleangetEnableStorageAnnotationResult()Enable streaming storage.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEnableStorageAnnotationResult
boolean getEnableStorageAnnotationResult()
Enable streaming storage. Default: false.
bool enable_storage_annotation_result = 1;- Returns:
- The enableStorageAnnotationResult.
-
getAnnotationResultStorageDirectory
String getAnnotationResultStorageDirectory()
Cloud Storage URI to store all annotation results for one client. Client should specify this field as the top-level storage directory. Annotation results of different sessions will be put into different sub-directories denoted by project_name and session_id. All sub-directories will be auto generated by program and will be made accessible to client in response proto. URIs must be specified in the following format: `gs://bucket-id/object-id` `bucket-id` should be a valid Cloud Storage bucket created by client and bucket permission shall also be configured properly. `object-id` can be arbitrary string that make sense to client. Other URI formats will return error and cause Cloud Storage write failure.
string annotation_result_storage_directory = 3;- Returns:
- The annotationResultStorageDirectory.
-
getAnnotationResultStorageDirectoryBytes
com.google.protobuf.ByteString getAnnotationResultStorageDirectoryBytes()
Cloud Storage URI to store all annotation results for one client. Client should specify this field as the top-level storage directory. Annotation results of different sessions will be put into different sub-directories denoted by project_name and session_id. All sub-directories will be auto generated by program and will be made accessible to client in response proto. URIs must be specified in the following format: `gs://bucket-id/object-id` `bucket-id` should be a valid Cloud Storage bucket created by client and bucket permission shall also be configured properly. `object-id` can be arbitrary string that make sense to client. Other URI formats will return error and cause Cloud Storage write failure.
string annotation_result_storage_directory = 3;- Returns:
- The bytes for annotationResultStorageDirectory.
-
-