contextupdate

package
v0.0.0-...-7c77b90 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 9 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_contextupdate_proto protoreflect.FileDescriptor

Functions

func RegisterContextupdateServer

func RegisterContextupdateServer(s *grpc.Server, srv ContextupdateServer)

Types

type ContextUpdateRequest

type ContextUpdateRequest struct {
	AppContext string `protobuf:"bytes,1,opt,name=app_context,json=appContext,proto3" json:"app_context,omitempty"`
	IntentName string `protobuf:"bytes,2,opt,name=intent_name,json=intentName,proto3" json:"intent_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ContextUpdateRequest) Descriptor deprecated

func (*ContextUpdateRequest) Descriptor() ([]byte, []int)

Deprecated: Use ContextUpdateRequest.ProtoReflect.Descriptor instead.

func (*ContextUpdateRequest) GetAppContext

func (x *ContextUpdateRequest) GetAppContext() string

func (*ContextUpdateRequest) GetIntentName

func (x *ContextUpdateRequest) GetIntentName() string

func (*ContextUpdateRequest) ProtoMessage

func (*ContextUpdateRequest) ProtoMessage()

func (*ContextUpdateRequest) ProtoReflect

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

func (*ContextUpdateRequest) Reset

func (x *ContextUpdateRequest) Reset()

func (*ContextUpdateRequest) String

func (x *ContextUpdateRequest) String() string

type ContextUpdateResponse

type ContextUpdateResponse struct {
	AppContextUpdated       bool   `protobuf:"varint,1,opt,name=app_context_updated,json=appContextUpdated,proto3" json:"app_context_updated,omitempty"`
	AppContextUpdateMessage string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ContextUpdateResponse) Descriptor deprecated

func (*ContextUpdateResponse) Descriptor() ([]byte, []int)

Deprecated: Use ContextUpdateResponse.ProtoReflect.Descriptor instead.

func (*ContextUpdateResponse) GetAppContextUpdateMessage

func (x *ContextUpdateResponse) GetAppContextUpdateMessage() string

func (*ContextUpdateResponse) GetAppContextUpdated

func (x *ContextUpdateResponse) GetAppContextUpdated() bool

func (*ContextUpdateResponse) ProtoMessage

func (*ContextUpdateResponse) ProtoMessage()

func (*ContextUpdateResponse) ProtoReflect

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

func (*ContextUpdateResponse) Reset

func (x *ContextUpdateResponse) Reset()

func (*ContextUpdateResponse) String

func (x *ContextUpdateResponse) String() string

type ContextupdateClient

type ContextupdateClient interface {
	// Controllers
	UpdateAppContext(ctx context.Context, in *ContextUpdateRequest, opts ...grpc.CallOption) (*ContextUpdateResponse, error)
}

ContextupdateClient is the client API for Contextupdate service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ContextupdateServer

type ContextupdateServer interface {
	// Controllers
	UpdateAppContext(context.Context, *ContextUpdateRequest) (*ContextUpdateResponse, error)
}

ContextupdateServer is the server API for Contextupdate service.

type UnimplementedContextupdateServer

type UnimplementedContextupdateServer struct {
}

UnimplementedContextupdateServer can be embedded to have forward compatible implementations.

func (*UnimplementedContextupdateServer) UpdateAppContext

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL