1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/devtools/cloudtrace/v1/trace.proto 18 19 package com.google.devtools.cloudtrace.v1; 20 21 public interface TraceOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.cloudtrace.v1.Trace) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Project ID of the Cloud project where the trace data is stored. 31 * </pre> 32 * 33 * <code>string project_id = 1;</code> 34 * 35 * @return The projectId. 36 */ getProjectId()37 java.lang.String getProjectId(); 38 /** 39 * 40 * 41 * <pre> 42 * Project ID of the Cloud project where the trace data is stored. 43 * </pre> 44 * 45 * <code>string project_id = 1;</code> 46 * 47 * @return The bytes for projectId. 48 */ getProjectIdBytes()49 com.google.protobuf.ByteString getProjectIdBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Globally unique identifier for the trace. This identifier is a 128-bit 56 * numeric value formatted as a 32-byte hex string. For example, 57 * `382d4f4c6b7bb2f4a972559d9085001d`. 58 * </pre> 59 * 60 * <code>string trace_id = 2;</code> 61 * 62 * @return The traceId. 63 */ getTraceId()64 java.lang.String getTraceId(); 65 /** 66 * 67 * 68 * <pre> 69 * Globally unique identifier for the trace. This identifier is a 128-bit 70 * numeric value formatted as a 32-byte hex string. For example, 71 * `382d4f4c6b7bb2f4a972559d9085001d`. 72 * </pre> 73 * 74 * <code>string trace_id = 2;</code> 75 * 76 * @return The bytes for traceId. 77 */ getTraceIdBytes()78 com.google.protobuf.ByteString getTraceIdBytes(); 79 80 /** 81 * 82 * 83 * <pre> 84 * Collection of spans in the trace. 85 * </pre> 86 * 87 * <code>repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3;</code> 88 */ getSpansList()89 java.util.List<com.google.devtools.cloudtrace.v1.TraceSpan> getSpansList(); 90 /** 91 * 92 * 93 * <pre> 94 * Collection of spans in the trace. 95 * </pre> 96 * 97 * <code>repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3;</code> 98 */ getSpans(int index)99 com.google.devtools.cloudtrace.v1.TraceSpan getSpans(int index); 100 /** 101 * 102 * 103 * <pre> 104 * Collection of spans in the trace. 105 * </pre> 106 * 107 * <code>repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3;</code> 108 */ getSpansCount()109 int getSpansCount(); 110 /** 111 * 112 * 113 * <pre> 114 * Collection of spans in the trace. 115 * </pre> 116 * 117 * <code>repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3;</code> 118 */ 119 java.util.List<? extends com.google.devtools.cloudtrace.v1.TraceSpanOrBuilder> getSpansOrBuilderList()120 getSpansOrBuilderList(); 121 /** 122 * 123 * 124 * <pre> 125 * Collection of spans in the trace. 126 * </pre> 127 * 128 * <code>repeated .google.devtools.cloudtrace.v1.TraceSpan spans = 3;</code> 129 */ getSpansOrBuilder(int index)130 com.google.devtools.cloudtrace.v1.TraceSpanOrBuilder getSpansOrBuilder(int index); 131 } 132