// Code generated by gRPC proto compiler.  DO NOT EDIT!
// source: keyapis/telemetry_control/v1/keyapis_telemetry_control_building_gis_v1.proto

#import <Foundation/Foundation.h>

#if !defined(GPB_GRPC_FORWARD_DECLARE_MESSAGE_PROTO) || !GPB_GRPC_FORWARD_DECLARE_MESSAGE_PROTO
#import "keyapis/telemetry_control/v1/KeyapisTelemetryControlBuildingGisV1.pbobjc.h"
#endif

#if !defined(GPB_GRPC_PROTOCOL_ONLY) || !GPB_GRPC_PROTOCOL_ONLY
#import <ProtoRPC/ProtoService.h>
#import <ProtoRPC/ProtoRPCLegacy.h>
#import <RxLibrary/GRXWriteable.h>
#import <RxLibrary/GRXWriter.h>
#endif

@class KEYAPISTELEMETRYCONTROLV1GetBuildingGisAttributesRequest;
@class KEYAPISTELEMETRYCONTROLV1GetBuildingGisAttributesResponse;
@class KEYAPISTELEMETRYCONTROLV1PutBuildingGisAttributesRequest;
@class KEYAPISTELEMETRYCONTROLV1PutBuildingGisAttributesResponse;

#if !defined(GPB_GRPC_FORWARD_DECLARE_MESSAGE_PROTO) || !GPB_GRPC_FORWARD_DECLARE_MESSAGE_PROTO
  #import "google/api/Annotations.pbobjc.h"
  #import "google/api/FieldBehavior.pbobjc.h"
#endif

@class GRPCUnaryProtoCall;
@class GRPCStreamingProtoCall;
@class GRPCCallOptions;
@protocol GRPCProtoResponseHandler;
@class GRPCProtoCall;


NS_ASSUME_NONNULL_BEGIN

@protocol KEYAPISTELEMETRYCONTROLV1BuildingGisService2 <NSObject>

#pragma mark GetBuildingGisAttributes(GetBuildingGisAttributesRequest) returns (GetBuildingGisAttributesResponse)

/**
 * Метод получения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства.
 * Метод доступен для: Token: admin
 */
- (GRPCUnaryProtoCall *)getBuildingGisAttributesWithMessage:(KEYAPISTELEMETRYCONTROLV1GetBuildingGisAttributesRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

#pragma mark PutBuildingGisAttributes(PutBuildingGisAttributesRequest) returns (PutBuildingGisAttributesResponse)

/**
 * Метод сохранения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства.
 * Метод доступен для: Token: admin
 */
- (GRPCUnaryProtoCall *)putBuildingGisAttributesWithMessage:(KEYAPISTELEMETRYCONTROLV1PutBuildingGisAttributesRequest *)message responseHandler:(id<GRPCProtoResponseHandler>)handler callOptions:(GRPCCallOptions *_Nullable)callOptions;

@end

/**
 * The methods in this protocol belong to a set of old APIs that have been deprecated. They do not
 * recognize call options provided in the initializer. Using the v2 protocol is recommended.
 */
@protocol KEYAPISTELEMETRYCONTROLV1BuildingGisService <NSObject>

#pragma mark GetBuildingGisAttributes(GetBuildingGisAttributesRequest) returns (GetBuildingGisAttributesResponse)

/**
 * Метод получения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства.
 * Метод доступен для: Token: admin
 *
 * This method belongs to a set of APIs that have been deprecated. Using the v2 API is recommended.
 */
- (void)getBuildingGisAttributesWithRequest:(KEYAPISTELEMETRYCONTROLV1GetBuildingGisAttributesRequest *)request handler:(void(^)(KEYAPISTELEMETRYCONTROLV1GetBuildingGisAttributesResponse *_Nullable response, NSError *_Nullable error))handler;

/**
 * Метод получения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства.
 * Метод доступен для: Token: admin
 *
 * This method belongs to a set of APIs that have been deprecated. Using the v2 API is recommended.
 */
- (GRPCProtoCall *)RPCToGetBuildingGisAttributesWithRequest:(KEYAPISTELEMETRYCONTROLV1GetBuildingGisAttributesRequest *)request handler:(void(^)(KEYAPISTELEMETRYCONTROLV1GetBuildingGisAttributesResponse *_Nullable response, NSError *_Nullable error))handler;


#pragma mark PutBuildingGisAttributes(PutBuildingGisAttributesRequest) returns (PutBuildingGisAttributesResponse)

/**
 * Метод сохранения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства.
 * Метод доступен для: Token: admin
 *
 * This method belongs to a set of APIs that have been deprecated. Using the v2 API is recommended.
 */
- (void)putBuildingGisAttributesWithRequest:(KEYAPISTELEMETRYCONTROLV1PutBuildingGisAttributesRequest *)request handler:(void(^)(KEYAPISTELEMETRYCONTROLV1PutBuildingGisAttributesResponse *_Nullable response, NSError *_Nullable error))handler;

/**
 * Метод сохранения атрибутов выгрузки показаний в ГИС ЖКХ объекта строительства.
 * Метод доступен для: Token: admin
 *
 * This method belongs to a set of APIs that have been deprecated. Using the v2 API is recommended.
 */
- (GRPCProtoCall *)RPCToPutBuildingGisAttributesWithRequest:(KEYAPISTELEMETRYCONTROLV1PutBuildingGisAttributesRequest *)request handler:(void(^)(KEYAPISTELEMETRYCONTROLV1PutBuildingGisAttributesResponse *_Nullable response, NSError *_Nullable error))handler;


@end


#if !defined(GPB_GRPC_PROTOCOL_ONLY) || !GPB_GRPC_PROTOCOL_ONLY
/**
 * Basic service implementation, over gRPC, that only does
 * marshalling and parsing.
 */
@interface KEYAPISTELEMETRYCONTROLV1BuildingGisService : GRPCProtoService<KEYAPISTELEMETRYCONTROLV1BuildingGisService2, KEYAPISTELEMETRYCONTROLV1BuildingGisService>
- (instancetype)initWithHost:(NSString *)host callOptions:(GRPCCallOptions *_Nullable)callOptions NS_DESIGNATED_INITIALIZER;
+ (instancetype)serviceWithHost:(NSString *)host callOptions:(GRPCCallOptions *_Nullable)callOptions;
// The following methods belong to a set of old APIs that have been deprecated.
- (instancetype)initWithHost:(NSString *)host;
+ (instancetype)serviceWithHost:(NSString *)host;
@end
#endif

NS_ASSUME_NONNULL_END

