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/clouderrorreporting/v1beta1/common.proto 18 19 package com.google.devtools.clouderrorreporting.v1beta1; 20 21 public interface ServiceContextOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.clouderrorreporting.v1beta1.ServiceContext) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * An identifier of the service, such as the name of the 31 * executable, job, or Google App Engine service name. This field is expected 32 * to have a low number of values that are relatively stable over time, as 33 * opposed to `version`, which can be changed whenever new code is deployed. 34 * Contains the service name for error reports extracted from Google 35 * App Engine logs or `default` if the App Engine default service is used. 36 * </pre> 37 * 38 * <code>string service = 2;</code> 39 * 40 * @return The service. 41 */ getService()42 java.lang.String getService(); 43 /** 44 * 45 * 46 * <pre> 47 * An identifier of the service, such as the name of the 48 * executable, job, or Google App Engine service name. This field is expected 49 * to have a low number of values that are relatively stable over time, as 50 * opposed to `version`, which can be changed whenever new code is deployed. 51 * Contains the service name for error reports extracted from Google 52 * App Engine logs or `default` if the App Engine default service is used. 53 * </pre> 54 * 55 * <code>string service = 2;</code> 56 * 57 * @return The bytes for service. 58 */ getServiceBytes()59 com.google.protobuf.ByteString getServiceBytes(); 60 61 /** 62 * 63 * 64 * <pre> 65 * Represents the source code version that the developer provided, 66 * which could represent a version label or a Git SHA-1 hash, for example. 67 * For App Engine standard environment, the version is set to the version of 68 * the app. 69 * </pre> 70 * 71 * <code>string version = 3;</code> 72 * 73 * @return The version. 74 */ getVersion()75 java.lang.String getVersion(); 76 /** 77 * 78 * 79 * <pre> 80 * Represents the source code version that the developer provided, 81 * which could represent a version label or a Git SHA-1 hash, for example. 82 * For App Engine standard environment, the version is set to the version of 83 * the app. 84 * </pre> 85 * 86 * <code>string version = 3;</code> 87 * 88 * @return The bytes for version. 89 */ getVersionBytes()90 com.google.protobuf.ByteString getVersionBytes(); 91 92 /** 93 * 94 * 95 * <pre> 96 * Type of the MonitoredResource. List of possible values: 97 * https://cloud.google.com/monitoring/api/resources 98 * Value is set automatically for incoming errors and must not be set when 99 * reporting errors. 100 * </pre> 101 * 102 * <code>string resource_type = 4;</code> 103 * 104 * @return The resourceType. 105 */ getResourceType()106 java.lang.String getResourceType(); 107 /** 108 * 109 * 110 * <pre> 111 * Type of the MonitoredResource. List of possible values: 112 * https://cloud.google.com/monitoring/api/resources 113 * Value is set automatically for incoming errors and must not be set when 114 * reporting errors. 115 * </pre> 116 * 117 * <code>string resource_type = 4;</code> 118 * 119 * @return The bytes for resourceType. 120 */ getResourceTypeBytes()121 com.google.protobuf.ByteString getResourceTypeBytes(); 122 } 123