settings

package
Version: v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_settings_settings_proto protoreflect.FileDescriptor
View Source
var File_settings_settings_service_proto protoreflect.FileDescriptor
View Source
var SettingsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "settings.SettingsService",
	HandlerType: (*SettingsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _SettingsService_Get_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "settings/settings_service.proto",
}

SettingsService_ServiceDesc is the grpc.ServiceDesc for SettingsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSettingsServiceServer

func RegisterSettingsServiceServer(s grpc.ServiceRegistrar, srv SettingsServiceServer)

Types

type Settings

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"`
	// contains filtered or unexported fields
}

func (*Settings) Descriptor deprecated

This method has been deprecated.
func (*Settings) Descriptor() ([]byte, []int)

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) GetCertificate

func (x *Settings) GetCertificate() string

func (*Settings) GetEndpointUrl

func (x *Settings) GetEndpointUrl() string

func (*Settings) GetName

func (x *Settings) GetName() string

func (*Settings) GetOauth2Cloud

func (x *Settings) GetOauth2Cloud() bool

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect added in v0.0.12

func (x *Settings) ProtoReflect() protoreflect.Message

func (*Settings) Reset

func (x *Settings) Reset()

func (*Settings) String

func (x *Settings) String() string

type SettingsReq

type SettingsReq struct {
	UseCase string `protobuf:"bytes,2,opt,name=use_case,json=useCase,proto3" json:"use_case,omitempty"`
	// contains filtered or unexported fields
}

func (*SettingsReq) Descriptor deprecated

This method has been deprecated.
func (*SettingsReq) Descriptor() ([]byte, []int)

Deprecated: Use SettingsReq.ProtoReflect.Descriptor instead.

func (*SettingsReq) GetUseCase

func (x *SettingsReq) GetUseCase() string

func (*SettingsReq) ProtoMessage

func (*SettingsReq) ProtoMessage()

func (*SettingsReq) ProtoReflect added in v0.0.12

func (x *SettingsReq) ProtoReflect() protoreflect.Message

func (*SettingsReq) Reset

func (x *SettingsReq) Reset()

func (*SettingsReq) String

func (x *SettingsReq) String() string

type SettingsResp

type SettingsResp struct {
	Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*SettingsResp) Descriptor deprecated

This method has been deprecated.
func (*SettingsResp) Descriptor() ([]byte, []int)

Deprecated: Use SettingsResp.ProtoReflect.Descriptor instead.

func (*SettingsResp) GetSettings

func (x *SettingsResp) GetSettings() *Settings

func (*SettingsResp) ProtoMessage

func (*SettingsResp) ProtoMessage()

func (*SettingsResp) ProtoReflect added in v0.0.12

func (x *SettingsResp) ProtoReflect() protoreflect.Message

func (*SettingsResp) Reset

func (x *SettingsResp) Reset()

func (*SettingsResp) String

func (x *SettingsResp) String() string

type SettingsServiceClient

type SettingsServiceClient interface {
	Get(ctx context.Context, in *SettingsReq, opts ...grpc.CallOption) (*SettingsResp, error)
}

SettingsServiceClient is the client API for SettingsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SettingsServiceServer

type SettingsServiceServer interface {
	Get(context.Context, *SettingsReq) (*SettingsResp, error)
	// contains filtered or unexported methods
}

SettingsServiceServer is the server API for SettingsService service. All implementations must embed UnimplementedSettingsServiceServer for forward compatibility

type UnimplementedSettingsServiceServer added in v0.0.5

type UnimplementedSettingsServiceServer struct {
}

UnimplementedSettingsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSettingsServiceServer) Get added in v0.0.5

type UnsafeSettingsServiceServer added in v0.0.18

type UnsafeSettingsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSettingsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SettingsServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL