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
ENABLE_STORAGE_ANNOTATION_RESULT_FIELD_NUMBER
public static final int ENABLE_STORAGE_ANNOTATION_RESULT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StreamingStorageConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StreamingStorageConfig.Builder newBuilder()
Returns
newBuilder(StreamingStorageConfig prototype)
public static StreamingStorageConfig.Builder newBuilder(StreamingStorageConfig prototype)
Parameter
Returns
public static StreamingStorageConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StreamingStorageConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StreamingStorageConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamingStorageConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StreamingStorageConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingStorageConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StreamingStorageConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StreamingStorageConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StreamingStorageConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StreamingStorageConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StreamingStorageConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamingStorageConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StreamingStorageConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StreamingStorageConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamingStorageConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StreamingStorageConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions