Class StreamingStorageConfig.Builder (2.0.27)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingStorageConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StreamingStorageConfig.Builder
Overrides

build()

public StreamingStorageConfig build()
Returns
TypeDescription
StreamingStorageConfig

buildPartial()

public StreamingStorageConfig buildPartial()
Returns
TypeDescription
StreamingStorageConfig

clear()

public StreamingStorageConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
StreamingStorageConfig.Builder

This builder for chaining.

clearEnableStorageAnnotationResult()

public StreamingStorageConfig.Builder clearEnableStorageAnnotationResult()

Enable streaming storage. Default: false.

bool enable_storage_annotation_result = 1;

Returns
TypeDescription
StreamingStorageConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StreamingStorageConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StreamingStorageConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingStorageConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StreamingStorageConfig.Builder
Overrides

clone()

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

The bytes for annotationResultStorageDirectory.

getDefaultInstanceForType()

public StreamingStorageConfig getDefaultInstanceForType()
Returns
TypeDescription
StreamingStorageConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnableStorageAnnotationResult()

public boolean getEnableStorageAnnotationResult()

Enable streaming storage. Default: false.

bool enable_storage_annotation_result = 1;

Returns
TypeDescription
boolean

The enableStorageAnnotationResult.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StreamingStorageConfig other)

public StreamingStorageConfig.Builder mergeFrom(StreamingStorageConfig other)
Parameter
NameDescription
otherStreamingStorageConfig
Returns
TypeDescription
StreamingStorageConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamingStorageConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingStorageConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StreamingStorageConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StreamingStorageConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingStorageConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The annotationResultStorageDirectory to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for annotationResultStorageDirectory to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The enableStorageAnnotationResult to set.

Returns
TypeDescription
StreamingStorageConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingStorageConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StreamingStorageConfig.Builder
Overrides

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

public StreamingStorageConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StreamingStorageConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingStorageConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamingStorageConfig.Builder
Overrides