Documentation ¶
Index ¶
- Variables
- func RegisterAdHocProfileServiceServer(s grpc.ServiceRegistrar, srv AdHocProfileServiceServer)
- type AdHocProfileServiceClient
- type AdHocProfileServiceServer
- type AdHocProfilesGetRequest
- func (m *AdHocProfilesGetRequest) CloneMessageVT() proto.Message
- func (m *AdHocProfilesGetRequest) CloneVT() *AdHocProfilesGetRequest
- func (*AdHocProfilesGetRequest) Descriptor() ([]byte, []int)deprecated
- func (this *AdHocProfilesGetRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AdHocProfilesGetRequest) EqualVT(that *AdHocProfilesGetRequest) bool
- func (x *AdHocProfilesGetRequest) GetId() string
- func (x *AdHocProfilesGetRequest) GetMaxNodes() int64
- func (x *AdHocProfilesGetRequest) GetProfileType() string
- func (m *AdHocProfilesGetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AdHocProfilesGetRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *AdHocProfilesGetRequest) MarshalVT() (dAtA []byte, err error)
- func (*AdHocProfilesGetRequest) ProtoMessage()
- func (x *AdHocProfilesGetRequest) ProtoReflect() protoreflect.Message
- func (x *AdHocProfilesGetRequest) Reset()
- func (m *AdHocProfilesGetRequest) SizeVT() (n int)
- func (x *AdHocProfilesGetRequest) String() string
- func (m *AdHocProfilesGetRequest) UnmarshalVT(dAtA []byte) error
- type AdHocProfilesGetResponse
- func (m *AdHocProfilesGetResponse) CloneMessageVT() proto.Message
- func (m *AdHocProfilesGetResponse) CloneVT() *AdHocProfilesGetResponse
- func (*AdHocProfilesGetResponse) Descriptor() ([]byte, []int)deprecated
- func (this *AdHocProfilesGetResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AdHocProfilesGetResponse) EqualVT(that *AdHocProfilesGetResponse) bool
- func (x *AdHocProfilesGetResponse) GetFlamebearerProfile() string
- func (x *AdHocProfilesGetResponse) GetId() string
- func (x *AdHocProfilesGetResponse) GetName() string
- func (x *AdHocProfilesGetResponse) GetProfileType() string
- func (x *AdHocProfilesGetResponse) GetProfileTypes() []string
- func (x *AdHocProfilesGetResponse) GetUploadedAt() int64
- func (m *AdHocProfilesGetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AdHocProfilesGetResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *AdHocProfilesGetResponse) MarshalVT() (dAtA []byte, err error)
- func (*AdHocProfilesGetResponse) ProtoMessage()
- func (x *AdHocProfilesGetResponse) ProtoReflect() protoreflect.Message
- func (x *AdHocProfilesGetResponse) Reset()
- func (m *AdHocProfilesGetResponse) SizeVT() (n int)
- func (x *AdHocProfilesGetResponse) String() string
- func (m *AdHocProfilesGetResponse) UnmarshalVT(dAtA []byte) error
- type AdHocProfilesListRequest
- func (m *AdHocProfilesListRequest) CloneMessageVT() proto.Message
- func (m *AdHocProfilesListRequest) CloneVT() *AdHocProfilesListRequest
- func (*AdHocProfilesListRequest) Descriptor() ([]byte, []int)deprecated
- func (this *AdHocProfilesListRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AdHocProfilesListRequest) EqualVT(that *AdHocProfilesListRequest) bool
- func (m *AdHocProfilesListRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AdHocProfilesListRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *AdHocProfilesListRequest) MarshalVT() (dAtA []byte, err error)
- func (*AdHocProfilesListRequest) ProtoMessage()
- func (x *AdHocProfilesListRequest) ProtoReflect() protoreflect.Message
- func (x *AdHocProfilesListRequest) Reset()
- func (m *AdHocProfilesListRequest) SizeVT() (n int)
- func (x *AdHocProfilesListRequest) String() string
- func (m *AdHocProfilesListRequest) UnmarshalVT(dAtA []byte) error
- type AdHocProfilesListResponse
- func (m *AdHocProfilesListResponse) CloneMessageVT() proto.Message
- func (m *AdHocProfilesListResponse) CloneVT() *AdHocProfilesListResponse
- func (*AdHocProfilesListResponse) Descriptor() ([]byte, []int)deprecated
- func (this *AdHocProfilesListResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AdHocProfilesListResponse) EqualVT(that *AdHocProfilesListResponse) bool
- func (x *AdHocProfilesListResponse) GetProfiles() []*AdHocProfilesProfileMetadata
- func (m *AdHocProfilesListResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AdHocProfilesListResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *AdHocProfilesListResponse) MarshalVT() (dAtA []byte, err error)
- func (*AdHocProfilesListResponse) ProtoMessage()
- func (x *AdHocProfilesListResponse) ProtoReflect() protoreflect.Message
- func (x *AdHocProfilesListResponse) Reset()
- func (m *AdHocProfilesListResponse) SizeVT() (n int)
- func (x *AdHocProfilesListResponse) String() string
- func (m *AdHocProfilesListResponse) UnmarshalVT(dAtA []byte) error
- type AdHocProfilesProfileMetadata
- func (m *AdHocProfilesProfileMetadata) CloneMessageVT() proto.Message
- func (m *AdHocProfilesProfileMetadata) CloneVT() *AdHocProfilesProfileMetadata
- func (*AdHocProfilesProfileMetadata) Descriptor() ([]byte, []int)deprecated
- func (this *AdHocProfilesProfileMetadata) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AdHocProfilesProfileMetadata) EqualVT(that *AdHocProfilesProfileMetadata) bool
- func (x *AdHocProfilesProfileMetadata) GetId() string
- func (x *AdHocProfilesProfileMetadata) GetName() string
- func (x *AdHocProfilesProfileMetadata) GetUploadedAt() int64
- func (m *AdHocProfilesProfileMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AdHocProfilesProfileMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *AdHocProfilesProfileMetadata) MarshalVT() (dAtA []byte, err error)
- func (*AdHocProfilesProfileMetadata) ProtoMessage()
- func (x *AdHocProfilesProfileMetadata) ProtoReflect() protoreflect.Message
- func (x *AdHocProfilesProfileMetadata) Reset()
- func (m *AdHocProfilesProfileMetadata) SizeVT() (n int)
- func (x *AdHocProfilesProfileMetadata) String() string
- func (m *AdHocProfilesProfileMetadata) UnmarshalVT(dAtA []byte) error
- type AdHocProfilesUploadRequest
- func (m *AdHocProfilesUploadRequest) CloneMessageVT() proto.Message
- func (m *AdHocProfilesUploadRequest) CloneVT() *AdHocProfilesUploadRequest
- func (*AdHocProfilesUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (this *AdHocProfilesUploadRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *AdHocProfilesUploadRequest) EqualVT(that *AdHocProfilesUploadRequest) bool
- func (x *AdHocProfilesUploadRequest) GetMaxNodes() int64
- func (x *AdHocProfilesUploadRequest) GetName() string
- func (x *AdHocProfilesUploadRequest) GetProfile() string
- func (m *AdHocProfilesUploadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AdHocProfilesUploadRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *AdHocProfilesUploadRequest) MarshalVT() (dAtA []byte, err error)
- func (*AdHocProfilesUploadRequest) ProtoMessage()
- func (x *AdHocProfilesUploadRequest) ProtoReflect() protoreflect.Message
- func (x *AdHocProfilesUploadRequest) Reset()
- func (m *AdHocProfilesUploadRequest) SizeVT() (n int)
- func (x *AdHocProfilesUploadRequest) String() string
- func (m *AdHocProfilesUploadRequest) UnmarshalVT(dAtA []byte) error
- type UnimplementedAdHocProfileServiceServer
- func (UnimplementedAdHocProfileServiceServer) Get(context.Context, *AdHocProfilesGetRequest) (*AdHocProfilesGetResponse, error)
- func (UnimplementedAdHocProfileServiceServer) List(context.Context, *AdHocProfilesListRequest) (*AdHocProfilesListResponse, error)
- func (UnimplementedAdHocProfileServiceServer) Upload(context.Context, *AdHocProfilesUploadRequest) (*AdHocProfilesGetResponse, error)
- type UnsafeAdHocProfileServiceServer
Constants ¶
This section is empty.
Variables ¶
var AdHocProfileService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "adhocprofiles.v1.AdHocProfileService", HandlerType: (*AdHocProfileServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Upload", Handler: _AdHocProfileService_Upload_Handler, }, { MethodName: "Get", Handler: _AdHocProfileService_Get_Handler, }, { MethodName: "List", Handler: _AdHocProfileService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "adhocprofiles/v1/adhocprofiles.proto", }
AdHocProfileService_ServiceDesc is the grpc.ServiceDesc for AdHocProfileService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_adhocprofiles_v1_adhocprofiles_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdHocProfileServiceServer ¶
func RegisterAdHocProfileServiceServer(s grpc.ServiceRegistrar, srv AdHocProfileServiceServer)
Types ¶
type AdHocProfileServiceClient ¶
type AdHocProfileServiceClient interface { // Upload a profile to the underlying store. The request contains a name and a base64 encoded pprof file. The response // contains a generated unique identifier, a flamegraph and a list of found sample types within the profile. Upload(ctx context.Context, in *AdHocProfilesUploadRequest, opts ...grpc.CallOption) (*AdHocProfilesGetResponse, error) // Retrieves a profile from the underlying store by id and an optional sample type. The response is similar to the one // for the upload method. Get(ctx context.Context, in *AdHocProfilesGetRequest, opts ...grpc.CallOption) (*AdHocProfilesGetResponse, error) // Retrieves a list of profiles found in the underlying store. List(ctx context.Context, in *AdHocProfilesListRequest, opts ...grpc.CallOption) (*AdHocProfilesListResponse, error) }
AdHocProfileServiceClient is the client API for AdHocProfileService 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 NewAdHocProfileServiceClient ¶
func NewAdHocProfileServiceClient(cc grpc.ClientConnInterface) AdHocProfileServiceClient
type AdHocProfileServiceServer ¶
type AdHocProfileServiceServer interface { // Upload a profile to the underlying store. The request contains a name and a base64 encoded pprof file. The response // contains a generated unique identifier, a flamegraph and a list of found sample types within the profile. Upload(context.Context, *AdHocProfilesUploadRequest) (*AdHocProfilesGetResponse, error) // Retrieves a profile from the underlying store by id and an optional sample type. The response is similar to the one // for the upload method. Get(context.Context, *AdHocProfilesGetRequest) (*AdHocProfilesGetResponse, error) // Retrieves a list of profiles found in the underlying store. List(context.Context, *AdHocProfilesListRequest) (*AdHocProfilesListResponse, error) // contains filtered or unexported methods }
AdHocProfileServiceServer is the server API for AdHocProfileService service. All implementations must embed UnimplementedAdHocProfileServiceServer for forward compatibility
type AdHocProfilesGetRequest ¶
type AdHocProfilesGetRequest struct { // The unique identifier of the profile. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The desired profile type (e.g., cpu, samples) for the returned flame graph. If omitted the first profile is returned. ProfileType *string `protobuf:"bytes,2,opt,name=profile_type,json=profileType,proto3,oneof" json:"profile_type,omitempty"` // Max nodes can be used to truncate the response. MaxNodes *int64 `protobuf:"varint,3,opt,name=max_nodes,json=maxNodes,proto3,oneof" json:"max_nodes,omitempty"` // contains filtered or unexported fields }
func (*AdHocProfilesGetRequest) CloneMessageVT ¶
func (m *AdHocProfilesGetRequest) CloneMessageVT() proto.Message
func (*AdHocProfilesGetRequest) CloneVT ¶
func (m *AdHocProfilesGetRequest) CloneVT() *AdHocProfilesGetRequest
func (*AdHocProfilesGetRequest) Descriptor
deprecated
func (*AdHocProfilesGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdHocProfilesGetRequest.ProtoReflect.Descriptor instead.
func (*AdHocProfilesGetRequest) EqualMessageVT ¶
func (this *AdHocProfilesGetRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*AdHocProfilesGetRequest) EqualVT ¶
func (this *AdHocProfilesGetRequest) EqualVT(that *AdHocProfilesGetRequest) bool
func (*AdHocProfilesGetRequest) GetId ¶
func (x *AdHocProfilesGetRequest) GetId() string
func (*AdHocProfilesGetRequest) GetMaxNodes ¶
func (x *AdHocProfilesGetRequest) GetMaxNodes() int64
func (*AdHocProfilesGetRequest) GetProfileType ¶
func (x *AdHocProfilesGetRequest) GetProfileType() string
func (*AdHocProfilesGetRequest) MarshalToSizedBufferVT ¶
func (m *AdHocProfilesGetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AdHocProfilesGetRequest) MarshalToVT ¶
func (m *AdHocProfilesGetRequest) MarshalToVT(dAtA []byte) (int, error)
func (*AdHocProfilesGetRequest) MarshalVT ¶
func (m *AdHocProfilesGetRequest) MarshalVT() (dAtA []byte, err error)
func (*AdHocProfilesGetRequest) ProtoMessage ¶
func (*AdHocProfilesGetRequest) ProtoMessage()
func (*AdHocProfilesGetRequest) ProtoReflect ¶
func (x *AdHocProfilesGetRequest) ProtoReflect() protoreflect.Message
func (*AdHocProfilesGetRequest) Reset ¶
func (x *AdHocProfilesGetRequest) Reset()
func (*AdHocProfilesGetRequest) SizeVT ¶
func (m *AdHocProfilesGetRequest) SizeVT() (n int)
func (*AdHocProfilesGetRequest) String ¶
func (x *AdHocProfilesGetRequest) String() string
func (*AdHocProfilesGetRequest) UnmarshalVT ¶
func (m *AdHocProfilesGetRequest) UnmarshalVT(dAtA []byte) error
type AdHocProfilesGetResponse ¶
type AdHocProfilesGetResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // timestamp in milliseconds UploadedAt int64 `protobuf:"varint,3,opt,name=uploaded_at,json=uploadedAt,proto3" json:"uploaded_at,omitempty"` ProfileType string `protobuf:"bytes,4,opt,name=profile_type,json=profileType,proto3" json:"profile_type,omitempty"` // Some profiles formats (like pprof) can contain multiple profile (sample) types inside. One of these can be passed // in the Get request using the profile_type field. ProfileTypes []string `protobuf:"bytes,5,rep,name=profile_types,json=profileTypes,proto3" json:"profile_types,omitempty"` FlamebearerProfile string `protobuf:"bytes,6,opt,name=flamebearer_profile,json=flamebearerProfile,proto3" json:"flamebearer_profile,omitempty"` // contains filtered or unexported fields }
func (*AdHocProfilesGetResponse) CloneMessageVT ¶
func (m *AdHocProfilesGetResponse) CloneMessageVT() proto.Message
func (*AdHocProfilesGetResponse) CloneVT ¶
func (m *AdHocProfilesGetResponse) CloneVT() *AdHocProfilesGetResponse
func (*AdHocProfilesGetResponse) Descriptor
deprecated
func (*AdHocProfilesGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdHocProfilesGetResponse.ProtoReflect.Descriptor instead.
func (*AdHocProfilesGetResponse) EqualMessageVT ¶
func (this *AdHocProfilesGetResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*AdHocProfilesGetResponse) EqualVT ¶
func (this *AdHocProfilesGetResponse) EqualVT(that *AdHocProfilesGetResponse) bool
func (*AdHocProfilesGetResponse) GetFlamebearerProfile ¶
func (x *AdHocProfilesGetResponse) GetFlamebearerProfile() string
func (*AdHocProfilesGetResponse) GetId ¶
func (x *AdHocProfilesGetResponse) GetId() string
func (*AdHocProfilesGetResponse) GetName ¶
func (x *AdHocProfilesGetResponse) GetName() string
func (*AdHocProfilesGetResponse) GetProfileType ¶
func (x *AdHocProfilesGetResponse) GetProfileType() string
func (*AdHocProfilesGetResponse) GetProfileTypes ¶
func (x *AdHocProfilesGetResponse) GetProfileTypes() []string
func (*AdHocProfilesGetResponse) GetUploadedAt ¶
func (x *AdHocProfilesGetResponse) GetUploadedAt() int64
func (*AdHocProfilesGetResponse) MarshalToSizedBufferVT ¶
func (m *AdHocProfilesGetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AdHocProfilesGetResponse) MarshalToVT ¶
func (m *AdHocProfilesGetResponse) MarshalToVT(dAtA []byte) (int, error)
func (*AdHocProfilesGetResponse) MarshalVT ¶
func (m *AdHocProfilesGetResponse) MarshalVT() (dAtA []byte, err error)
func (*AdHocProfilesGetResponse) ProtoMessage ¶
func (*AdHocProfilesGetResponse) ProtoMessage()
func (*AdHocProfilesGetResponse) ProtoReflect ¶
func (x *AdHocProfilesGetResponse) ProtoReflect() protoreflect.Message
func (*AdHocProfilesGetResponse) Reset ¶
func (x *AdHocProfilesGetResponse) Reset()
func (*AdHocProfilesGetResponse) SizeVT ¶
func (m *AdHocProfilesGetResponse) SizeVT() (n int)
func (*AdHocProfilesGetResponse) String ¶
func (x *AdHocProfilesGetResponse) String() string
func (*AdHocProfilesGetResponse) UnmarshalVT ¶
func (m *AdHocProfilesGetResponse) UnmarshalVT(dAtA []byte) error
type AdHocProfilesListRequest ¶
type AdHocProfilesListRequest struct {
// contains filtered or unexported fields
}
func (*AdHocProfilesListRequest) CloneMessageVT ¶
func (m *AdHocProfilesListRequest) CloneMessageVT() proto.Message
func (*AdHocProfilesListRequest) CloneVT ¶
func (m *AdHocProfilesListRequest) CloneVT() *AdHocProfilesListRequest
func (*AdHocProfilesListRequest) Descriptor
deprecated
func (*AdHocProfilesListRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdHocProfilesListRequest.ProtoReflect.Descriptor instead.
func (*AdHocProfilesListRequest) EqualMessageVT ¶
func (this *AdHocProfilesListRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*AdHocProfilesListRequest) EqualVT ¶
func (this *AdHocProfilesListRequest) EqualVT(that *AdHocProfilesListRequest) bool
func (*AdHocProfilesListRequest) MarshalToSizedBufferVT ¶
func (m *AdHocProfilesListRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AdHocProfilesListRequest) MarshalToVT ¶
func (m *AdHocProfilesListRequest) MarshalToVT(dAtA []byte) (int, error)
func (*AdHocProfilesListRequest) MarshalVT ¶
func (m *AdHocProfilesListRequest) MarshalVT() (dAtA []byte, err error)
func (*AdHocProfilesListRequest) ProtoMessage ¶
func (*AdHocProfilesListRequest) ProtoMessage()
func (*AdHocProfilesListRequest) ProtoReflect ¶
func (x *AdHocProfilesListRequest) ProtoReflect() protoreflect.Message
func (*AdHocProfilesListRequest) Reset ¶
func (x *AdHocProfilesListRequest) Reset()
func (*AdHocProfilesListRequest) SizeVT ¶
func (m *AdHocProfilesListRequest) SizeVT() (n int)
func (*AdHocProfilesListRequest) String ¶
func (x *AdHocProfilesListRequest) String() string
func (*AdHocProfilesListRequest) UnmarshalVT ¶
func (m *AdHocProfilesListRequest) UnmarshalVT(dAtA []byte) error
type AdHocProfilesListResponse ¶
type AdHocProfilesListResponse struct { Profiles []*AdHocProfilesProfileMetadata `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"` // contains filtered or unexported fields }
func (*AdHocProfilesListResponse) CloneMessageVT ¶
func (m *AdHocProfilesListResponse) CloneMessageVT() proto.Message
func (*AdHocProfilesListResponse) CloneVT ¶
func (m *AdHocProfilesListResponse) CloneVT() *AdHocProfilesListResponse
func (*AdHocProfilesListResponse) Descriptor
deprecated
func (*AdHocProfilesListResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdHocProfilesListResponse.ProtoReflect.Descriptor instead.
func (*AdHocProfilesListResponse) EqualMessageVT ¶
func (this *AdHocProfilesListResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*AdHocProfilesListResponse) EqualVT ¶
func (this *AdHocProfilesListResponse) EqualVT(that *AdHocProfilesListResponse) bool
func (*AdHocProfilesListResponse) GetProfiles ¶
func (x *AdHocProfilesListResponse) GetProfiles() []*AdHocProfilesProfileMetadata
func (*AdHocProfilesListResponse) MarshalToSizedBufferVT ¶
func (m *AdHocProfilesListResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AdHocProfilesListResponse) MarshalToVT ¶
func (m *AdHocProfilesListResponse) MarshalToVT(dAtA []byte) (int, error)
func (*AdHocProfilesListResponse) MarshalVT ¶
func (m *AdHocProfilesListResponse) MarshalVT() (dAtA []byte, err error)
func (*AdHocProfilesListResponse) ProtoMessage ¶
func (*AdHocProfilesListResponse) ProtoMessage()
func (*AdHocProfilesListResponse) ProtoReflect ¶
func (x *AdHocProfilesListResponse) ProtoReflect() protoreflect.Message
func (*AdHocProfilesListResponse) Reset ¶
func (x *AdHocProfilesListResponse) Reset()
func (*AdHocProfilesListResponse) SizeVT ¶
func (m *AdHocProfilesListResponse) SizeVT() (n int)
func (*AdHocProfilesListResponse) String ¶
func (x *AdHocProfilesListResponse) String() string
func (*AdHocProfilesListResponse) UnmarshalVT ¶
func (m *AdHocProfilesListResponse) UnmarshalVT(dAtA []byte) error
type AdHocProfilesProfileMetadata ¶
type AdHocProfilesProfileMetadata struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // timestamp in milliseconds UploadedAt int64 `protobuf:"varint,3,opt,name=uploaded_at,json=uploadedAt,proto3" json:"uploaded_at,omitempty"` // contains filtered or unexported fields }
func (*AdHocProfilesProfileMetadata) CloneMessageVT ¶
func (m *AdHocProfilesProfileMetadata) CloneMessageVT() proto.Message
func (*AdHocProfilesProfileMetadata) CloneVT ¶
func (m *AdHocProfilesProfileMetadata) CloneVT() *AdHocProfilesProfileMetadata
func (*AdHocProfilesProfileMetadata) Descriptor
deprecated
func (*AdHocProfilesProfileMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AdHocProfilesProfileMetadata.ProtoReflect.Descriptor instead.
func (*AdHocProfilesProfileMetadata) EqualMessageVT ¶
func (this *AdHocProfilesProfileMetadata) EqualMessageVT(thatMsg proto.Message) bool
func (*AdHocProfilesProfileMetadata) EqualVT ¶
func (this *AdHocProfilesProfileMetadata) EqualVT(that *AdHocProfilesProfileMetadata) bool
func (*AdHocProfilesProfileMetadata) GetId ¶
func (x *AdHocProfilesProfileMetadata) GetId() string
func (*AdHocProfilesProfileMetadata) GetName ¶
func (x *AdHocProfilesProfileMetadata) GetName() string
func (*AdHocProfilesProfileMetadata) GetUploadedAt ¶
func (x *AdHocProfilesProfileMetadata) GetUploadedAt() int64
func (*AdHocProfilesProfileMetadata) MarshalToSizedBufferVT ¶
func (m *AdHocProfilesProfileMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AdHocProfilesProfileMetadata) MarshalToVT ¶
func (m *AdHocProfilesProfileMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*AdHocProfilesProfileMetadata) MarshalVT ¶
func (m *AdHocProfilesProfileMetadata) MarshalVT() (dAtA []byte, err error)
func (*AdHocProfilesProfileMetadata) ProtoMessage ¶
func (*AdHocProfilesProfileMetadata) ProtoMessage()
func (*AdHocProfilesProfileMetadata) ProtoReflect ¶
func (x *AdHocProfilesProfileMetadata) ProtoReflect() protoreflect.Message
func (*AdHocProfilesProfileMetadata) Reset ¶
func (x *AdHocProfilesProfileMetadata) Reset()
func (*AdHocProfilesProfileMetadata) SizeVT ¶
func (m *AdHocProfilesProfileMetadata) SizeVT() (n int)
func (*AdHocProfilesProfileMetadata) String ¶
func (x *AdHocProfilesProfileMetadata) String() string
func (*AdHocProfilesProfileMetadata) UnmarshalVT ¶
func (m *AdHocProfilesProfileMetadata) UnmarshalVT(dAtA []byte) error
type AdHocProfilesUploadRequest ¶
type AdHocProfilesUploadRequest struct { // This is typically the file name and it serves as a human readable name for the profile. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This is the profile encoded in base64. The supported formats are pprof, json, collapsed and perf-script. Profile string `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` // Max nodes can be used to truncate the response. MaxNodes *int64 `protobuf:"varint,3,opt,name=max_nodes,json=maxNodes,proto3,oneof" json:"max_nodes,omitempty"` // contains filtered or unexported fields }
func (*AdHocProfilesUploadRequest) CloneMessageVT ¶
func (m *AdHocProfilesUploadRequest) CloneMessageVT() proto.Message
func (*AdHocProfilesUploadRequest) CloneVT ¶
func (m *AdHocProfilesUploadRequest) CloneVT() *AdHocProfilesUploadRequest
func (*AdHocProfilesUploadRequest) Descriptor
deprecated
func (*AdHocProfilesUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdHocProfilesUploadRequest.ProtoReflect.Descriptor instead.
func (*AdHocProfilesUploadRequest) EqualMessageVT ¶
func (this *AdHocProfilesUploadRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*AdHocProfilesUploadRequest) EqualVT ¶
func (this *AdHocProfilesUploadRequest) EqualVT(that *AdHocProfilesUploadRequest) bool
func (*AdHocProfilesUploadRequest) GetMaxNodes ¶
func (x *AdHocProfilesUploadRequest) GetMaxNodes() int64
func (*AdHocProfilesUploadRequest) GetName ¶
func (x *AdHocProfilesUploadRequest) GetName() string
func (*AdHocProfilesUploadRequest) GetProfile ¶
func (x *AdHocProfilesUploadRequest) GetProfile() string
func (*AdHocProfilesUploadRequest) MarshalToSizedBufferVT ¶
func (m *AdHocProfilesUploadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AdHocProfilesUploadRequest) MarshalToVT ¶
func (m *AdHocProfilesUploadRequest) MarshalToVT(dAtA []byte) (int, error)
func (*AdHocProfilesUploadRequest) MarshalVT ¶
func (m *AdHocProfilesUploadRequest) MarshalVT() (dAtA []byte, err error)
func (*AdHocProfilesUploadRequest) ProtoMessage ¶
func (*AdHocProfilesUploadRequest) ProtoMessage()
func (*AdHocProfilesUploadRequest) ProtoReflect ¶
func (x *AdHocProfilesUploadRequest) ProtoReflect() protoreflect.Message
func (*AdHocProfilesUploadRequest) Reset ¶
func (x *AdHocProfilesUploadRequest) Reset()
func (*AdHocProfilesUploadRequest) SizeVT ¶
func (m *AdHocProfilesUploadRequest) SizeVT() (n int)
func (*AdHocProfilesUploadRequest) String ¶
func (x *AdHocProfilesUploadRequest) String() string
func (*AdHocProfilesUploadRequest) UnmarshalVT ¶
func (m *AdHocProfilesUploadRequest) UnmarshalVT(dAtA []byte) error
type UnimplementedAdHocProfileServiceServer ¶
type UnimplementedAdHocProfileServiceServer struct { }
UnimplementedAdHocProfileServiceServer must be embedded to have forward compatible implementations.
type UnsafeAdHocProfileServiceServer ¶
type UnsafeAdHocProfileServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAdHocProfileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdHocProfileServiceServer will result in compilation errors.