Update proto files
This commit is contained in:
commit
8063680763
6 changed files with 140 additions and 149 deletions
|
@ -1,12 +1,12 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package inetmock.audit.details;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Audit.Details";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/details";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.audit.details";
|
||||
option java_outer_classname = "HandlerEventProto";
|
||||
option csharp_namespace = "INetMock.Client.Audit.Details";
|
||||
|
||||
package inetmock.audit.details;
|
||||
option java_package = "com.github.baez90.inetmock.audit.details";
|
||||
|
||||
enum DNSOpCode {
|
||||
Query = 0;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package inetmock.audit.details;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Audit.Details";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/details";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.audit.details";
|
||||
option java_outer_classname = "HandlerEventProto";
|
||||
option csharp_namespace = "INetMock.Client.Audit.Details";
|
||||
|
||||
package inetmock.audit.details;
|
||||
option java_package = "com.github.baez90.inetmock.audit.details";
|
||||
|
||||
enum HTTPMethod {
|
||||
GET = 0;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package inetmock.audit;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Audit";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/audit";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.audit";
|
||||
option java_outer_classname = "HandlerEventProto";
|
||||
option csharp_namespace = "INetMock.Client.Audit";
|
||||
|
||||
package inetmock.audit;
|
||||
option java_package = "com.github.baez90.inetmock.audit";
|
||||
|
||||
import "google/protobuf/any.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package inetmock.rpc;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
option java_outer_classname = "AuditProto";
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
|
||||
import 'audit/event_entity.proto';
|
||||
|
||||
package inetmock.rpc;
|
||||
import "audit/event_entity.proto";
|
||||
|
||||
enum FileOpenMode {
|
||||
TRUNCATE = 0;
|
||||
|
@ -35,9 +35,7 @@ message RemoveFileSinkResponse {
|
|||
bool SinkGotRemoved = 1;
|
||||
}
|
||||
|
||||
message ListSinksRequest {
|
||||
|
||||
}
|
||||
message ListSinksRequest {}
|
||||
|
||||
message ListSinksResponse {
|
||||
repeated string sinks = 1;
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
syntax = "proto3";
|
||||
|
||||
option go_package = "gitlab.com/inetmock/inetmock/internal/rpc";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
option java_outer_classname = "HealthProto";
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
|
||||
package inetmock.rpc;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/internal/rpc";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "HealthProto";
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
|
||||
service Health {
|
||||
rpc GetHealth (HealthRequest) returns (HealthResponse) {
|
||||
}
|
||||
rpc GetHealth(HealthRequest) returns (HealthResponse);
|
||||
}
|
||||
|
||||
enum HealthState {
|
||||
|
|
|
@ -1,32 +1,26 @@
|
|||
syntax = "proto3";
|
||||
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
option java_outer_classname = "AuditProto";
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
|
||||
package inetmock.rpc;
|
||||
|
||||
option csharp_namespace = "INetMock.Client.Rpc";
|
||||
option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "AuditProto";
|
||||
option java_package = "com.github.baez90.inetmock.rpc";
|
||||
|
||||
import "google/protobuf/duration.proto";
|
||||
|
||||
message ListAvailableDevicesRequest {
|
||||
|
||||
}
|
||||
message ListAvailableDevicesRequest {}
|
||||
|
||||
message ListAvailableDevicesResponse {
|
||||
|
||||
message PCAPDevice {
|
||||
string name = 1;
|
||||
repeated bytes addresses = 2;
|
||||
}
|
||||
|
||||
repeated PCAPDevice availableDevices = 1;
|
||||
}
|
||||
|
||||
message ListRecordingsRequest {
|
||||
|
||||
}
|
||||
message ListRecordingsRequest {}
|
||||
|
||||
message ListRecordingsResponse {
|
||||
repeated string subscriptions = 1;
|
||||
|
|
Loading…
Reference in a new issue