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

     1  // Code generated by protoc-gen-go.
     2  // source: google.golang.org/appengine/internal/app_identity/app_identity_service.proto
     3  // DO NOT EDIT!
     4  
     5  /*
     6  Package app_identity is a generated protocol buffer package.
     7  
     8  It is generated from these files:
     9  	google.golang.org/appengine/internal/app_identity/app_identity_service.proto
    10  
    11  It has these top-level messages:
    12  	AppIdentityServiceError
    13  	SignForAppRequest
    14  	SignForAppResponse
    15  	GetPublicCertificateForAppRequest
    16  	PublicCertificate
    17  	GetPublicCertificateForAppResponse
    18  	GetServiceAccountNameRequest
    19  	GetServiceAccountNameResponse
    20  	GetAccessTokenRequest
    21  	GetAccessTokenResponse
    22  	GetDefaultGcsBucketNameRequest
    23  	GetDefaultGcsBucketNameResponse
    24  */
    25  package app_identity
    26  
    27  import proto "github.com/golang/protobuf/proto"
    28  import fmt "fmt"
    29  import math "math"
    30  
    31  // Reference imports to suppress errors if they are not otherwise used.
    32  var _ = proto.Marshal
    33  var _ = fmt.Errorf
    34  var _ = math.Inf
    35  
    36  type AppIdentityServiceError_ErrorCode int32
    37  
    38  const (
    39  	AppIdentityServiceError_SUCCESS           AppIdentityServiceError_ErrorCode = 0
    40  	AppIdentityServiceError_UNKNOWN_SCOPE     AppIdentityServiceError_ErrorCode = 9
    41  	AppIdentityServiceError_BLOB_TOO_LARGE    AppIdentityServiceError_ErrorCode = 1000
    42  	AppIdentityServiceError_DEADLINE_EXCEEDED AppIdentityServiceError_ErrorCode = 1001
    43  	AppIdentityServiceError_NOT_A_VALID_APP   AppIdentityServiceError_ErrorCode = 1002
    44  	AppIdentityServiceError_UNKNOWN_ERROR     AppIdentityServiceError_ErrorCode = 1003
    45  	AppIdentityServiceError_NOT_ALLOWED       AppIdentityServiceError_ErrorCode = 1005
    46  	AppIdentityServiceError_NOT_IMPLEMENTED   AppIdentityServiceError_ErrorCode = 1006
    47  )
    48  
    49  var AppIdentityServiceError_ErrorCode_name = map[int32]string{
    50  	0:    "SUCCESS",
    51  	9:    "UNKNOWN_SCOPE",
    52  	1000: "BLOB_TOO_LARGE",
    53  	1001: "DEADLINE_EXCEEDED",
    54  	1002: "NOT_A_VALID_APP",
    55  	1003: "UNKNOWN_ERROR",
    56  	1005: "NOT_ALLOWED",
    57  	1006: "NOT_IMPLEMENTED",
    58  }
    59  var AppIdentityServiceError_ErrorCode_value = map[string]int32{
    60  	"SUCCESS":           0,
    61  	"UNKNOWN_SCOPE":     9,
    62  	"BLOB_TOO_LARGE":    1000,
    63  	"DEADLINE_EXCEEDED": 1001,
    64  	"NOT_A_VALID_APP":   1002,
    65  	"UNKNOWN_ERROR":     1003,
    66  	"NOT_ALLOWED":       1005,
    67  	"NOT_IMPLEMENTED":   1006,
    68  }
    69  
    70  func (x AppIdentityServiceError_ErrorCode) Enum() *AppIdentityServiceError_ErrorCode {
    71  	p := new(AppIdentityServiceError_ErrorCode)
    72  	*p = x
    73  	return p
    74  }
    75  func (x AppIdentityServiceError_ErrorCode) String() string {
    76  	return proto.EnumName(AppIdentityServiceError_ErrorCode_name, int32(x))
    77  }
    78  func (x *AppIdentityServiceError_ErrorCode) UnmarshalJSON(data []byte) error {
    79  	value, err := proto.UnmarshalJSONEnum(AppIdentityServiceError_ErrorCode_value, data, "AppIdentityServiceError_ErrorCode")
    80  	if err != nil {
    81  		return err
    82  	}
    83  	*x = AppIdentityServiceError_ErrorCode(value)
    84  	return nil
    85  }
    86  
    87  type AppIdentityServiceError struct {
    88  	XXX_unrecognized []byte `json:"-"`
    89  }
    90  
    91  func (m *AppIdentityServiceError) Reset()         { *m = AppIdentityServiceError{} }
    92  func (m *AppIdentityServiceError) String() string { return proto.CompactTextString(m) }
    93  func (*AppIdentityServiceError) ProtoMessage()    {}
    94  
    95  type SignForAppRequest struct {
    96  	BytesToSign      []byte `protobuf:"bytes,1,opt,name=bytes_to_sign" json:"bytes_to_sign,omitempty"`
    97  	XXX_unrecognized []byte `json:"-"`
    98  }
    99  
   100  func (m *SignForAppRequest) Reset()         { *m = SignForAppRequest{} }
   101  func (m *SignForAppRequest) String() string { return proto.CompactTextString(m) }
   102  func (*SignForAppRequest) ProtoMessage()    {}
   103  
   104  func (m *SignForAppRequest) GetBytesToSign() []byte {
   105  	if m != nil {
   106  		return m.BytesToSign
   107  	}
   108  	return nil
   109  }
   110  
   111  type SignForAppResponse struct {
   112  	KeyName          *string `protobuf:"bytes,1,opt,name=key_name" json:"key_name,omitempty"`
   113  	SignatureBytes   []byte  `protobuf:"bytes,2,opt,name=signature_bytes" json:"signature_bytes,omitempty"`
   114  	XXX_unrecognized []byte  `json:"-"`
   115  }
   116  
   117  func (m *SignForAppResponse) Reset()         { *m = SignForAppResponse{} }
   118  func (m *SignForAppResponse) String() string { return proto.CompactTextString(m) }
   119  func (*SignForAppResponse) ProtoMessage()    {}
   120  
   121  func (m *SignForAppResponse) GetKeyName() string {
   122  	if m != nil && m.KeyName != nil {
   123  		return *m.KeyName
   124  	}
   125  	return ""
   126  }
   127  
   128  func (m *SignForAppResponse) GetSignatureBytes() []byte {
   129  	if m != nil {
   130  		return m.SignatureBytes
   131  	}
   132  	return nil
   133  }
   134  
   135  type GetPublicCertificateForAppRequest struct {
   136  	XXX_unrecognized []byte `json:"-"`
   137  }
   138  
   139  func (m *GetPublicCertificateForAppRequest) Reset()         { *m = GetPublicCertificateForAppRequest{} }
   140  func (m *GetPublicCertificateForAppRequest) String() string { return proto.CompactTextString(m) }
   141  func (*GetPublicCertificateForAppRequest) ProtoMessage()    {}
   142  
   143  type PublicCertificate struct {
   144  	KeyName            *string `protobuf:"bytes,1,opt,name=key_name" json:"key_name,omitempty"`
   145  	X509CertificatePem *string `protobuf:"bytes,2,opt,name=x509_certificate_pem" json:"x509_certificate_pem,omitempty"`
   146  	XXX_unrecognized   []byte  `json:"-"`
   147  }
   148  
   149  func (m *PublicCertificate) Reset()         { *m = PublicCertificate{} }
   150  func (m *PublicCertificate) String() string { return proto.CompactTextString(m) }
   151  func (*PublicCertificate) ProtoMessage()    {}
   152  
   153  func (m *PublicCertificate) GetKeyName() string {
   154  	if m != nil && m.KeyName != nil {
   155  		return *m.KeyName
   156  	}
   157  	return ""
   158  }
   159  
   160  func (m *PublicCertificate) GetX509CertificatePem() string {
   161  	if m != nil && m.X509CertificatePem != nil {
   162  		return *m.X509CertificatePem
   163  	}
   164  	return ""
   165  }
   166  
   167  type GetPublicCertificateForAppResponse struct {
   168  	PublicCertificateList      []*PublicCertificate `protobuf:"bytes,1,rep,name=public_certificate_list" json:"public_certificate_list,omitempty"`
   169  	MaxClientCacheTimeInSecond *int64               `protobuf:"varint,2,opt,name=max_client_cache_time_in_second" json:"max_client_cache_time_in_second,omitempty"`
   170  	XXX_unrecognized           []byte               `json:"-"`
   171  }
   172  
   173  func (m *GetPublicCertificateForAppResponse) Reset()         { *m = GetPublicCertificateForAppResponse{} }
   174  func (m *GetPublicCertificateForAppResponse) String() string { return proto.CompactTextString(m) }
   175  func (*GetPublicCertificateForAppResponse) ProtoMessage()    {}
   176  
   177  func (m *GetPublicCertificateForAppResponse) GetPublicCertificateList() []*PublicCertificate {
   178  	if m != nil {
   179  		return m.PublicCertificateList
   180  	}
   181  	return nil
   182  }
   183  
   184  func (m *GetPublicCertificateForAppResponse) GetMaxClientCacheTimeInSecond() int64 {
   185  	if m != nil && m.MaxClientCacheTimeInSecond != nil {
   186  		return *m.MaxClientCacheTimeInSecond
   187  	}
   188  	return 0
   189  }
   190  
   191  type GetServiceAccountNameRequest struct {
   192  	XXX_unrecognized []byte `json:"-"`
   193  }
   194  
   195  func (m *GetServiceAccountNameRequest) Reset()         { *m = GetServiceAccountNameRequest{} }
   196  func (m *GetServiceAccountNameRequest) String() string { return proto.CompactTextString(m) }
   197  func (*GetServiceAccountNameRequest) ProtoMessage()    {}
   198  
   199  type GetServiceAccountNameResponse struct {
   200  	ServiceAccountName *string `protobuf:"bytes,1,opt,name=service_account_name" json:"service_account_name,omitempty"`
   201  	XXX_unrecognized   []byte  `json:"-"`
   202  }
   203  
   204  func (m *GetServiceAccountNameResponse) Reset()         { *m = GetServiceAccountNameResponse{} }
   205  func (m *GetServiceAccountNameResponse) String() string { return proto.CompactTextString(m) }
   206  func (*GetServiceAccountNameResponse) ProtoMessage()    {}
   207  
   208  func (m *GetServiceAccountNameResponse) GetServiceAccountName() string {
   209  	if m != nil && m.ServiceAccountName != nil {
   210  		return *m.ServiceAccountName
   211  	}
   212  	return ""
   213  }
   214  
   215  type GetAccessTokenRequest struct {
   216  	Scope              []string `protobuf:"bytes,1,rep,name=scope" json:"scope,omitempty"`
   217  	ServiceAccountId   *int64   `protobuf:"varint,2,opt,name=service_account_id" json:"service_account_id,omitempty"`
   218  	ServiceAccountName *string  `protobuf:"bytes,3,opt,name=service_account_name" json:"service_account_name,omitempty"`
   219  	XXX_unrecognized   []byte   `json:"-"`
   220  }
   221  
   222  func (m *GetAccessTokenRequest) Reset()         { *m = GetAccessTokenRequest{} }
   223  func (m *GetAccessTokenRequest) String() string { return proto.CompactTextString(m) }
   224  func (*GetAccessTokenRequest) ProtoMessage()    {}
   225  
   226  func (m *GetAccessTokenRequest) GetScope() []string {
   227  	if m != nil {
   228  		return m.Scope
   229  	}
   230  	return nil
   231  }
   232  
   233  func (m *GetAccessTokenRequest) GetServiceAccountId() int64 {
   234  	if m != nil && m.ServiceAccountId != nil {
   235  		return *m.ServiceAccountId
   236  	}
   237  	return 0
   238  }
   239  
   240  func (m *GetAccessTokenRequest) GetServiceAccountName() string {
   241  	if m != nil && m.ServiceAccountName != nil {
   242  		return *m.ServiceAccountName
   243  	}
   244  	return ""
   245  }
   246  
   247  type GetAccessTokenResponse struct {
   248  	AccessToken      *string `protobuf:"bytes,1,opt,name=access_token" json:"access_token,omitempty"`
   249  	ExpirationTime   *int64  `protobuf:"varint,2,opt,name=expiration_time" json:"expiration_time,omitempty"`
   250  	XXX_unrecognized []byte  `json:"-"`
   251  }
   252  
   253  func (m *GetAccessTokenResponse) Reset()         { *m = GetAccessTokenResponse{} }
   254  func (m *GetAccessTokenResponse) String() string { return proto.CompactTextString(m) }
   255  func (*GetAccessTokenResponse) ProtoMessage()    {}
   256  
   257  func (m *GetAccessTokenResponse) GetAccessToken() string {
   258  	if m != nil && m.AccessToken != nil {
   259  		return *m.AccessToken
   260  	}
   261  	return ""
   262  }
   263  
   264  func (m *GetAccessTokenResponse) GetExpirationTime() int64 {
   265  	if m != nil && m.ExpirationTime != nil {
   266  		return *m.ExpirationTime
   267  	}
   268  	return 0
   269  }
   270  
   271  type GetDefaultGcsBucketNameRequest struct {
   272  	XXX_unrecognized []byte `json:"-"`
   273  }
   274  
   275  func (m *GetDefaultGcsBucketNameRequest) Reset()         { *m = GetDefaultGcsBucketNameRequest{} }
   276  func (m *GetDefaultGcsBucketNameRequest) String() string { return proto.CompactTextString(m) }
   277  func (*GetDefaultGcsBucketNameRequest) ProtoMessage()    {}
   278  
   279  type GetDefaultGcsBucketNameResponse struct {
   280  	DefaultGcsBucketName *string `protobuf:"bytes,1,opt,name=default_gcs_bucket_name" json:"default_gcs_bucket_name,omitempty"`
   281  	XXX_unrecognized     []byte  `json:"-"`
   282  }
   283  
   284  func (m *GetDefaultGcsBucketNameResponse) Reset()         { *m = GetDefaultGcsBucketNameResponse{} }
   285  func (m *GetDefaultGcsBucketNameResponse) String() string { return proto.CompactTextString(m) }
   286  func (*GetDefaultGcsBucketNameResponse) ProtoMessage()    {}
   287  
   288  func (m *GetDefaultGcsBucketNameResponse) GetDefaultGcsBucketName() string {
   289  	if m != nil && m.DefaultGcsBucketName != nil {
   290  		return *m.DefaultGcsBucketName
   291  	}
   292  	return ""
   293  }
   294  
   295  func init() {
   296  }