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/v2/trace.proto 18 19 package com.google.devtools.cloudtrace.v2; 20 21 public interface AttributeValueOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.cloudtrace.v2.AttributeValue) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * A string up to 256 bytes long. 31 * </pre> 32 * 33 * <code>.google.devtools.cloudtrace.v2.TruncatableString string_value = 1;</code> 34 * 35 * @return Whether the stringValue field is set. 36 */ hasStringValue()37 boolean hasStringValue(); 38 /** 39 * 40 * 41 * <pre> 42 * A string up to 256 bytes long. 43 * </pre> 44 * 45 * <code>.google.devtools.cloudtrace.v2.TruncatableString string_value = 1;</code> 46 * 47 * @return The stringValue. 48 */ getStringValue()49 com.google.devtools.cloudtrace.v2.TruncatableString getStringValue(); 50 /** 51 * 52 * 53 * <pre> 54 * A string up to 256 bytes long. 55 * </pre> 56 * 57 * <code>.google.devtools.cloudtrace.v2.TruncatableString string_value = 1;</code> 58 */ getStringValueOrBuilder()59 com.google.devtools.cloudtrace.v2.TruncatableStringOrBuilder getStringValueOrBuilder(); 60 61 /** 62 * 63 * 64 * <pre> 65 * A 64-bit signed integer. 66 * </pre> 67 * 68 * <code>int64 int_value = 2;</code> 69 * 70 * @return Whether the intValue field is set. 71 */ hasIntValue()72 boolean hasIntValue(); 73 /** 74 * 75 * 76 * <pre> 77 * A 64-bit signed integer. 78 * </pre> 79 * 80 * <code>int64 int_value = 2;</code> 81 * 82 * @return The intValue. 83 */ getIntValue()84 long getIntValue(); 85 86 /** 87 * 88 * 89 * <pre> 90 * A Boolean value represented by `true` or `false`. 91 * </pre> 92 * 93 * <code>bool bool_value = 3;</code> 94 * 95 * @return Whether the boolValue field is set. 96 */ hasBoolValue()97 boolean hasBoolValue(); 98 /** 99 * 100 * 101 * <pre> 102 * A Boolean value represented by `true` or `false`. 103 * </pre> 104 * 105 * <code>bool bool_value = 3;</code> 106 * 107 * @return The boolValue. 108 */ getBoolValue()109 boolean getBoolValue(); 110 getValueCase()111 public com.google.devtools.cloudtrace.v2.AttributeValue.ValueCase getValueCase(); 112 } 113