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 PatchTracesRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.cloudtrace.v1.PatchTracesRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. ID of the Cloud project where the trace data is stored. 31 * </pre> 32 * 33 * <code>string project_id = 1 [(.google.api.field_behavior) = REQUIRED];</code> 34 * 35 * @return The projectId. 36 */ getProjectId()37 java.lang.String getProjectId(); 38 /** 39 * 40 * 41 * <pre> 42 * Required. ID of the Cloud project where the trace data is stored. 43 * </pre> 44 * 45 * <code>string project_id = 1 [(.google.api.field_behavior) = REQUIRED];</code> 46 * 47 * @return The bytes for projectId. 48 */ getProjectIdBytes()49 com.google.protobuf.ByteString getProjectIdBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Required. The body of the message. 56 * </pre> 57 * 58 * <code> 59 * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; 60 * </code> 61 * 62 * @return Whether the traces field is set. 63 */ hasTraces()64 boolean hasTraces(); 65 /** 66 * 67 * 68 * <pre> 69 * Required. The body of the message. 70 * </pre> 71 * 72 * <code> 73 * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; 74 * </code> 75 * 76 * @return The traces. 77 */ getTraces()78 com.google.devtools.cloudtrace.v1.Traces getTraces(); 79 /** 80 * 81 * 82 * <pre> 83 * Required. The body of the message. 84 * </pre> 85 * 86 * <code> 87 * .google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED]; 88 * </code> 89 */ getTracesOrBuilder()90 com.google.devtools.cloudtrace.v1.TracesOrBuilder getTracesOrBuilder(); 91 } 92