Class StreamingStorageConfig (2.12.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
TypeDescription
int

ENABLE_STORAGE_ANNOTATION_RESULT_FIELD_NUMBER

public static final int ENABLE_STORAGE_ANNOTATION_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamingStorageConfig getDefaultInstance()
Returns
TypeDescription
StreamingStorageConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StreamingStorageConfig.Builder newBuilder()
Returns
TypeDescription
StreamingStorageConfig.Builder

newBuilder(StreamingStorageConfig prototype)

public static StreamingStorageConfig.Builder newBuilder(StreamingStorageConfig prototype)
Parameter
NameDescription
prototypeStreamingStorageConfig
Returns
TypeDescription
StreamingStorageConfig.Builder

parseDelimitedFrom(InputStream input)

public static StreamingStorageConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingStorageConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingStorageConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingStorageConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StreamingStorageConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StreamingStorageConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamingStorageConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingStorageConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamingStorageConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StreamingStorageConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamingStorageConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingStorageConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamingStorageConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StreamingStorageConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingStorageConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingStorageConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StreamingStorageConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingStorageConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingStorageConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingStorageConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StreamingStorageConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StreamingStorageConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamingStorageConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingStorageConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StreamingStorageConfig> parser()
Returns
TypeDescription
Parser<StreamingStorageConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

getEnableStorageAnnotationResult()

public boolean getEnableStorageAnnotationResult()

Enable streaming storage. Default: false.

bool enable_storage_annotation_result = 1;

Returns
TypeDescription
boolean

The enableStorageAnnotationResult.

getParserForType()

public Parser<StreamingStorageConfig> getParserForType()
Returns
TypeDescription
Parser<StreamingStorageConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StreamingStorageConfig.Builder newBuilderForType()
Returns
TypeDescription
StreamingStorageConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamingStorageConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StreamingStorageConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StreamingStorageConfig.Builder toBuilder()
Returns
TypeDescription
StreamingStorageConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException