publication

package
v0.0.0-...-4722edd Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PublicationService_GetPublication_FullMethodName    = "/dictybase.publication.PublicationService/GetPublication"
	PublicationService_CreatePublication_FullMethodName = "/dictybase.publication.PublicationService/CreatePublication"
	PublicationService_UpdatePublication_FullMethodName = "/dictybase.publication.PublicationService/UpdatePublication"
	PublicationService_DeletePublication_FullMethodName = "/dictybase.publication.PublicationService/DeletePublication"
	PublicationService_ListPublications_FullMethodName  = "/dictybase.publication.PublicationService/ListPublications"
)

Variables

View Source
var File_dictybase_publication_publication_proto protoreflect.FileDescriptor
View Source
var PublicationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dictybase.publication.PublicationService",
	HandlerType: (*PublicationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPublication",
			Handler:    _PublicationService_GetPublication_Handler,
		},
		{
			MethodName: "CreatePublication",
			Handler:    _PublicationService_CreatePublication_Handler,
		},
		{
			MethodName: "UpdatePublication",
			Handler:    _PublicationService_UpdatePublication_Handler,
		},
		{
			MethodName: "DeletePublication",
			Handler:    _PublicationService_DeletePublication_Handler,
		},
		{
			MethodName: "ListPublications",
			Handler:    _PublicationService_ListPublications_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "dictybase/publication/publication.proto",
}

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

Functions

func RegisterPublicationServiceServer

func RegisterPublicationServiceServer(s grpc.ServiceRegistrar, srv PublicationServiceServer)

Types

type Author

