Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterLabelsServiceServer(s grpc.ServiceRegistrar, srv LabelsServiceServer)
- type AttachLabelRequest
- func (*AttachLabelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachLabelRequest) GetEntityId() string
- func (x *AttachLabelRequest) GetEntityType() commons.LabeledEntity
- func (x *AttachLabelRequest) GetLabelId() string
- func (*AttachLabelRequest) ProtoMessage()
- func (x *AttachLabelRequest) ProtoReflect() protoreflect.Message
- func (x *AttachLabelRequest) Reset()
- func (x *AttachLabelRequest) String() string
- type AttachLabelResponse
- type CreateLabelRequest
- func (*CreateLabelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLabelRequest) GetLabel() *org.Label
- func (*CreateLabelRequest) ProtoMessage()
- func (x *CreateLabelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateLabelRequest) Reset()
- func (x *CreateLabelRequest) String() string
- type CreateLabelResponse
- func (*CreateLabelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLabelResponse) GetLabelId() string
- func (*CreateLabelResponse) ProtoMessage()
- func (x *CreateLabelResponse) ProtoReflect() protoreflect.Message
- func (x *CreateLabelResponse) Reset()
- func (x *CreateLabelResponse) String() string
- type DeleteLabelRequest
- func (*DeleteLabelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteLabelRequest) GetLabelId() string
- func (*DeleteLabelRequest) ProtoMessage()
- func (x *DeleteLabelRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteLabelRequest) Reset()
- func (x *DeleteLabelRequest) String() string
- type DeleteLabelResponse
- type GetLabelRequest
- type GetLabelResponse
- type GetLabeledEntityMapRequest
- func (*GetLabeledEntityMapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLabeledEntityMapRequest) GetEntityType() commons.LabeledEntity
- func (*GetLabeledEntityMapRequest) ProtoMessage()
- func (x *GetLabeledEntityMapRequest) ProtoReflect() protoreflect.Message
- func (x *GetLabeledEntityMapRequest) Reset()
- func (x *GetLabeledEntityMapRequest) String() string
- type GetLabeledEntityMapResponse
- func (*GetLabeledEntityMapResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLabeledEntityMapResponse) GetEntityMap() map[string]*GetLabeledEntityMapResponse_EntityLabels
- func (*GetLabeledEntityMapResponse) ProtoMessage()
- func (x *GetLabeledEntityMapResponse) ProtoReflect() protoreflect.Message
- func (x *GetLabeledEntityMapResponse) Reset()
- func (x *GetLabeledEntityMapResponse) String() string
- type GetLabeledEntityMapResponse_EntityLabels
- func (*GetLabeledEntityMapResponse_EntityLabels) Descriptor() ([]byte, []int)deprecated
- func (x *GetLabeledEntityMapResponse_EntityLabels) GetLabels() []*org.Label
- func (*GetLabeledEntityMapResponse_EntityLabels) ProtoMessage()
- func (x *GetLabeledEntityMapResponse_EntityLabels) ProtoReflect() protoreflect.Message
- func (x *GetLabeledEntityMapResponse_EntityLabels) Reset()
- func (x *GetLabeledEntityMapResponse_EntityLabels) String() string
- type LabelsServiceClient
- type LabelsServiceServer
- type ListLabelsRequest
- type ListLabelsResponse
- func (*ListLabelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLabelsResponse) GetLabel() []*org.Label
- func (*ListLabelsResponse) ProtoMessage()
- func (x *ListLabelsResponse) ProtoReflect() protoreflect.Message
- func (x *ListLabelsResponse) Reset()
- func (x *ListLabelsResponse) String() string
- type UnimplementedLabelsServiceServer
- func (UnimplementedLabelsServiceServer) AttachLabel(context.Context, *AttachLabelRequest) (*AttachLabelResponse, error)
- func (UnimplementedLabelsServiceServer) CreateLabel(context.Context, *CreateLabelRequest) (*CreateLabelResponse, error)
- func (UnimplementedLabelsServiceServer) DeleteLabel(context.Context, *DeleteLabelRequest) (*DeleteLabelResponse, error)
- func (UnimplementedLabelsServiceServer) GetLabel(context.Context, *GetLabelRequest) (*GetLabelResponse, error)
- func (UnimplementedLabelsServiceServer) GetLabeledEntityMap(context.Context, *GetLabeledEntityMapRequest) (*GetLabeledEntityMapResponse, error)
- func (UnimplementedLabelsServiceServer) ListLabels(context.Context, *ListLabelsRequest) (*ListLabelsResponse, error)
- func (UnimplementedLabelsServiceServer) UpdateLabel(context.Context, *UpdateLabelRequest) (*UpdateLabelResponse, error)
- type UnsafeLabelsServiceServer
- type UpdateLabelRequest
- func (*UpdateLabelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLabelRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *UpdateLabelRequest) GetLabel() *org.Label
- func (*UpdateLabelRequest) ProtoMessage()
- func (x *UpdateLabelRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLabelRequest) Reset()
- func (x *UpdateLabelRequest) String() string
- type UpdateLabelResponse
- func (*UpdateLabelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLabelResponse) GetLabel() *org.Label
- func (*UpdateLabelResponse) ProtoMessage()
- func (x *UpdateLabelResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateLabelResponse) Reset()
- func (x *UpdateLabelResponse) String() string
Constants ¶
const ( LabelsService_CreateLabel_FullMethodName = "/api.v1alpha1.org.labels.LabelsService/CreateLabel" LabelsService_GetLabel_FullMethodName = "/api.v1alpha1.org.labels.LabelsService/GetLabel" LabelsService_UpdateLabel_FullMethodName = "/api.v1alpha1.org.labels.LabelsService/UpdateLabel" LabelsService_ListLabels_FullMethodName = "/api.v1alpha1.org.labels.LabelsService/ListLabels" LabelsService_DeleteLabel_FullMethodName = "/api.v1alpha1.org.labels.LabelsService/DeleteLabel" LabelsService_AttachLabel_FullMethodName = "/api.v1alpha1.org.labels.LabelsService/AttachLabel" LabelsService_GetLabeledEntityMap_FullMethodName = "/api.v1alpha1.org.labels.LabelsService/GetLabeledEntityMap" )
Variables ¶
var File_api_v1alpha1_org_labels_entities_proto protoreflect.FileDescriptor
var File_api_v1alpha1_org_labels_service_proto protoreflect.FileDescriptor
var LabelsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.v1alpha1.org.labels.LabelsService", HandlerType: (*LabelsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateLabel", Handler: _LabelsService_CreateLabel_Handler, }, { MethodName: "GetLabel", Handler: _LabelsService_GetLabel_Handler, }, { MethodName: "UpdateLabel", Handler: _LabelsService_UpdateLabel_Handler, }, { MethodName: "ListLabels", Handler: _LabelsService_ListLabels_Handler, }, { MethodName: "DeleteLabel", Handler: _LabelsService_DeleteLabel_Handler, }, { MethodName: "AttachLabel", Handler: _LabelsService_AttachLabel_Handler, }, { MethodName: "GetLabeledEntityMap", Handler: _LabelsService_GetLabeledEntityMap_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1alpha1/org/labels/service.proto", }
LabelsService_ServiceDesc is the grpc.ServiceDesc for LabelsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLabelsServiceServer ¶
func RegisterLabelsServiceServer(s grpc.ServiceRegistrar, srv LabelsServiceServer)
Types ¶
type AttachLabelRequest ¶
type AttachLabelRequest struct { // The label id to delete the label LabelId string `protobuf:"bytes,1,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"` // The ID of the entity that is being labeled EntityId string `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` // The given entity type to attach the label to EntityType commons.LabeledEntity `protobuf:"varint,3,opt,name=entity_type,json=entityType,proto3,enum=api.commons.LabeledEntity" json:"entity_type,omitempty"` // contains filtered or unexported fields }
Request message for the AttachLabel rpc.
func (*AttachLabelRequest) Descriptor
deprecated
func (*AttachLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachLabelRequest.ProtoReflect.Descriptor instead.
func (*AttachLabelRequest) GetEntityId ¶
func (x *AttachLabelRequest) GetEntityId() string
func (*AttachLabelRequest) GetEntityType ¶
func (x *AttachLabelRequest) GetEntityType() commons.LabeledEntity
func (*AttachLabelRequest) GetLabelId ¶
func (x *AttachLabelRequest) GetLabelId() string
func (*AttachLabelRequest) ProtoMessage ¶
func (*AttachLabelRequest) ProtoMessage()
func (*AttachLabelRequest) ProtoReflect ¶
func (x *AttachLabelRequest) ProtoReflect() protoreflect.Message
func (*AttachLabelRequest) Reset ¶
func (x *AttachLabelRequest) Reset()
func (*AttachLabelRequest) String ¶
func (x *AttachLabelRequest) String() string
type AttachLabelResponse ¶
type AttachLabelResponse struct {
// contains filtered or unexported fields
}
Response message for the AttachLabel rpc.
func (*AttachLabelResponse) Descriptor
deprecated
func (*AttachLabelResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachLabelResponse.ProtoReflect.Descriptor instead.
func (*AttachLabelResponse) ProtoMessage ¶
func (*AttachLabelResponse) ProtoMessage()
func (*AttachLabelResponse) ProtoReflect ¶
func (x *AttachLabelResponse) ProtoReflect() protoreflect.Message
func (*AttachLabelResponse) Reset ¶
func (x *AttachLabelResponse) Reset()
func (*AttachLabelResponse) String ¶
func (x *AttachLabelResponse) String() string
type CreateLabelRequest ¶
type CreateLabelRequest struct { // The label object that will be created Label *org.Label `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
Request message for the CreateLabel rpc.
func (*CreateLabelRequest) Descriptor
deprecated
func (*CreateLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLabelRequest.ProtoReflect.Descriptor instead.
func (*CreateLabelRequest) GetLabel ¶
func (x *CreateLabelRequest) GetLabel() *org.Label
func (*CreateLabelRequest) ProtoMessage ¶
func (*CreateLabelRequest) ProtoMessage()
func (*CreateLabelRequest) ProtoReflect ¶
func (x *CreateLabelRequest) ProtoReflect() protoreflect.Message
func (*CreateLabelRequest) Reset ¶
func (x *CreateLabelRequest) Reset()
func (*CreateLabelRequest) String ¶
func (x *CreateLabelRequest) String() string
type CreateLabelResponse ¶
type CreateLabelResponse struct { // The ID of the created label LabelId string `protobuf:"bytes,1,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"` // contains filtered or unexported fields }
Response message for the CreateLabel rpc.
func (*CreateLabelResponse) Descriptor
deprecated
func (*CreateLabelResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateLabelResponse.ProtoReflect.Descriptor instead.
func (*CreateLabelResponse) GetLabelId ¶
func (x *CreateLabelResponse) GetLabelId() string
func (*CreateLabelResponse) ProtoMessage ¶
func (*CreateLabelResponse) ProtoMessage()
func (*CreateLabelResponse) ProtoReflect ¶
func (x *CreateLabelResponse) ProtoReflect() protoreflect.Message
func (*CreateLabelResponse) Reset ¶
func (x *CreateLabelResponse) Reset()
func (*CreateLabelResponse) String ¶
func (x *CreateLabelResponse) String() string
type DeleteLabelRequest ¶
type DeleteLabelRequest struct { // The label id to delete the label LabelId string `protobuf:"bytes,1,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"` // contains filtered or unexported fields }
Request message for the DeleteLabel rpc.
func (*DeleteLabelRequest) Descriptor
deprecated
func (*DeleteLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLabelRequest.ProtoReflect.Descriptor instead.
func (*DeleteLabelRequest) GetLabelId ¶
func (x *DeleteLabelRequest) GetLabelId() string
func (*DeleteLabelRequest) ProtoMessage ¶
func (*DeleteLabelRequest) ProtoMessage()
func (*DeleteLabelRequest) ProtoReflect ¶
func (x *DeleteLabelRequest) ProtoReflect() protoreflect.Message
func (*DeleteLabelRequest) Reset ¶
func (x *DeleteLabelRequest) Reset()
func (*DeleteLabelRequest) String ¶
func (x *DeleteLabelRequest) String() string
type DeleteLabelResponse ¶
type DeleteLabelResponse struct {
// contains filtered or unexported fields
}
Response message for the DeleteLabel rpc.
func (*DeleteLabelResponse) Descriptor
deprecated
func (*DeleteLabelResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLabelResponse.ProtoReflect.Descriptor instead.
func (*DeleteLabelResponse) ProtoMessage ¶
func (*DeleteLabelResponse) ProtoMessage()
func (*DeleteLabelResponse) ProtoReflect ¶
func (x *DeleteLabelResponse) ProtoReflect() protoreflect.Message
func (*DeleteLabelResponse) Reset ¶
func (x *DeleteLabelResponse) Reset()
func (*DeleteLabelResponse) String ¶
func (x *DeleteLabelResponse) String() string
type GetLabelRequest ¶
type GetLabelRequest struct { // The label id to get the label LabelId string `protobuf:"bytes,1,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"` // contains filtered or unexported fields }
Request message for the GetLabel rpc.
func (*GetLabelRequest) Descriptor
deprecated
func (*GetLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLabelRequest.ProtoReflect.Descriptor instead.
func (*GetLabelRequest) GetLabelId ¶
func (x *GetLabelRequest) GetLabelId() string
func (*GetLabelRequest) ProtoMessage ¶
func (*GetLabelRequest) ProtoMessage()
func (*GetLabelRequest) ProtoReflect ¶
func (x *GetLabelRequest) ProtoReflect() protoreflect.Message
func (*GetLabelRequest) Reset ¶
func (x *GetLabelRequest) Reset()
func (*GetLabelRequest) String ¶
func (x *GetLabelRequest) String() string
type GetLabelResponse ¶
type GetLabelResponse struct { // The label that was requested Label *org.Label `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
Response message for the GetLabel rpc.
func (*GetLabelResponse) Descriptor
deprecated
func (*GetLabelResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLabelResponse.ProtoReflect.Descriptor instead.
func (*GetLabelResponse) GetLabel ¶
func (x *GetLabelResponse) GetLabel() *org.Label
func (*GetLabelResponse) ProtoMessage ¶
func (*GetLabelResponse) ProtoMessage()
func (*GetLabelResponse) ProtoReflect ¶
func (x *GetLabelResponse) ProtoReflect() protoreflect.Message
func (*GetLabelResponse) Reset ¶
func (x *GetLabelResponse) Reset()
func (*GetLabelResponse) String ¶
func (x *GetLabelResponse) String() string
type GetLabeledEntityMapRequest ¶
type GetLabeledEntityMapRequest struct { // The entity type to get back EntityType commons.LabeledEntity `protobuf:"varint,1,opt,name=entity_type,json=entityType,proto3,enum=api.commons.LabeledEntity" json:"entity_type,omitempty"` // contains filtered or unexported fields }
Request message for the GetLabeledEntityMapRequest rpc.
func (*GetLabeledEntityMapRequest) Descriptor
deprecated
func (*GetLabeledEntityMapRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLabeledEntityMapRequest.ProtoReflect.Descriptor instead.
func (*GetLabeledEntityMapRequest) GetEntityType ¶
func (x *GetLabeledEntityMapRequest) GetEntityType() commons.LabeledEntity
func (*GetLabeledEntityMapRequest) ProtoMessage ¶
func (*GetLabeledEntityMapRequest) ProtoMessage()
func (*GetLabeledEntityMapRequest) ProtoReflect ¶
func (x *GetLabeledEntityMapRequest) ProtoReflect() protoreflect.Message
func (*GetLabeledEntityMapRequest) Reset ¶
func (x *GetLabeledEntityMapRequest) Reset()
func (*GetLabeledEntityMapRequest) String ¶
func (x *GetLabeledEntityMapRequest) String() string
type GetLabeledEntityMapResponse ¶
type GetLabeledEntityMapResponse struct { // The map of entity ID to its attached labels EntityMap map[string]*GetLabeledEntityMapResponse_EntityLabels `` /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
Response message for the GetLabeledEntityMapResponse rpc.
func (*GetLabeledEntityMapResponse) Descriptor
deprecated
func (*GetLabeledEntityMapResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLabeledEntityMapResponse.ProtoReflect.Descriptor instead.
func (*GetLabeledEntityMapResponse) GetEntityMap ¶
func (x *GetLabeledEntityMapResponse) GetEntityMap() map[string]*GetLabeledEntityMapResponse_EntityLabels
func (*GetLabeledEntityMapResponse) ProtoMessage ¶
func (*GetLabeledEntityMapResponse) ProtoMessage()
func (*GetLabeledEntityMapResponse) ProtoReflect ¶
func (x *GetLabeledEntityMapResponse) ProtoReflect() protoreflect.Message
func (*GetLabeledEntityMapResponse) Reset ¶
func (x *GetLabeledEntityMapResponse) Reset()
func (*GetLabeledEntityMapResponse) String ¶
func (x *GetLabeledEntityMapResponse) String() string
type GetLabeledEntityMapResponse_EntityLabels ¶
type GetLabeledEntityMapResponse_EntityLabels struct { // Attached labels of a given entity Labels []*org.Label `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*GetLabeledEntityMapResponse_EntityLabels) Descriptor
deprecated
func (*GetLabeledEntityMapResponse_EntityLabels) Descriptor() ([]byte, []int)
Deprecated: Use GetLabeledEntityMapResponse_EntityLabels.ProtoReflect.Descriptor instead.
func (*GetLabeledEntityMapResponse_EntityLabels) GetLabels ¶
func (x *GetLabeledEntityMapResponse_EntityLabels) GetLabels() []*org.Label
func (*GetLabeledEntityMapResponse_EntityLabels) ProtoMessage ¶
func (*GetLabeledEntityMapResponse_EntityLabels) ProtoMessage()
func (*GetLabeledEntityMapResponse_EntityLabels) ProtoReflect ¶
func (x *GetLabeledEntityMapResponse_EntityLabels) ProtoReflect() protoreflect.Message
func (*GetLabeledEntityMapResponse_EntityLabels) Reset ¶
func (x *GetLabeledEntityMapResponse_EntityLabels) Reset()
func (*GetLabeledEntityMapResponse_EntityLabels) String ¶
func (x *GetLabeledEntityMapResponse_EntityLabels) String() string
type LabelsServiceClient ¶
type LabelsServiceClient interface { // CreateLabel creates a new label. CreateLabel(ctx context.Context, in *CreateLabelRequest, opts ...grpc.CallOption) (*CreateLabelResponse, error) // GetLabel gets a single label GetLabel(ctx context.Context, in *GetLabelRequest, opts ...grpc.CallOption) (*GetLabelResponse, error) // UpdateLabel updates a single label UpdateLabel(ctx context.Context, in *UpdateLabelRequest, opts ...grpc.CallOption) (*UpdateLabelResponse, error) // ListLabels lists all labels for a given organization ListLabels(ctx context.Context, in *ListLabelsRequest, opts ...grpc.CallOption) (*ListLabelsResponse, error) // DeleteLabel deletes a single label DeleteLabel(ctx context.Context, in *DeleteLabelRequest, opts ...grpc.CallOption) (*DeleteLabelResponse, error) // AttachLabel attaches a label to a given entity type AttachLabel(ctx context.Context, in *AttachLabelRequest, opts ...grpc.CallOption) (*AttachLabelResponse, error) // GetLabeledEntityMap gives back a map of entity Id to attached labels. The Entity type is specified on the request GetLabeledEntityMap(ctx context.Context, in *GetLabeledEntityMapRequest, opts ...grpc.CallOption) (*GetLabeledEntityMapResponse, error) }
LabelsServiceClient is the client API for LabelsService 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.
func NewLabelsServiceClient ¶
func NewLabelsServiceClient(cc grpc.ClientConnInterface) LabelsServiceClient
type LabelsServiceServer ¶
type LabelsServiceServer interface { // CreateLabel creates a new label. CreateLabel(context.Context, *CreateLabelRequest) (*CreateLabelResponse, error) // GetLabel gets a single label GetLabel(context.Context, *GetLabelRequest) (*GetLabelResponse, error) // UpdateLabel updates a single label UpdateLabel(context.Context, *UpdateLabelRequest) (*UpdateLabelResponse, error) // ListLabels lists all labels for a given organization ListLabels(context.Context, *ListLabelsRequest) (*ListLabelsResponse, error) // DeleteLabel deletes a single label DeleteLabel(context.Context, *DeleteLabelRequest) (*DeleteLabelResponse, error) // AttachLabel attaches a label to a given entity type AttachLabel(context.Context, *AttachLabelRequest) (*AttachLabelResponse, error) // GetLabeledEntityMap gives back a map of entity Id to attached labels. The Entity type is specified on the request GetLabeledEntityMap(context.Context, *GetLabeledEntityMapRequest) (*GetLabeledEntityMapResponse, error) // contains filtered or unexported methods }
LabelsServiceServer is the server API for LabelsService service. All implementations must embed UnimplementedLabelsServiceServer for forward compatibility
type ListLabelsRequest ¶
type ListLabelsRequest struct {
// contains filtered or unexported fields
}
Request message for the ListLabels rpc.
func (*ListLabelsRequest) Descriptor
deprecated
func (*ListLabelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLabelsRequest.ProtoReflect.Descriptor instead.
func (*ListLabelsRequest) ProtoMessage ¶
func (*ListLabelsRequest) ProtoMessage()
func (*ListLabelsRequest) ProtoReflect ¶
func (x *ListLabelsRequest) ProtoReflect() protoreflect.Message
func (*ListLabelsRequest) Reset ¶
func (x *ListLabelsRequest) Reset()
func (*ListLabelsRequest) String ¶
func (x *ListLabelsRequest) String() string
type ListLabelsResponse ¶
type ListLabelsResponse struct { // The labels for the users organization Label []*org.Label `protobuf:"bytes,1,rep,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
Response message for the ListLabels rpc.
func (*ListLabelsResponse) Descriptor
deprecated
func (*ListLabelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLabelsResponse.ProtoReflect.Descriptor instead.
func (*ListLabelsResponse) GetLabel ¶
func (x *ListLabelsResponse) GetLabel() []*org.Label
func (*ListLabelsResponse) ProtoMessage ¶
func (*ListLabelsResponse) ProtoMessage()
func (*ListLabelsResponse) ProtoReflect ¶
func (x *ListLabelsResponse) ProtoReflect() protoreflect.Message
func (*ListLabelsResponse) Reset ¶
func (x *ListLabelsResponse) Reset()
func (*ListLabelsResponse) String ¶
func (x *ListLabelsResponse) String() string
type UnimplementedLabelsServiceServer ¶
type UnimplementedLabelsServiceServer struct { }
UnimplementedLabelsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLabelsServiceServer) AttachLabel ¶
func (UnimplementedLabelsServiceServer) AttachLabel(context.Context, *AttachLabelRequest) (*AttachLabelResponse, error)
func (UnimplementedLabelsServiceServer) CreateLabel ¶
func (UnimplementedLabelsServiceServer) CreateLabel(context.Context, *CreateLabelRequest) (*CreateLabelResponse, error)
func (UnimplementedLabelsServiceServer) DeleteLabel ¶
func (UnimplementedLabelsServiceServer) DeleteLabel(context.Context, *DeleteLabelRequest) (*DeleteLabelResponse, error)
func (UnimplementedLabelsServiceServer) GetLabel ¶
func (UnimplementedLabelsServiceServer) GetLabel(context.Context, *GetLabelRequest) (*GetLabelResponse, error)
func (UnimplementedLabelsServiceServer) GetLabeledEntityMap ¶
func (UnimplementedLabelsServiceServer) GetLabeledEntityMap(context.Context, *GetLabeledEntityMapRequest) (*GetLabeledEntityMapResponse, error)
func (UnimplementedLabelsServiceServer) ListLabels ¶
func (UnimplementedLabelsServiceServer) ListLabels(context.Context, *ListLabelsRequest) (*ListLabelsResponse, error)
func (UnimplementedLabelsServiceServer) UpdateLabel ¶
func (UnimplementedLabelsServiceServer) UpdateLabel(context.Context, *UpdateLabelRequest) (*UpdateLabelResponse, error)
type UnsafeLabelsServiceServer ¶
type UnsafeLabelsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLabelsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LabelsServiceServer will result in compilation errors.
type UpdateLabelRequest ¶
type UpdateLabelRequest struct { // The label object that will be updated Label *org.Label `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // The field to be updated FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
Request message for the UpdateLabel rpc.
func (*UpdateLabelRequest) Descriptor
deprecated
func (*UpdateLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLabelRequest.ProtoReflect.Descriptor instead.
func (*UpdateLabelRequest) GetFieldMask ¶
func (x *UpdateLabelRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*UpdateLabelRequest) GetLabel ¶
func (x *UpdateLabelRequest) GetLabel() *org.Label
func (*UpdateLabelRequest) ProtoMessage ¶
func (*UpdateLabelRequest) ProtoMessage()
func (*UpdateLabelRequest) ProtoReflect ¶
func (x *UpdateLabelRequest) ProtoReflect() protoreflect.Message
func (*UpdateLabelRequest) Reset ¶
func (x *UpdateLabelRequest) Reset()
func (*UpdateLabelRequest) String ¶
func (x *UpdateLabelRequest) String() string
type UpdateLabelResponse ¶
type UpdateLabelResponse struct { // The updated resource Label *org.Label `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
Response message for the UpdateLabel rpc.
func (*UpdateLabelResponse) Descriptor
deprecated
func (*UpdateLabelResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLabelResponse.ProtoReflect.Descriptor instead.
func (*UpdateLabelResponse) GetLabel ¶
func (x *UpdateLabelResponse) GetLabel() *org.Label
func (*UpdateLabelResponse) ProtoMessage ¶
func (*UpdateLabelResponse) ProtoMessage()
func (*UpdateLabelResponse) ProtoReflect ¶
func (x *UpdateLabelResponse) ProtoReflect() protoreflect.Message
func (*UpdateLabelResponse) Reset ¶
func (x *UpdateLabelResponse) Reset()
func (*UpdateLabelResponse) String ¶
func (x *UpdateLabelResponse) String() string