public static final class StreamingStorageConfig.Builder extends GeneratedMessage.Builder<StreamingStorageConfig.Builder> implements StreamingStorageConfigOrBuilderConfig for streaming storage option.
Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StreamingStorageConfig.BuilderImplements
StreamingStorageConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StreamingStorageConfig build()| Returns | |
|---|---|
| Type | Description |
StreamingStorageConfig |
|
buildPartial()
public StreamingStorageConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
StreamingStorageConfig |
|
clear()
public StreamingStorageConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
StreamingStorageConfig.Builder |
|
clearAnnotationResultStorageDirectory()
public StreamingStorageConfig.Builder clearAnnotationResultStorageDirectory() 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 | |
|---|---|
| Type | Description |
StreamingStorageConfig.Builder |
This builder for chaining. |
clearEnableStorageAnnotationResult()
public StreamingStorageConfig.Builder clearEnableStorageAnnotationResult()Enable streaming storage. Default: false.
bool enable_storage_annotation_result = 1;
| Returns | |
|---|---|
| Type | Description |
StreamingStorageConfig.Builder |
This builder for chaining. |
getAnnotationResultStorageDirectory()
public 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 | |
|---|---|
| Type | Description |
String |
The annotationResultStorageDirectory. |
getAnnotationResultStorageDirectoryBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for annotationResultStorageDirectory. |
getDefaultInstanceForType()
public StreamingStorageConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StreamingStorageConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnableStorageAnnotationResult()
public boolean getEnableStorageAnnotationResult()Enable streaming storage. Default: false.
bool enable_storage_annotation_result = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableStorageAnnotationResult. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StreamingStorageConfig other)
public StreamingStorageConfig.Builder mergeFrom(StreamingStorageConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
StreamingStorageConfig |
| Returns | |
|---|---|
| Type | Description |
StreamingStorageConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingStorageConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamingStorageConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StreamingStorageConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StreamingStorageConfig.Builder |
|
setAnnotationResultStorageDirectory(String value)
public StreamingStorageConfig.Builder setAnnotationResultStorageDirectory(String value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe annotationResultStorageDirectory to set. |
| Returns | |
|---|---|
| Type | Description |
StreamingStorageConfig.Builder |
This builder for chaining. |
setAnnotationResultStorageDirectoryBytes(ByteString value)
public StreamingStorageConfig.Builder setAnnotationResultStorageDirectoryBytes(ByteString value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for annotationResultStorageDirectory to set. |
| Returns | |
|---|---|
| Type | Description |
StreamingStorageConfig.Builder |
This builder for chaining. |
setEnableStorageAnnotationResult(boolean value)
public StreamingStorageConfig.Builder setEnableStorageAnnotationResult(boolean value)Enable streaming storage. Default: false.
bool enable_storage_annotation_result = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableStorageAnnotationResult to set. |
| Returns | |
|---|---|
| Type | Description |
StreamingStorageConfig.Builder |
This builder for chaining. |