Class StreamingStorageConfig.Builder (2.54.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingStorageConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamingStorageConfig.Builder
Overrides

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
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
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.

clearField(Descriptors.FieldDescriptor field)

public StreamingStorageConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StreamingStorageConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingStorageConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StreamingStorageConfig.Builder
Overrides

clone()

public StreamingStorageConfig.Builder clone()
Returns
Type Description
StreamingStorageConfig.Builder
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
Type Description
StreamingStorageConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StreamingStorageConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StreamingStorageConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingStorageConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingStorageConfig.Builder
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
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 ByteString

The 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 boolean

The enableStorageAnnotationResult to set.

Returns
Type Description
StreamingStorageConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingStorageConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamingStorageConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StreamingStorageConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StreamingStorageConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingStorageConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingStorageConfig.Builder
Overrides