...

Source file src/google.golang.org/genproto/googleapis/devtools/cloudtrace/v1/alias.go

Documentation: google.golang.org/genproto/googleapis/devtools/cloudtrace/v1

     1  // Copyright 2022 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by aliasgen. DO NOT EDIT.
    16  
    17  // Package trace aliases all exported identifiers in package
    18  // "cloud.google.com/go/trace/apiv1/tracepb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package trace
    24  
    25  import (
    26  	src "cloud.google.com/go/trace/apiv1/tracepb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/trace/apiv1/tracepb
    31  const (
    32  	ListTracesRequest_COMPLETE              = src.ListTracesRequest_COMPLETE
    33  	ListTracesRequest_MINIMAL               = src.ListTracesRequest_MINIMAL
    34  	ListTracesRequest_ROOTSPAN              = src.ListTracesRequest_ROOTSPAN
    35  	ListTracesRequest_VIEW_TYPE_UNSPECIFIED = src.ListTracesRequest_VIEW_TYPE_UNSPECIFIED
    36  	TraceSpan_RPC_CLIENT                    = src.TraceSpan_RPC_CLIENT
    37  	TraceSpan_RPC_SERVER                    = src.TraceSpan_RPC_SERVER
    38  	TraceSpan_SPAN_KIND_UNSPECIFIED         = src.TraceSpan_SPAN_KIND_UNSPECIFIED
    39  )
    40  
    41  // Deprecated: Please use vars in: cloud.google.com/go/trace/apiv1/tracepb
    42  var (
    43  	File_google_devtools_cloudtrace_v1_trace_proto = src.File_google_devtools_cloudtrace_v1_trace_proto
    44  	ListTracesRequest_ViewType_name                = src.ListTracesRequest_ViewType_name
    45  	ListTracesRequest_ViewType_value               = src.ListTracesRequest_ViewType_value
    46  	TraceSpan_SpanKind_name                        = src.TraceSpan_SpanKind_name
    47  	TraceSpan_SpanKind_value                       = src.TraceSpan_SpanKind_value
    48  )
    49  
    50  // The request message for the `GetTrace` method.
    51  //
    52  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb
    53  type GetTraceRequest = src.GetTraceRequest
    54  
    55  // The request message for the `ListTraces` method. All fields are required
    56  // unless specified.
    57  //
    58  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb
    59  type ListTracesRequest = src.ListTracesRequest
    60  
    61  // Type of data returned for traces in the list.
    62  //
    63  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb
    64  type ListTracesRequest_ViewType = src.ListTracesRequest_ViewType
    65  
    66  // The response message for the `ListTraces` method.
    67  //
    68  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb
    69  type ListTracesResponse = src.ListTracesResponse
    70  
    71  // The request message for the `PatchTraces` method.
    72  //
    73  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb
    74  type PatchTracesRequest = src.PatchTracesRequest
    75  
    76  // A trace describes how long it takes for an application to perform an
    77  // operation. It consists of a set of spans, each of which represent a single
    78  // timed event within the operation.
    79  //
    80  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb
    81  type Trace = src.Trace
    82  
    83  // TraceServiceClient is the client API for TraceService service. For
    84  // semantics around ctx use and closing/ending streaming RPCs, please refer to
    85  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
    86  //
    87  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb
    88  type TraceServiceClient = src.TraceServiceClient
    89  
    90  // TraceServiceServer is the server API for TraceService service.
    91  //
    92  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb
    93  type TraceServiceServer = src.TraceServiceServer
    94  
    95  // A span represents a single timed event within a trace. Spans can be nested
    96  // and form a trace tree. Often, a trace contains a root span that describes
    97  // the end-to-end latency of an operation and, optionally, one or more subspans
    98  // for its suboperations. Spans do not need to be contiguous. There may be gaps
    99  // between spans in a trace.
   100  //
   101  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb
   102  type TraceSpan = src.TraceSpan
   103  
   104  // Type of span. Can be used to specify additional relationships between spans
   105  // in addition to a parent/child relationship.
   106  //
   107  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb
   108  type TraceSpan_SpanKind = src.TraceSpan_SpanKind
   109  
   110  // List of new or updated traces.
   111  //
   112  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb
   113  type Traces = src.Traces
   114  
   115  // UnimplementedTraceServiceServer can be embedded to have forward compatible
   116  // implementations.
   117  //
   118  // Deprecated: Please use types in: cloud.google.com/go/trace/apiv1/tracepb
   119  type UnimplementedTraceServiceServer = src.UnimplementedTraceServiceServer
   120  
   121  // Deprecated: Please use funcs in: cloud.google.com/go/trace/apiv1/tracepb
   122  func NewTraceServiceClient(cc grpc.ClientConnInterface) TraceServiceClient {
   123  	return src.NewTraceServiceClient(cc)
   124  }
   125  
   126  // Deprecated: Please use funcs in: cloud.google.com/go/trace/apiv1/tracepb
   127  func RegisterTraceServiceServer(s *grpc.Server, srv TraceServiceServer) {
   128  	src.RegisterTraceServiceServer(s, srv)
   129  }
   130  

View as plain text