github.com/timstclair/heapster@v0.20.0-alpha1/Godeps/_workspace/src/google.golang.org/appengine/internal/modules/modules_service.pb.go (about)

     1  // Code generated by protoc-gen-go.
     2  // source: google.golang.org/appengine/internal/modules/modules_service.proto
     3  // DO NOT EDIT!
     4  
     5  /*
     6  Package modules is a generated protocol buffer package.
     7  
     8  It is generated from these files:
     9  	google.golang.org/appengine/internal/modules/modules_service.proto
    10  
    11  It has these top-level messages:
    12  	ModulesServiceError
    13  	GetModulesRequest
    14  	GetModulesResponse
    15  	GetVersionsRequest
    16  	GetVersionsResponse
    17  	GetDefaultVersionRequest
    18  	GetDefaultVersionResponse
    19  	GetNumInstancesRequest
    20  	GetNumInstancesResponse
    21  	SetNumInstancesRequest
    22  	SetNumInstancesResponse
    23  	StartModuleRequest
    24  	StartModuleResponse
    25  	StopModuleRequest
    26  	StopModuleResponse
    27  	GetHostnameRequest
    28  	GetHostnameResponse
    29  */
    30  package modules
    31  
    32  import proto "github.com/golang/protobuf/proto"
    33  import fmt "fmt"
    34  import math "math"
    35  
    36  // Reference imports to suppress errors if they are not otherwise used.
    37  var _ = proto.Marshal
    38  var _ = fmt.Errorf
    39  var _ = math.Inf
    40  
    41  type ModulesServiceError_ErrorCode int32
    42  
    43  const (
    44  	ModulesServiceError_OK                ModulesServiceError_ErrorCode = 0
    45  	ModulesServiceError_INVALID_MODULE    ModulesServiceError_ErrorCode = 1
    46  	ModulesServiceError_INVALID_VERSION   ModulesServiceError_ErrorCode = 2
    47  	ModulesServiceError_INVALID_INSTANCES ModulesServiceError_ErrorCode = 3
    48  	ModulesServiceError_TRANSIENT_ERROR   ModulesServiceError_ErrorCode = 4
    49  	ModulesServiceError_UNEXPECTED_STATE  ModulesServiceError_ErrorCode = 5
    50  )
    51  
    52  var ModulesServiceError_ErrorCode_name = map[int32]string{
    53  	0: "OK",
    54  	1: "INVALID_MODULE",
    55  	2: "INVALID_VERSION",
    56  	3: "INVALID_INSTANCES",
    57  	4: "TRANSIENT_ERROR",
    58  	5: "UNEXPECTED_STATE",
    59  }
    60  var ModulesServiceError_ErrorCode_value = map[string]int32{
    61  	"OK":                0,
    62  	"INVALID_MODULE":    1,
    63  	"INVALID_VERSION":   2,
    64  	"INVALID_INSTANCES": 3,
    65  	"TRANSIENT_ERROR":   4,
    66  	"UNEXPECTED_STATE":  5,
    67  }
    68  
    69  func (x ModulesServiceError_ErrorCode) Enum() *ModulesServiceError_ErrorCode {
    70  	p := new(ModulesServiceError_ErrorCode)
    71  	*p = x
    72  	return p
    73  }
    74  func (x ModulesServiceError_ErrorCode) String() string {
    75  	return proto.EnumName(ModulesServiceError_ErrorCode_name, int32(x))
    76  }
    77  func (x *ModulesServiceError_ErrorCode) UnmarshalJSON(data []byte) error {
    78  	value, err := proto.UnmarshalJSONEnum(ModulesServiceError_ErrorCode_value, data, "ModulesServiceError_ErrorCode")
    79  	if err != nil {
    80  		return err
    81  	}
    82  	*x = ModulesServiceError_ErrorCode(value)
    83  	return nil
    84  }
    85  
    86  type ModulesServiceError struct {
    87  	XXX_unrecognized []byte `json:"-"`
    88  }
    89  
    90  func (m *ModulesServiceError) Reset()         { *m = ModulesServiceError{} }
    91  func (m *ModulesServiceError) String() string { return proto.CompactTextString(m) }
    92  func (*ModulesServiceError) ProtoMessage()    {}
    93  
    94  type GetModulesRequest struct {
    95  	XXX_unrecognized []byte `json:"-"`
    96  }
    97  
    98  func (m *GetModulesRequest) Reset()         { *m = GetModulesRequest{} }
    99  func (m *GetModulesRequest) String() string { return proto.CompactTextString(m) }
   100  func (*GetModulesRequest) ProtoMessage()    {}
   101  
   102  type GetModulesResponse struct {
   103  	Module           []string `protobuf:"bytes,1,rep,name=module" json:"module,omitempty"`
   104  	XXX_unrecognized []byte   `json:"-"`
   105  }
   106  
   107  func (m *GetModulesResponse) Reset()         { *m = GetModulesResponse{} }
   108  func (m *GetModulesResponse) String() string { return proto.CompactTextString(m) }
   109  func (*GetModulesResponse) ProtoMessage()    {}
   110  
   111  func (m *GetModulesResponse) GetModule() []string {
   112  	if m != nil {
   113  		return m.Module
   114  	}
   115  	return nil
   116  }
   117  
   118  type GetVersionsRequest struct {
   119  	Module           *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
   120  	XXX_unrecognized []byte  `json:"-"`
   121  }
   122  
   123  func (m *GetVersionsRequest) Reset()         { *m = GetVersionsRequest{} }
   124  func (m *GetVersionsRequest) String() string { return proto.CompactTextString(m) }
   125  func (*GetVersionsRequest) ProtoMessage()    {}
   126  
   127  func (m *GetVersionsRequest) GetModule() string {
   128  	if m != nil && m.Module != nil {
   129  		return *m.Module
   130  	}
   131  	return ""
   132  }
   133  
   134  type GetVersionsResponse struct {
   135  	Version          []string `protobuf:"bytes,1,rep,name=version" json:"version,omitempty"`
   136  	XXX_unrecognized []byte   `json:"-"`
   137  }
   138  
   139  func (m *GetVersionsResponse) Reset()         { *m = GetVersionsResponse{} }
   140  func (m *GetVersionsResponse) String() string { return proto.CompactTextString(m) }
   141  func (*GetVersionsResponse) ProtoMessage()    {}
   142  
   143  func (m *GetVersionsResponse) GetVersion() []string {
   144  	if m != nil {
   145  		return m.Version
   146  	}
   147  	return nil
   148  }
   149  
   150  type GetDefaultVersionRequest struct {
   151  	Module           *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
   152  	XXX_unrecognized []byte  `json:"-"`
   153  }
   154  
   155  func (m *GetDefaultVersionRequest) Reset()         { *m = GetDefaultVersionRequest{} }
   156  func (m *GetDefaultVersionRequest) String() string { return proto.CompactTextString(m) }
   157  func (*GetDefaultVersionRequest) ProtoMessage()    {}
   158  
   159  func (m *GetDefaultVersionRequest) GetModule() string {
   160  	if m != nil && m.Module != nil {
   161  		return *m.Module
   162  	}
   163  	return ""
   164  }
   165  
   166  type GetDefaultVersionResponse struct {
   167  	Version          *string `protobuf:"bytes,1,req,name=version" json:"version,omitempty"`
   168  	XXX_unrecognized []byte  `json:"-"`
   169  }
   170  
   171  func (m *GetDefaultVersionResponse) Reset()         { *m = GetDefaultVersionResponse{} }
   172  func (m *GetDefaultVersionResponse) String() string { return proto.CompactTextString(m) }
   173  func (*GetDefaultVersionResponse) ProtoMessage()    {}
   174  
   175  func (m *GetDefaultVersionResponse) GetVersion() string {
   176  	if m != nil && m.Version != nil {
   177  		return *m.Version
   178  	}
   179  	return ""
   180  }
   181  
   182  type GetNumInstancesRequest struct {
   183  	Module           *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
   184  	Version          *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
   185  	XXX_unrecognized []byte  `json:"-"`
   186  }
   187  
   188  func (m *GetNumInstancesRequest) Reset()         { *m = GetNumInstancesRequest{} }
   189  func (m *GetNumInstancesRequest) String() string { return proto.CompactTextString(m) }
   190  func (*GetNumInstancesRequest) ProtoMessage()    {}
   191  
   192  func (m *GetNumInstancesRequest) GetModule() string {
   193  	if m != nil && m.Module != nil {
   194  		return *m.Module
   195  	}
   196  	return ""
   197  }
   198  
   199  func (m *GetNumInstancesRequest) GetVersion() string {
   200  	if m != nil && m.Version != nil {
   201  		return *m.Version
   202  	}
   203  	return ""
   204  }
   205  
   206  type GetNumInstancesResponse struct {
   207  	Instances        *int64 `protobuf:"varint,1,req,name=instances" json:"instances,omitempty"`
   208  	XXX_unrecognized []byte `json:"-"`
   209  }
   210  
   211  func (m *GetNumInstancesResponse) Reset()         { *m = GetNumInstancesResponse{} }
   212  func (m *GetNumInstancesResponse) String() string { return proto.CompactTextString(m) }
   213  func (*GetNumInstancesResponse) ProtoMessage()    {}
   214  
   215  func (m *GetNumInstancesResponse) GetInstances() int64 {
   216  	if m != nil && m.Instances != nil {
   217  		return *m.Instances
   218  	}
   219  	return 0
   220  }
   221  
   222  type SetNumInstancesRequest struct {
   223  	Module           *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
   224  	Version          *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
   225  	Instances        *int64  `protobuf:"varint,3,req,name=instances" json:"instances,omitempty"`
   226  	XXX_unrecognized []byte  `json:"-"`
   227  }
   228  
   229  func (m *SetNumInstancesRequest) Reset()         { *m = SetNumInstancesRequest{} }
   230  func (m *SetNumInstancesRequest) String() string { return proto.CompactTextString(m) }
   231  func (*SetNumInstancesRequest) ProtoMessage()    {}
   232  
   233  func (m *SetNumInstancesRequest) GetModule() string {
   234  	if m != nil && m.Module != nil {
   235  		return *m.Module
   236  	}
   237  	return ""
   238  }
   239  
   240  func (m *SetNumInstancesRequest) GetVersion() string {
   241  	if m != nil && m.Version != nil {
   242  		return *m.Version
   243  	}
   244  	return ""
   245  }
   246  
   247  func (m *SetNumInstancesRequest) GetInstances() int64 {
   248  	if m != nil && m.Instances != nil {
   249  		return *m.Instances
   250  	}
   251  	return 0
   252  }
   253  
   254  type SetNumInstancesResponse struct {
   255  	XXX_unrecognized []byte `json:"-"`
   256  }
   257  
   258  func (m *SetNumInstancesResponse) Reset()         { *m = SetNumInstancesResponse{} }
   259  func (m *SetNumInstancesResponse) String() string { return proto.CompactTextString(m) }
   260  func (*SetNumInstancesResponse) ProtoMessage()    {}
   261  
   262  type StartModuleRequest struct {
   263  	Module           *string `protobuf:"bytes,1,req,name=module" json:"module,omitempty"`
   264  	Version          *string `protobuf:"bytes,2,req,name=version" json:"version,omitempty"`
   265  	XXX_unrecognized []byte  `json:"-"`
   266  }
   267  
   268  func (m *StartModuleRequest) Reset()         { *m = StartModuleRequest{} }
   269  func (m *StartModuleRequest) String() string { return proto.CompactTextString(m) }
   270  func (*StartModuleRequest) ProtoMessage()    {}
   271  
   272  func (m *StartModuleRequest) GetModule() string {
   273  	if m != nil && m.Module != nil {
   274  		return *m.Module
   275  	}
   276  	return ""
   277  }
   278  
   279  func (m *StartModuleRequest) GetVersion() string {
   280  	if m != nil && m.Version != nil {
   281  		return *m.Version
   282  	}
   283  	return ""
   284  }
   285  
   286  type StartModuleResponse struct {
   287  	XXX_unrecognized []byte `json:"-"`
   288  }
   289  
   290  func (m *StartModuleResponse) Reset()         { *m = StartModuleResponse{} }
   291  func (m *StartModuleResponse) String() string { return proto.CompactTextString(m) }
   292  func (*StartModuleResponse) ProtoMessage()    {}
   293  
   294  type StopModuleRequest struct {
   295  	Module           *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
   296  	Version          *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
   297  	XXX_unrecognized []byte  `json:"-"`
   298  }
   299  
   300  func (m *StopModuleRequest) Reset()         { *m = StopModuleRequest{} }
   301  func (m *StopModuleRequest) String() string { return proto.CompactTextString(m) }
   302  func (*StopModuleRequest) ProtoMessage()    {}
   303  
   304  func (m *StopModuleRequest) GetModule() string {
   305  	if m != nil && m.Module != nil {
   306  		return *m.Module
   307  	}
   308  	return ""
   309  }
   310  
   311  func (m *StopModuleRequest) GetVersion() string {
   312  	if m != nil && m.Version != nil {
   313  		return *m.Version
   314  	}
   315  	return ""
   316  }
   317  
   318  type StopModuleResponse struct {
   319  	XXX_unrecognized []byte `json:"-"`
   320  }
   321  
   322  func (m *StopModuleResponse) Reset()         { *m = StopModuleResponse{} }
   323  func (m *StopModuleResponse) String() string { return proto.CompactTextString(m) }
   324  func (*StopModuleResponse) ProtoMessage()    {}
   325  
   326  type GetHostnameRequest struct {
   327  	Module           *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
   328  	Version          *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
   329  	Instance         *string `protobuf:"bytes,3,opt,name=instance" json:"instance,omitempty"`
   330  	XXX_unrecognized []byte  `json:"-"`
   331  }
   332  
   333  func (m *GetHostnameRequest) Reset()         { *m = GetHostnameRequest{} }
   334  func (m *GetHostnameRequest) String() string { return proto.CompactTextString(m) }
   335  func (*GetHostnameRequest) ProtoMessage()    {}
   336  
   337  func (m *GetHostnameRequest) GetModule() string {
   338  	if m != nil && m.Module != nil {
   339  		return *m.Module
   340  	}
   341  	return ""
   342  }
   343  
   344  func (m *GetHostnameRequest) GetVersion() string {
   345  	if m != nil && m.Version != nil {
   346  		return *m.Version
   347  	}
   348  	return ""
   349  }
   350  
   351  func (m *GetHostnameRequest) GetInstance() string {
   352  	if m != nil && m.Instance != nil {
   353  		return *m.Instance
   354  	}
   355  	return ""
   356  }
   357  
   358  type GetHostnameResponse struct {
   359  	Hostname         *string `protobuf:"bytes,1,req,name=hostname" json:"hostname,omitempty"`
   360  	XXX_unrecognized []byte  `json:"-"`
   361  }
   362  
   363  func (m *GetHostnameResponse) Reset()         { *m = GetHostnameResponse{} }
   364  func (m *GetHostnameResponse) String() string { return proto.CompactTextString(m) }
   365  func (*GetHostnameResponse) ProtoMessage()    {}
   366  
   367  func (m *GetHostnameResponse) GetHostname() string {
   368  	if m != nil && m.Hostname != nil {
   369  		return *m.Hostname
   370  	}
   371  	return ""
   372  }
   373  
   374  func init() {
   375  }