Interface StreamingStorageConfigOrBuilder (2.8.0)

public interface StreamingStorageConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotationResultStorageDirectory()

public abstract 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
TypeDescription
String

The annotationResultStorageDirectory.

getAnnotationResultStorageDirectoryBytes()

public abstract 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
TypeDescription
ByteString

The bytes for annotationResultStorageDirectory.

getEnableStorageAnnotationResult()

public abstract boolean getEnableStorageAnnotationResult()

Enable streaming storage. Default: false.

bool enable_storage_annotation_result = 1;

Returns
TypeDescription
boolean

The enableStorageAnnotationResult.