type Author struct {

	// Last name of the author
	LastName string `protobuf:"bytes,1,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// First name of the author
	FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	// Any initials of the author
	Initials string `protobuf:"bytes,3,opt,name=initials,proto3" json:"initials,omitempty"`
	// Ranking of the author
	Rank int64 `protobuf:"varint,4,opt,name=rank,proto3" json:"rank,omitempty"`
	// contains filtered or unexported fields
}

Definition of an individual author

func (*Author) Descriptor deprecated

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

Deprecated: Use Author.ProtoReflect.Descriptor instead.

func (*Author) GetFirstName

func (x *Author) GetFirstName() string

func (*Author) GetInitials

func (x *Author) GetInitials() string

func (*Author) GetLastName

func (x *Author) GetLastName() string

func (*Author) GetRank

func (x *Author) GetRank() int64

func (*Author) ProtoMessage

func (*Author) ProtoMessage()

func (*Author) ProtoReflect

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

func (*Author) Reset

func (x *Author) Reset()

func (*Author) String

func (x *Author) String() string

func (*Author) Validate

func (this *Author) Validate() error

type ListPublicationParameters

type ListPublicationParameters struct {

	// A unique pointer to the next set of result in the list
	Cursor int64 `protobuf:"varint,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// Maximum number of records that can be fetch per request
	Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// The `filter` field restricts the data return by the collection. To use
	// it, supply one or multiple allowed fields to filter followed
	// by a filter expression. It uses the following syntax...
	//
	//	field_name operator expression
	//
	// The following fields of `PublicationAttributes` definition are allowed to
	// be used for filtering
	//   - journal            - Journal where the publication was published (string)
	//   - year               - Year publication was published (string)
	//   - pub_date           - Date of publication (string)
	//   - pub_type           - Type of publication (string)
	//   - source             - Source of the publication (string)
	//   - issue              - Issue of the publication (string)
	//   - status             - Status of the publication (string)
	//   - author             - Authors of the publication (string)
	//
	// field_name - Any one of the allowed field_name of the `PublicationAttributes` definition.
	// operator - Defines the type of filter match to use. It could be any of
	// the following four and all of them should be URL-encoded for http request.
	//
	//	Operators for strings
	//	      =~   Contains substring
	//	      !~   Not contains substring
	//	      ===  Equals
	//	      !==  Not equals
	//
	//	Operators for number
	//	      ==  Equals
	//	      >   Greater than
	//	      <   Less than
	//	      =<  Less than equal to
	//	      >=  Greater than equal to
	//
	// expression - The value that will be included or excluded from the
	// result. URL-reserved characters must be URL-encoded for http request.
	//
	//	filter: "pub_type===journal_article"
	//	filter: "source===pubmed"
	//
	// Filter can be combined using OR or AND boolean logic.
	//
	//   - The OR is represented using a comma(,).
	//
	//   - The AND is represented using a semi-colon(;).
	//
	//   - AND and OR operators can be combined and AND takes precedence over OR.
	//
	//     filter: "year==2008;journal===Genesis"
	//
	// Can also accept multiple authors.
	//
	//	filter: "author===Vandelay;author===VanNostrand"
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Defines fields for manipulating output of Publication collection

func (*ListPublicationParameters) Descriptor deprecated

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

Deprecated: Use ListPublicationParameters.ProtoReflect.Descriptor instead.

func (*ListPublicationParameters) GetCursor

func (x *ListPublicationParameters) GetCursor() int64

func (*ListPublicationParameters) GetFilter

func (x *ListPublicationParameters) GetFilter() string

func (*ListPublicationParameters) GetLimit

func (x *ListPublicationParameters) GetLimit() int64

func (*ListPublicationParameters) ProtoMessage

func (*ListPublicationParameters) ProtoMessage()

func (*ListPublicationParameters) ProtoReflect

func (*ListPublicationParameters) Reset

func (x *ListPublicationParameters) Reset()

func (*ListPublicationParameters) String

func (x *ListPublicationParameters) String() string

func (*ListPublicationParameters) Validate

func (this *ListPublicationParameters) Validate() error

type Meta

type Meta struct {

	// A unique pointer to the next set of result in the collection. Set the
	// cursor value parameter to the value of next_cursor to retrieve the next
	// set of collection using the same method
	NextCursor int64 `protobuf:"varint,1,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
	// Maximum number of records that can be fetch per request
	Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// Total number of records in the collection.
	Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

Metadata definition for traversing the collection

func (*Meta) Descriptor deprecated

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

Deprecated: Use Meta.ProtoReflect.Descriptor instead.

func (*Meta) GetLimit

func (x *Meta) GetLimit() int64

func (*Meta) GetNextCursor

func (x *Meta) GetNextCursor() int64

func (*Meta) GetTotal

func (x *Meta) GetTotal() int64

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) ProtoReflect

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

func (*Meta) Reset

func (x *Meta) Reset()

func (*Meta) String

func (x *Meta) String() string

func (*Meta) Validate

func (this *Meta) Validate() error

type NewPublication

type NewPublication struct {
	Data *NewPublication_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Definition for creating a new publication

func (*NewPublication) Descriptor deprecated

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

Deprecated: Use NewPublication.ProtoReflect.Descriptor instead.

func (*NewPublication) GetData

func (x *NewPublication) GetData() *NewPublication_Data

func (*NewPublication) ProtoMessage

func (*NewPublication) ProtoMessage()

func (*NewPublication) ProtoReflect

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

func (*NewPublication) Reset

func (x *NewPublication) Reset()

func (*NewPublication) String

func (x *NewPublication) String() string

func (*NewPublication) Validate

func (this *NewPublication) Validate() error

type NewPublication_Data

type NewPublication_Data struct {

	// Resource name, by default should be publication
	Type       string                 `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Attributes *PublicationAttributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*NewPublication_Data) Descriptor deprecated

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

Deprecated: Use NewPublication_Data.ProtoReflect.Descriptor instead.

func (*NewPublication_Data) GetAttributes

func (x *NewPublication_Data) GetAttributes() *PublicationAttributes

func (*NewPublication_Data) GetType

func (x *NewPublication_Data) GetType() string

func (*NewPublication_Data) ProtoMessage

func (*NewPublication_Data) ProtoMessage()

func (*NewPublication_Data) ProtoReflect

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

func (*NewPublication_Data) Reset

func (x *NewPublication_Data) Reset()

func (*NewPublication_Data) String

func (x *NewPublication_Data) String() string

func (*NewPublication_Data) Validate

func (this *NewPublication_Data) Validate() error

type Publication

type Publication struct {
	Data *Publication_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Definition of an individual publication

func (*Publication) Descriptor deprecated

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

Deprecated: Use Publication.ProtoReflect.Descriptor instead.

func (*Publication) GetData

func (x *Publication) GetData() *Publication_Data

func (*Publication) ProtoMessage

func (*Publication) ProtoMessage()

func (*Publication) ProtoReflect

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

func (*Publication) Reset

func (x *Publication) Reset()

func (*Publication) String

func (x *Publication) String() string

func (*Publication) Validate

func (this *Publication) Validate() error

type PublicationAttributes

type PublicationAttributes struct {

	// Digital object identifier for publication
	Doi string `protobuf:"bytes,1,opt,name=doi,proto3" json:"doi,omitempty"`
	// Title of publication
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Abstract of publication
	Abstract string `protobuf:"bytes,3,opt,name=abstract,proto3" json:"abstract,omitempty"`
	// Journal where the publication was published
	Journal string `protobuf:"bytes,4,opt,name=journal,proto3" json:"journal,omitempty"`
	// Date publication was published
	PubDate *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=pub_date,json=pubDate,proto3" json:"pub_date,omitempty"`
	// Volume of the publication
	Volume string `protobuf:"bytes,6,opt,name=volume,proto3" json:"volume,omitempty"`
	// Pages containing the publication
	Pages string `protobuf:"bytes,7,opt,name=pages,proto3" json:"pages,omitempty"`
	// International Standard Serial Number of publication
	Issn string `protobuf:"bytes,8,opt,name=issn,proto3" json:"issn,omitempty"`
	// Type of publication (i.e. "journal_article")
	PubType string `protobuf:"bytes,9,opt,name=pub_type,json=pubType,proto3" json:"pub_type,omitempty"`
	// Source of the publication (i.e. "pubmed")
	Source string `protobuf:"bytes,10,opt,name=source,proto3" json:"source,omitempty"`
	// Issue of the publication
	Issue string `protobuf:"bytes,11,opt,name=issue,proto3" json:"issue,omitempty"`
	// Status of the publication
	Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
	// List of authors of the publication
	Authors []*Author `protobuf:"bytes,13,rep,name=authors,proto3" json:"authors,omitempty"`
	// contains filtered or unexported fields
}

Definition of various publication attributes

func (*PublicationAttributes) Descriptor deprecated

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

Deprecated: Use PublicationAttributes.ProtoReflect.Descriptor instead.

func (*PublicationAttributes) GetAbstract

func (x *PublicationAttributes) GetAbstract() string

func (*PublicationAttributes) GetAuthors

func (x *PublicationAttributes) GetAuthors() []*Author

func (*PublicationAttributes) GetDoi

func (x *PublicationAttributes) GetDoi() string

func (*PublicationAttributes) GetIssn

func (x *PublicationAttributes) GetIssn() string

func (*PublicationAttributes) GetIssue

func (x *PublicationAttributes) GetIssue() string

func (*PublicationAttributes) GetJournal

func (x *PublicationAttributes) GetJournal() string

func (*PublicationAttributes) GetPages

func (x *PublicationAttributes) GetPages() string

func (*PublicationAttributes) GetPubDate

func (x *PublicationAttributes) GetPubDate() *timestamppb.Timestamp

func (*PublicationAttributes) GetPubType

func (x *PublicationAttributes) GetPubType() string

func (*PublicationAttributes) GetSource

func (x *PublicationAttributes) GetSource() string

func (*PublicationAttributes) GetStatus

func (x *PublicationAttributes) GetStatus() string

func (*PublicationAttributes) GetTitle

func (x *PublicationAttributes) GetTitle() string

func (*PublicationAttributes) GetVolume

func (x *PublicationAttributes) GetVolume() string

func (*PublicationAttributes) ProtoMessage

func (*PublicationAttributes) ProtoMessage()

func (*PublicationAttributes) ProtoReflect

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

func (*PublicationAttributes) Reset

func (x *PublicationAttributes) Reset()

func (*PublicationAttributes) String

func (x *PublicationAttributes) String() string

func (*PublicationAttributes) Validate

func (this *PublicationAttributes) Validate() error

type PublicationCollection

type PublicationCollection struct {
	Data []*PublicationCollection_Data `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Meta *Meta                         `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

List of publications

func (*PublicationCollection) Descriptor deprecated

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

Deprecated: Use PublicationCollection.ProtoReflect.Descriptor instead.

func (*PublicationCollection) GetData

func (*PublicationCollection) GetMeta

func (x *PublicationCollection) GetMeta() *Meta

func (*PublicationCollection) ProtoMessage

func (*PublicationCollection) ProtoMessage()

func (*PublicationCollection) ProtoReflect

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

func (*PublicationCollection) Reset

func (x *PublicationCollection) Reset()

func (*PublicationCollection) String

func (x *PublicationCollection) String() string

func (*PublicationCollection) Validate

func (this *PublicationCollection) Validate() error

type PublicationCollection_Data

type PublicationCollection_Data struct {

	// Resource name, by default should be publication
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Unique identifier for the publication
	Id         string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Attributes *PublicationAttributes `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*PublicationCollection_Data) Descriptor deprecated

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

Deprecated: Use PublicationCollection_Data.ProtoReflect.Descriptor instead.

func (*PublicationCollection_Data) GetAttributes

func (*PublicationCollection_Data) GetId

func (*PublicationCollection_Data) GetType

func (x *PublicationCollection_Data) GetType() string

func (*PublicationCollection_Data) ProtoMessage

func (*PublicationCollection_Data) ProtoMessage()

func (*PublicationCollection_Data) ProtoReflect

func (*PublicationCollection_Data) Reset

func (x *PublicationCollection_Data) Reset()

func (*PublicationCollection_Data) String

func (x *PublicationCollection_Data) String() string

func (*PublicationCollection_Data) Validate

func (this *PublicationCollection_Data) Validate() error

type PublicationId

type PublicationId struct {

	// Unique identifier for the publication
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*PublicationId) Descriptor deprecated

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

Deprecated: Use PublicationId.ProtoReflect.Descriptor instead.

func (*PublicationId) GetId

func (x *PublicationId) GetId() string

func (*PublicationId) ProtoMessage

func (*PublicationId) ProtoMessage()

func (*PublicationId) ProtoReflect

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

func (*PublicationId) Reset

func (x *PublicationId) Reset()

func (*PublicationId) String

func (x *PublicationId) String() string

func (*PublicationId) Validate

func (this *PublicationId) Validate() error

type PublicationServiceClient

type PublicationServiceClient interface {
	// Retrieves publication by ID
	GetPublication(ctx context.Context, in *PublicationId, opts ...grpc.CallOption) (*Publication, error)
	// Create new publication
	CreatePublication(ctx context.Context, in *NewPublication, opts ...grpc.CallOption) (*Publication, error)
	// Update an existing publication
	UpdatePublication(ctx context.Context, in *PublicationUpdate, opts ...grpc.CallOption) (*Publication, error)
	// Delete an existing publication
	DeletePublication(ctx context.Context, in *PublicationId, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// List all publications
	ListPublications(ctx context.Context, in *ListPublicationParameters, opts ...grpc.CallOption) (*PublicationCollection, error)
}

PublicationServiceClient is the client API for PublicationService 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 PublicationServiceServer

type PublicationServiceServer interface {
	// Retrieves publication by ID
	GetPublication(context.Context, *PublicationId) (*Publication, error)
	// Create new publication
	CreatePublication(context.Context, *NewPublication) (*Publication, error)
	// Update an existing publication
	UpdatePublication(context.Context, *PublicationUpdate) (*Publication, error)
	// Delete an existing publication
	DeletePublication(context.Context, *PublicationId) (*emptypb.Empty, error)
	// List all publications
	ListPublications(context.Context, *ListPublicationParameters) (*PublicationCollection, error)
	// contains filtered or unexported methods
}

PublicationServiceServer is the server API for PublicationService service. All implementations must embed UnimplementedPublicationServiceServer for forward compatibility

type PublicationUpdate

type PublicationUpdate struct {
	Data *PublicationUpdate_Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Definition for updating an existing publication

func (*PublicationUpdate) Descriptor deprecated

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

Deprecated: Use PublicationUpdate.ProtoReflect.Descriptor instead.

func (*PublicationUpdate) GetData

func (*PublicationUpdate) ProtoMessage

func (*PublicationUpdate) ProtoMessage()

func (*PublicationUpdate) ProtoReflect

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

func (*PublicationUpdate) Reset

func (x *PublicationUpdate) Reset()

func (*PublicationUpdate) String

func (x *PublicationUpdate) String() string

func (*PublicationUpdate) Validate

func (this *PublicationUpdate) Validate() error

type PublicationUpdateAttributes

type PublicationUpdateAttributes struct {

	// Date of publication
	PubDate *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=pub_date,json=pubDate,proto3" json:"pub_date,omitempty"`
	// Volume of the publication
	Volume string `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume,omitempty"`
	// Pages containing the publication
	Pages string `protobuf:"bytes,3,opt,name=pages,proto3" json:"pages,omitempty"`
	// Type of publication (i.e. "journal_article")
	PubType string `protobuf:"bytes,4,opt,name=pub_type,json=pubType,proto3" json:"pub_type,omitempty"`
	// Source of the publication (i.e. "pubmed")
	Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
	// Status of the publication
	Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	// List of authors of the publication
	Authors []*Author `protobuf:"bytes,7,rep,name=authors,proto3" json:"authors,omitempty"`
	// contains filtered or unexported fields
}

Defines attributes for updating an existing publication

func (*PublicationUpdateAttributes) Descriptor deprecated

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

Deprecated: Use PublicationUpdateAttributes.ProtoReflect.Descriptor instead.

func (*PublicationUpdateAttributes) GetAuthors

func (x *PublicationUpdateAttributes) GetAuthors() []*Author

func (*PublicationUpdateAttributes) GetPages

func (x *PublicationUpdateAttributes) GetPages() string

func (*PublicationUpdateAttributes) GetPubDate

func (*PublicationUpdateAttributes) GetPubType

func (x *PublicationUpdateAttributes) GetPubType() string

func (*PublicationUpdateAttributes) GetSource

func (x *PublicationUpdateAttributes) GetSource() string

func (*PublicationUpdateAttributes) GetStatus

func (x *PublicationUpdateAttributes) GetStatus() string

func (*PublicationUpdateAttributes) GetVolume

func (x *PublicationUpdateAttributes) GetVolume() string

func (*PublicationUpdateAttributes) ProtoMessage

func (*PublicationUpdateAttributes) ProtoMessage()

func (*PublicationUpdateAttributes) ProtoReflect

func (*PublicationUpdateAttributes) Reset

func (x *PublicationUpdateAttributes) Reset()

func (*PublicationUpdateAttributes) String

func (x *PublicationUpdateAttributes) String() string

func (*PublicationUpdateAttributes) Validate

func (this *PublicationUpdateAttributes) Validate() error

type PublicationUpdate_Data

type PublicationUpdate_Data struct {

	// Resource name, by default should be publication
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Unique identifier for the publication
	Id         string                       `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Attributes *PublicationUpdateAttributes `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*PublicationUpdate_Data) Descriptor deprecated

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

Deprecated: Use PublicationUpdate_Data.ProtoReflect.Descriptor instead.

func (*PublicationUpdate_Data) GetAttributes

func (*PublicationUpdate_Data) GetId

func (x *PublicationUpdate_Data) GetId() string

func (*PublicationUpdate_Data) GetType

func (x *PublicationUpdate_Data) GetType() string

func (*PublicationUpdate_Data) ProtoMessage

func (*PublicationUpdate_Data) ProtoMessage()

func (*PublicationUpdate_Data) ProtoReflect

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

func (*PublicationUpdate_Data) Reset

func (x *PublicationUpdate_Data) Reset()

func (*PublicationUpdate_Data) String

func (x *PublicationUpdate_Data) String() string

func (*PublicationUpdate_Data) Validate

func (this *PublicationUpdate_Data) Validate() error

type Publication_Data

type Publication_Data struct {

	// Resource name, by default should be publication
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Unique identifier for the publication
	Id         string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Attributes *PublicationAttributes `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*Publication_Data) Descriptor deprecated

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

Deprecated: Use Publication_Data.ProtoReflect.Descriptor instead.

func (*Publication_Data) GetAttributes

func (x *Publication_Data) GetAttributes() *PublicationAttributes

func (*Publication_Data) GetId

func (x *Publication_Data) GetId() string

func (*Publication_Data) GetType

func (x *Publication_Data) GetType() string

func (*Publication_Data) ProtoMessage

func (*Publication_Data) ProtoMessage()

func (*Publication_Data) ProtoReflect

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

func (*Publication_Data) Reset

func (x *Publication_Data) Reset()

func (*Publication_Data) String

func (x *Publication_Data) String() string

func (*Publication_Data) Validate

func (this *Publication_Data) Validate() error

type UnimplementedPublicationServiceServer

type UnimplementedPublicationServiceServer struct {
}

UnimplementedPublicationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPublicationServiceServer) CreatePublication

func (UnimplementedPublicationServiceServer) DeletePublication

func (UnimplementedPublicationServiceServer) GetPublication

func (UnimplementedPublicationServiceServer) ListPublications

func (UnimplementedPublicationServiceServer) UpdatePublication

type UnsafePublicationServiceServer

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

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

Jump to

Keyboard shortcuts

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