# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/aiplatform/v1/tensorboard_service.proto for package 'Google.Cloud.AIPlatform.V1'
# Original file comments:
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require 'grpc'
require 'google/cloud/aiplatform/v1/tensorboard_service_pb'

module Google
  module Cloud
    module AIPlatform
      module V1
        module TensorboardService
          # TensorboardService
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.aiplatform.v1.TensorboardService'

            # Creates a Tensorboard.
            rpc :CreateTensorboard, ::Google::Cloud::AIPlatform::V1::CreateTensorboardRequest, ::Google::Longrunning::Operation
            # Gets a Tensorboard.
            rpc :GetTensorboard, ::Google::Cloud::AIPlatform::V1::GetTensorboardRequest, ::Google::Cloud::AIPlatform::V1::Tensorboard
            # Updates a Tensorboard.
            rpc :UpdateTensorboard, ::Google::Cloud::AIPlatform::V1::UpdateTensorboardRequest, ::Google::Longrunning::Operation
            # Lists Tensorboards in a Location.
            rpc :ListTensorboards, ::Google::Cloud::AIPlatform::V1::ListTensorboardsRequest, ::Google::Cloud::AIPlatform::V1::ListTensorboardsResponse
            # Deletes a Tensorboard.
            rpc :DeleteTensorboard, ::Google::Cloud::AIPlatform::V1::DeleteTensorboardRequest, ::Google::Longrunning::Operation
            # Creates a TensorboardExperiment.
            rpc :CreateTensorboardExperiment, ::Google::Cloud::AIPlatform::V1::CreateTensorboardExperimentRequest, ::Google::Cloud::AIPlatform::V1::TensorboardExperiment
            # Gets a TensorboardExperiment.
            rpc :GetTensorboardExperiment, ::Google::Cloud::AIPlatform::V1::GetTensorboardExperimentRequest, ::Google::Cloud::AIPlatform::V1::TensorboardExperiment
            # Updates a TensorboardExperiment.
            rpc :UpdateTensorboardExperiment, ::Google::Cloud::AIPlatform::V1::UpdateTensorboardExperimentRequest, ::Google::Cloud::AIPlatform::V1::TensorboardExperiment
            # Lists TensorboardExperiments in a Location.
            rpc :ListTensorboardExperiments, ::Google::Cloud::AIPlatform::V1::ListTensorboardExperimentsRequest, ::Google::Cloud::AIPlatform::V1::ListTensorboardExperimentsResponse
            # Deletes a TensorboardExperiment.
            rpc :DeleteTensorboardExperiment, ::Google::Cloud::AIPlatform::V1::DeleteTensorboardExperimentRequest, ::Google::Longrunning::Operation
            # Creates a TensorboardRun.
            rpc :CreateTensorboardRun, ::Google::Cloud::AIPlatform::V1::CreateTensorboardRunRequest, ::Google::Cloud::AIPlatform::V1::TensorboardRun
            # Batch create TensorboardRuns.
            rpc :BatchCreateTensorboardRuns, ::Google::Cloud::AIPlatform::V1::BatchCreateTensorboardRunsRequest, ::Google::Cloud::AIPlatform::V1::BatchCreateTensorboardRunsResponse
            # Gets a TensorboardRun.
            rpc :GetTensorboardRun, ::Google::Cloud::AIPlatform::V1::GetTensorboardRunRequest, ::Google::Cloud::AIPlatform::V1::TensorboardRun
            # Updates a TensorboardRun.
            rpc :UpdateTensorboardRun, ::Google::Cloud::AIPlatform::V1::UpdateTensorboardRunRequest, ::Google::Cloud::AIPlatform::V1::TensorboardRun
            # Lists TensorboardRuns in a Location.
            rpc :ListTensorboardRuns, ::Google::Cloud::AIPlatform::V1::ListTensorboardRunsRequest, ::Google::Cloud::AIPlatform::V1::ListTensorboardRunsResponse
            # Deletes a TensorboardRun.
            rpc :DeleteTensorboardRun, ::Google::Cloud::AIPlatform::V1::DeleteTensorboardRunRequest, ::Google::Longrunning::Operation
            # Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.
            rpc :BatchCreateTensorboardTimeSeries, ::Google::Cloud::AIPlatform::V1::BatchCreateTensorboardTimeSeriesRequest, ::Google::Cloud::AIPlatform::V1::BatchCreateTensorboardTimeSeriesResponse
            # Creates a TensorboardTimeSeries.
            rpc :CreateTensorboardTimeSeries, ::Google::Cloud::AIPlatform::V1::CreateTensorboardTimeSeriesRequest, ::Google::Cloud::AIPlatform::V1::TensorboardTimeSeries
            # Gets a TensorboardTimeSeries.
            rpc :GetTensorboardTimeSeries, ::Google::Cloud::AIPlatform::V1::GetTensorboardTimeSeriesRequest, ::Google::Cloud::AIPlatform::V1::TensorboardTimeSeries
            # Updates a TensorboardTimeSeries.
            rpc :UpdateTensorboardTimeSeries, ::Google::Cloud::AIPlatform::V1::UpdateTensorboardTimeSeriesRequest, ::Google::Cloud::AIPlatform::V1::TensorboardTimeSeries
            # Lists TensorboardTimeSeries in a Location.
            rpc :ListTensorboardTimeSeries, ::Google::Cloud::AIPlatform::V1::ListTensorboardTimeSeriesRequest, ::Google::Cloud::AIPlatform::V1::ListTensorboardTimeSeriesResponse
            # Deletes a TensorboardTimeSeries.
            rpc :DeleteTensorboardTimeSeries, ::Google::Cloud::AIPlatform::V1::DeleteTensorboardTimeSeriesRequest, ::Google::Longrunning::Operation
            # Reads multiple TensorboardTimeSeries' data. The data point number limit is
            # 1000 for scalars, 100 for tensors and blob references. If the number of
            # data points stored is less than the limit, all data will be returned.
            # Otherwise, that limit number of data points will be randomly selected from
            # this time series and returned.
            rpc :BatchReadTensorboardTimeSeriesData, ::Google::Cloud::AIPlatform::V1::BatchReadTensorboardTimeSeriesDataRequest, ::Google::Cloud::AIPlatform::V1::BatchReadTensorboardTimeSeriesDataResponse
            # Reads a TensorboardTimeSeries' data. By default, if the number of data
            # points stored is less than 1000, all data will be returned. Otherwise, 1000
            # data points will be randomly selected from this time series and returned.
            # This value can be changed by changing max_data_points, which can't be
            # greater than 10k.
            rpc :ReadTensorboardTimeSeriesData, ::Google::Cloud::AIPlatform::V1::ReadTensorboardTimeSeriesDataRequest, ::Google::Cloud::AIPlatform::V1::ReadTensorboardTimeSeriesDataResponse
            # Gets bytes of TensorboardBlobs.
            # This is to allow reading blob data stored in consumer project's Cloud
            # Storage bucket without users having to obtain Cloud Storage access
            # permission.
            rpc :ReadTensorboardBlobData, ::Google::Cloud::AIPlatform::V1::ReadTensorboardBlobDataRequest, stream(::Google::Cloud::AIPlatform::V1::ReadTensorboardBlobDataResponse)
            # Write time series data points of multiple TensorboardTimeSeries in multiple
            # TensorboardRun's. If any data fail to be ingested, an error will be
            # returned.
            rpc :WriteTensorboardExperimentData, ::Google::Cloud::AIPlatform::V1::WriteTensorboardExperimentDataRequest, ::Google::Cloud::AIPlatform::V1::WriteTensorboardExperimentDataResponse
            # Write time series data points into multiple TensorboardTimeSeries under
            # a TensorboardRun. If any data fail to be ingested, an error will be
            # returned.
            rpc :WriteTensorboardRunData, ::Google::Cloud::AIPlatform::V1::WriteTensorboardRunDataRequest, ::Google::Cloud::AIPlatform::V1::WriteTensorboardRunDataResponse
            # Exports a TensorboardTimeSeries' data. Data is returned in paginated
            # responses.
            rpc :ExportTensorboardTimeSeriesData, ::Google::Cloud::AIPlatform::V1::ExportTensorboardTimeSeriesDataRequest, ::Google::Cloud::AIPlatform::V1::ExportTensorboardTimeSeriesDataResponse
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end