| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: settings/settings.proto |
| |
| package settings |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.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 _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| type Settings struct { |
| Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` |
| EndpointUrl string `protobuf:"bytes,1,opt,name=endpoint_url,json=endpointUrl,proto3" json:"endpoint_url,omitempty"` |
| Certificate string `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` |
| // requires oauth2 for cloud service. |
| Oauth2Cloud bool `protobuf:"varint,4,opt,name=oauth2_cloud,json=oauth2Cloud,proto3" json:"oauth2_cloud,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Settings) Reset() { *m = Settings{} } |
| func (m *Settings) String() string { return proto.CompactTextString(m) } |
| func (*Settings) ProtoMessage() {} |
| func (*Settings) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a4bfd59e429426d0, []int{0} |
| } |
| |
| func (m *Settings) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Settings.Unmarshal(m, b) |
| } |
| func (m *Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Settings.Marshal(b, m, deterministic) |
| } |
| func (m *Settings) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Settings.Merge(m, src) |
| } |
| func (m *Settings) XXX_Size() int { |
| return xxx_messageInfo_Settings.Size(m) |
| } |
| func (m *Settings) XXX_DiscardUnknown() { |
| xxx_messageInfo_Settings.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Settings proto.InternalMessageInfo |
| |
| func (m *Settings) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *Settings) GetEndpointUrl() string { |
| if m != nil { |
| return m.EndpointUrl |
| } |
| return "" |
| } |
| |
| func (m *Settings) GetCertificate() string { |
| if m != nil { |
| return m.Certificate |
| } |
| return "" |
| } |
| |
| func (m *Settings) GetOauth2Cloud() bool { |
| if m != nil { |
| return m.Oauth2Cloud |
| } |
| return false |
| } |
| |
| type SettingsReq struct { |
| UseCase string `protobuf:"bytes,2,opt,name=use_case,json=useCase,proto3" json:"use_case,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SettingsReq) Reset() { *m = SettingsReq{} } |
| func (m *SettingsReq) String() string { return proto.CompactTextString(m) } |
| func (*SettingsReq) ProtoMessage() {} |
| func (*SettingsReq) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a4bfd59e429426d0, []int{1} |
| } |
| |
| func (m *SettingsReq) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SettingsReq.Unmarshal(m, b) |
| } |
| func (m *SettingsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SettingsReq.Marshal(b, m, deterministic) |
| } |
| func (m *SettingsReq) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SettingsReq.Merge(m, src) |
| } |
| func (m *SettingsReq) XXX_Size() int { |
| return xxx_messageInfo_SettingsReq.Size(m) |
| } |
| func (m *SettingsReq) XXX_DiscardUnknown() { |
| xxx_messageInfo_SettingsReq.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SettingsReq proto.InternalMessageInfo |
| |
| func (m *SettingsReq) GetUseCase() string { |
| if m != nil { |
| return m.UseCase |
| } |
| return "" |
| } |
| |
| type SettingsResp struct { |
| Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SettingsResp) Reset() { *m = SettingsResp{} } |
| func (m *SettingsResp) String() string { return proto.CompactTextString(m) } |
| func (*SettingsResp) ProtoMessage() {} |
| func (*SettingsResp) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a4bfd59e429426d0, []int{2} |
| } |
| |
| func (m *SettingsResp) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SettingsResp.Unmarshal(m, b) |
| } |
| func (m *SettingsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SettingsResp.Marshal(b, m, deterministic) |
| } |
| func (m *SettingsResp) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SettingsResp.Merge(m, src) |
| } |
| func (m *SettingsResp) XXX_Size() int { |
| return xxx_messageInfo_SettingsResp.Size(m) |
| } |
| func (m *SettingsResp) XXX_DiscardUnknown() { |
| xxx_messageInfo_SettingsResp.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SettingsResp proto.InternalMessageInfo |
| |
| func (m *SettingsResp) GetSettings() *Settings { |
| if m != nil { |
| return m.Settings |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*Settings)(nil), "settings.Settings") |
| proto.RegisterType((*SettingsReq)(nil), "settings.SettingsReq") |
| proto.RegisterType((*SettingsResp)(nil), "settings.SettingsResp") |
| } |
| |
| func init() { proto.RegisterFile("settings/settings.proto", fileDescriptor_a4bfd59e429426d0) } |
| |
| var fileDescriptor_a4bfd59e429426d0 = []byte{ |
| // 208 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x3d, 0x4f, 0x04, 0x21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