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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingStorageConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StreamingStorageConfig build()
buildPartial()
public StreamingStorageConfig buildPartial()
clear()
public StreamingStorageConfig.Builder clear()
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;
clearEnableStorageAnnotationResult()
public StreamingStorageConfig.Builder clearEnableStorageAnnotationResult()
Enable streaming storage. Default: false.
bool enable_storage_annotation_result = 1;
clearField(Descriptors.FieldDescriptor field)
public StreamingStorageConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingStorageConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public StreamingStorageConfig.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnableStorageAnnotationResult()
public boolean getEnableStorageAnnotationResult()
Enable streaming storage. Default: false.
bool enable_storage_annotation_result = 1;
Returns |
---|
Type | Description |
boolean | The enableStorageAnnotationResult.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StreamingStorageConfig other)
public StreamingStorageConfig.Builder mergeFrom(StreamingStorageConfig other)
public StreamingStorageConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StreamingStorageConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingStorageConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
value | String
The annotationResultStorageDirectory to set.
|
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 |
---|
Name | Description |
value | ByteString
The bytes for annotationResultStorageDirectory to set.
|
setEnableStorageAnnotationResult(boolean value)
public StreamingStorageConfig.Builder setEnableStorageAnnotationResult(boolean value)
Enable streaming storage. Default: false.
bool enable_storage_annotation_result = 1;
Parameter |
---|
Name | Description |
value | boolean
The enableStorageAnnotationResult to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingStorageConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingStorageConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingStorageConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides