Class StreamingStorageConfig.Builder

    • Method Detail

      • getDescriptor

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

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

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public StreamingStorageConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingStorageConfig.Builder>
      • clearField

        public StreamingStorageConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingStorageConfig.Builder>
      • clearOneof

        public StreamingStorageConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingStorageConfig.Builder>
      • setRepeatedField

        public StreamingStorageConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingStorageConfig.Builder>
      • addRepeatedField

        public StreamingStorageConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingStorageConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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.
      • setUnknownFields

        public final StreamingStorageConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingStorageConfig.Builder>
      • mergeUnknownFields

        public final StreamingStorageConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingStorageConfig.Builder>