public final class StreamingStorageConfig extends GeneratedMessageV3 implements StreamingStorageConfigOrBuilder
Config for streaming storage option.
Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StreamingStorageConfig.Builder newBuilder()
newBuilder(StreamingStorageConfig prototype)
public static StreamingStorageConfig.Builder newBuilder(StreamingStorageConfig prototype)
public static StreamingStorageConfig parseDelimitedFrom(InputStream input)
public static StreamingStorageConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StreamingStorageConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamingStorageConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StreamingStorageConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingStorageConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamingStorageConfig parseFrom(CodedInputStream input)
public static StreamingStorageConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamingStorageConfig parseFrom(InputStream input)
public static StreamingStorageConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StreamingStorageConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamingStorageConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StreamingStorageConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StreamingStorageConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamingStorageConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public StreamingStorageConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides