public static final class StreamingStorageConfig.Builder extends GeneratedMessageV3.Builder<StreamingStorageConfig.Builder> implements StreamingStorageConfigOrBuilder
Config for streaming storage option.
Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingStorageConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StreamingStorageConfig build()
Returns
buildPartial()
public StreamingStorageConfig buildPartial()
Returns
clear()
public StreamingStorageConfig.Builder clear()
Returns
Overrides
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
clearEnableStorageAnnotationResult()
public StreamingStorageConfig.Builder clearEnableStorageAnnotationResult()
Enable streaming storage. Default: false.
bool enable_storage_annotation_result = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public StreamingStorageConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingStorageConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public StreamingStorageConfig.Builder clone()
Returns
Overrides
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnableStorageAnnotationResult()
public boolean getEnableStorageAnnotationResult()
Enable streaming storage. Default: false.
bool enable_storage_annotation_result = 1;
Returns
Type | Description |
boolean | The enableStorageAnnotationResult.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(StreamingStorageConfig other)
public StreamingStorageConfig.Builder mergeFrom(StreamingStorageConfig other)
Parameter
Returns
public StreamingStorageConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StreamingStorageConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingStorageConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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 | String
The annotationResultStorageDirectory to set.
|
Returns
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 | ByteString
The bytes for annotationResultStorageDirectory to set.
|
Returns
setEnableStorageAnnotationResult(boolean value)
public StreamingStorageConfig.Builder setEnableStorageAnnotationResult(boolean value)
Enable streaming storage. Default: false.
bool enable_storage_annotation_result = 1;
Parameter
Name | Description |
value | boolean
The enableStorageAnnotationResult to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingStorageConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingStorageConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingStorageConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides