Class StreamingStorageConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamingStorageConfig.Builder>
com.google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig.Builder
All Implemented Interfaces:
StreamingStorageConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StreamingStorageConfig

public static final class StreamingStorageConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<StreamingStorageConfig.Builder> implements StreamingStorageConfigOrBuilder
 Config for streaming storage option.
 
Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingStorageConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<StreamingStorageConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<StreamingStorageConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StreamingStorageConfig.Builder>
    • getDefaultInstanceForType

      public StreamingStorageConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public StreamingStorageConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public StreamingStorageConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public StreamingStorageConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingStorageConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<StreamingStorageConfig.Builder>
    • mergeFrom

      public StreamingStorageConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingStorageConfig.Builder>
      Throws:
      IOException
    • getEnableStorageAnnotationResult

      public boolean getEnableStorageAnnotationResult()
       Enable streaming storage. Default: false.
       
      bool enable_storage_annotation_result = 1;
      Specified by:
      getEnableStorageAnnotationResult in interface StreamingStorageConfigOrBuilder
      Returns:
      The enableStorageAnnotationResult.
    • setEnableStorageAnnotationResult

      public StreamingStorageConfig.Builder setEnableStorageAnnotationResult(boolean value)
       Enable streaming storage. Default: false.
       
      bool enable_storage_annotation_result = 1;
      Parameters:
      value - The enableStorageAnnotationResult to set.
      Returns:
      This builder for chaining.
    • clearEnableStorageAnnotationResult

      public StreamingStorageConfig.Builder clearEnableStorageAnnotationResult()
       Enable streaming storage. Default: false.
       
      bool enable_storage_annotation_result = 1;
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getAnnotationResultStorageDirectory in interface StreamingStorageConfigOrBuilder
      Returns:
      The annotationResultStorageDirectory.
    • getAnnotationResultStorageDirectoryBytes

      public com.google.protobuf.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;
      Specified by:
      getAnnotationResultStorageDirectoryBytes in interface StreamingStorageConfigOrBuilder
      Returns:
      The bytes for annotationResultStorageDirectory.
    • setAnnotationResultStorageDirectory

      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;
      Parameters:
      value - The annotationResultStorageDirectory to set.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.
    • setAnnotationResultStorageDirectoryBytes

      public StreamingStorageConfig.Builder setAnnotationResultStorageDirectoryBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for annotationResultStorageDirectory to set.
      Returns:
      This builder for chaining.