Sha256: b3a57090a1e383b249a14985975d10e5ae4bce7679b7d77917662e33d0c71464

Contents?: true

Size: 588 Bytes

Versions: 8

Compression:

Stored size: 588 Bytes

Contents

package spec.proto;

enum StatusType {
  PENDING = 0;
  ENABLED = 1;
  DISABLED = 2;
  DELETED = 3;
}

message ResourceFindRequest {
  optional string name = 1;
  optional bool active = 2;
}

message Resource {
  optional string name = 1;
  optional int64 date_created = 2;
  optional StatusType status = 3;
  repeated StatusType repeated_enum = 4;
}

message Nested {
  optional string name = 1;
  optional Resource resource = 2;
  repeated Resource multiple_resources = 3;
  optional StatusType status = 4;
}

service TestService {
  rpc Find (ResourceFindRequest) returns (Resource);
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
protobuf-1.1.3 spec/proto/test.proto
protobuf-1.1.2 spec/proto/test.proto
protobuf-1.1.1 spec/proto/test.proto
protobuf-1.1.0.beta2 spec/proto/test.proto
protobuf-1.1.0.beta1 spec/proto/test.proto
protobuf-1.1.0.beta0 spec/proto/test.proto
protobuf-1.0.1 spec/proto/test.proto
protobuf-1.0.0 spec/proto/test.proto