Class StreamingStorageConfig (2.53.0)

public final class StreamingStorageConfig extends GeneratedMessageV3 implements StreamingStorageConfigOrBuilder

Config for streaming storage option.

Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig

Static Fields

ANNOTATION_RESULT_STORAGE_DIRECTORY_FIELD_NUMBER

public static final int ANNOTATION_RESULT_STORAGE_DIRECTORY_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_STORAGE_ANNOTATION_RESULT_FIELD_NUMBER

public static final int ENABLE_STORAGE_ANNOTATION_RESULT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StreamingStorageConfig getDefaultInstance()
Returns
Type Description
StreamingStorageConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StreamingStorageConfig.Builder newBuilder()
Returns
Type Description
StreamingStorageConfig.Builder

newBuilder(StreamingStorageConfig prototype)

public static StreamingStorageConfig.Builder newBuilder(StreamingStorageConfig prototype)
Parameter
Name Description
prototype StreamingStorageConfig
Returns
Type Description
StreamingStorageConfig.Builder

parseDelimitedFrom(InputStream input)

public static StreamingStorageConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamingStorageConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingStorageConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingStorageConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StreamingStorageConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StreamingStorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamingStorageConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingStorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamingStorageConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StreamingStorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamingStorageConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingStorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamingStorageConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StreamingStorageConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingStorageConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingStorageConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StreamingStorageConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StreamingStorageConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingStorageConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingStorageConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StreamingStorageConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StreamingStorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamingStorageConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingStorageConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StreamingStorageConfig> parser()
Returns
Type Description
Parser<StreamingStorageConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getEnableStorageAnnotationResult()

public boolean getEnableStorageAnnotationResult()

Enable streaming storage. Default: false.

bool enable_storage_annotation_result = 1;

Returns
Type Description
boolean

The enableStorageAnnotationResult.

getParserForType()

public Parser<StreamingStorageConfig> getParserForType()
Returns
Type Description
Parser<StreamingStorageConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StreamingStorageConfig.Builder newBuilderForType()
Returns
Type Description
StreamingStorageConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamingStorageConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StreamingStorageConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StreamingStorageConfig.Builder toBuilder()
Returns
Type Description
StreamingStorageConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException