boulder/core/proto/core.pb.go

301 lines
10 KiB
Go

// Code generated by protoc-gen-go.
// source: core/proto/core.proto
// DO NOT EDIT!
/*
Package proto is a generated protocol buffer package.
It is generated from these files:
core/proto/core.proto
It has these top-level messages:
Challenge
ValidationRecord
ProblemDetails
Certificate
Empty
*/
package proto
import proto1 "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto1.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto1.ProtoPackageIsVersion2 // please upgrade the proto package
type Challenge struct {
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Type *string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
Status *string `protobuf:"bytes,6,opt,name=status" json:"status,omitempty"`
Uri *string `protobuf:"bytes,9,opt,name=uri" json:"uri,omitempty"`
Token *string `protobuf:"bytes,3,opt,name=token" json:"token,omitempty"`
KeyAuthorization *string `protobuf:"bytes,5,opt,name=keyAuthorization" json:"keyAuthorization,omitempty"`
Validationrecords []*ValidationRecord `protobuf:"bytes,10,rep,name=validationrecords" json:"validationrecords,omitempty"`
Error *ProblemDetails `protobuf:"bytes,7,opt,name=error" json:"error,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Challenge) Reset() { *m = Challenge{} }
func (m *Challenge) String() string { return proto1.CompactTextString(m) }
func (*Challenge) ProtoMessage() {}
func (*Challenge) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *Challenge) GetId() int64 {
if m != nil && m.Id != nil {
return *m.Id
}
return 0
}
func (m *Challenge) GetType() string {
if m != nil && m.Type != nil {
return *m.Type
}
return ""
}
func (m *Challenge) GetStatus() string {
if m != nil && m.Status != nil {
return *m.Status
}
return ""
}
func (m *Challenge) GetUri() string {
if m != nil && m.Uri != nil {
return *m.Uri
}
return ""
}
func (m *Challenge) GetToken() string {
if m != nil && m.Token != nil {
return *m.Token
}
return ""
}
func (m *Challenge) GetKeyAuthorization() string {
if m != nil && m.KeyAuthorization != nil {
return *m.KeyAuthorization
}
return ""
}
func (m *Challenge) GetValidationrecords() []*ValidationRecord {
if m != nil {
return m.Validationrecords
}
return nil
}
func (m *Challenge) GetError() *ProblemDetails {
if m != nil {
return m.Error
}
return nil
}
type ValidationRecord struct {
Hostname *string `protobuf:"bytes,1,opt,name=hostname" json:"hostname,omitempty"`
Port *string `protobuf:"bytes,2,opt,name=port" json:"port,omitempty"`
AddressesResolved [][]byte `protobuf:"bytes,3,rep,name=addressesResolved" json:"addressesResolved,omitempty"`
AddressUsed []byte `protobuf:"bytes,4,opt,name=addressUsed" json:"addressUsed,omitempty"`
Authorities []string `protobuf:"bytes,5,rep,name=authorities" json:"authorities,omitempty"`
Url *string `protobuf:"bytes,6,opt,name=url" json:"url,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *ValidationRecord) Reset() { *m = ValidationRecord{} }
func (m *ValidationRecord) String() string { return proto1.CompactTextString(m) }
func (*ValidationRecord) ProtoMessage() {}
func (*ValidationRecord) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *ValidationRecord) GetHostname() string {
if m != nil && m.Hostname != nil {
return *m.Hostname
}
return ""
}
func (m *ValidationRecord) GetPort() string {
if m != nil && m.Port != nil {
return *m.Port
}
return ""
}
func (m *ValidationRecord) GetAddressesResolved() [][]byte {
if m != nil {
return m.AddressesResolved
}
return nil
}
func (m *ValidationRecord) GetAddressUsed() []byte {
if m != nil {
return m.AddressUsed
}
return nil
}
func (m *ValidationRecord) GetAuthorities() []string {
if m != nil {
return m.Authorities
}
return nil
}
func (m *ValidationRecord) GetUrl() string {
if m != nil && m.Url != nil {
return *m.Url
}
return ""
}
type ProblemDetails struct {
ProblemType *string `protobuf:"bytes,1,opt,name=problemType" json:"problemType,omitempty"`
Detail *string `protobuf:"bytes,2,opt,name=detail" json:"detail,omitempty"`
HttpStatus *int32 `protobuf:"varint,3,opt,name=httpStatus" json:"httpStatus,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *ProblemDetails) Reset() { *m = ProblemDetails{} }
func (m *ProblemDetails) String() string { return proto1.CompactTextString(m) }
func (*ProblemDetails) ProtoMessage() {}
func (*ProblemDetails) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *ProblemDetails) GetProblemType() string {
if m != nil && m.ProblemType != nil {
return *m.ProblemType
}
return ""
}
func (m *ProblemDetails) GetDetail() string {
if m != nil && m.Detail != nil {
return *m.Detail
}
return ""
}
func (m *ProblemDetails) GetHttpStatus() int32 {
if m != nil && m.HttpStatus != nil {
return *m.HttpStatus
}
return 0
}
type Certificate struct {
RegistrationID *int64 `protobuf:"varint,1,opt,name=registrationID" json:"registrationID,omitempty"`
Serial *string `protobuf:"bytes,2,opt,name=serial" json:"serial,omitempty"`
Digest *string `protobuf:"bytes,3,opt,name=digest" json:"digest,omitempty"`
Der []byte `protobuf:"bytes,4,opt,name=der" json:"der,omitempty"`
Issued *int64 `protobuf:"varint,5,opt,name=issued" json:"issued,omitempty"`
Expires *int64 `protobuf:"varint,6,opt,name=expires" json:"expires,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Certificate) Reset() { *m = Certificate{} }
func (m *Certificate) String() string { return proto1.CompactTextString(m) }
func (*Certificate) ProtoMessage() {}
func (*Certificate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *Certificate) GetRegistrationID() int64 {
if m != nil && m.RegistrationID != nil {
return *m.RegistrationID
}
return 0
}
func (m *Certificate) GetSerial() string {
if m != nil && m.Serial != nil {
return *m.Serial
}
return ""
}
func (m *Certificate) GetDigest() string {
if m != nil && m.Digest != nil {
return *m.Digest
}
return ""
}
func (m *Certificate) GetDer() []byte {
if m != nil {
return m.Der
}
return nil
}
func (m *Certificate) GetIssued() int64 {
if m != nil && m.Issued != nil {
return *m.Issued
}
return 0
}
func (m *Certificate) GetExpires() int64 {
if m != nil && m.Expires != nil {
return *m.Expires
}
return 0
}
type Empty struct {
XXX_unrecognized []byte `json:"-"`
}
func (m *Empty) Reset() { *m = Empty{} }
func (m *Empty) String() string { return proto1.CompactTextString(m) }
func (*Empty) ProtoMessage() {}
func (*Empty) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func init() {
proto1.RegisterType((*Challenge)(nil), "core.Challenge")
proto1.RegisterType((*ValidationRecord)(nil), "core.ValidationRecord")
proto1.RegisterType((*ProblemDetails)(nil), "core.ProblemDetails")
proto1.RegisterType((*Certificate)(nil), "core.Certificate")
proto1.RegisterType((*Empty)(nil), "core.Empty")
}
func init() { proto1.RegisterFile("core/proto/core.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 383 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x92, 0xcf, 0x6e, 0x13, 0x31,
0x10, 0xc6, 0xe5, 0x3a, 0x9b, 0x90, 0xd9, 0x12, 0x52, 0x03, 0x95, 0xb9, 0xad, 0x96, 0xcb, 0x9e,
0x5a, 0xd1, 0x37, 0x80, 0x96, 0x43, 0x6f, 0xa8, 0xfc, 0x39, 0x70, 0x33, 0xf1, 0x90, 0x58, 0x75,
0xd6, 0xab, 0x99, 0xd9, 0x8a, 0x70, 0xe6, 0xcd, 0x78, 0x31, 0xb4, 0xde, 0x0d, 0x08, 0xf5, 0x36,
0x33, 0x9f, 0x47, 0x9a, 0xef, 0xfb, 0x19, 0x5e, 0x6e, 0x12, 0xe1, 0x65, 0x47, 0x49, 0xd2, 0xe5,
0x50, 0x5e, 0xe4, 0xd2, 0xcc, 0x86, 0xba, 0xfe, 0xad, 0x60, 0x79, 0xbd, 0x73, 0x31, 0x62, 0xbb,
0x45, 0x03, 0x70, 0x12, 0xbc, 0x55, 0x95, 0x6a, 0xb4, 0x39, 0x85, 0x99, 0x1c,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