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 HttpRequestContextOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.devtools.clouderrorreporting.v1beta1.HttpRequestContext) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The type of HTTP request, such as `GET`, `POST`, etc. 31 * </pre> 32 * 33 * <code>string method = 1;</code> 34 * 35 * @return The method. 36 */ getMethod()37 java.lang.String getMethod(); 38 /** 39 * 40 * 41 * <pre> 42 * The type of HTTP request, such as `GET`, `POST`, etc. 43 * </pre> 44 * 45 * <code>string method = 1;</code> 46 * 47 * @return The bytes for method. 48 */ getMethodBytes()49 com.google.protobuf.ByteString getMethodBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * The URL of the request. 56 * </pre> 57 * 58 * <code>string url = 2;</code> 59 * 60 * @return The url. 61 */ getUrl()62 java.lang.String getUrl(); 63 /** 64 * 65 * 66 * <pre> 67 * The URL of the request. 68 * </pre> 69 * 70 * <code>string url = 2;</code> 71 * 72 * @return The bytes for url. 73 */ getUrlBytes()74 com.google.protobuf.ByteString getUrlBytes(); 75 76 /** 77 * 78 * 79 * <pre> 80 * The user agent information that is provided with the request. 81 * </pre> 82 * 83 * <code>string user_agent = 3;</code> 84 * 85 * @return The userAgent. 86 */ getUserAgent()87 java.lang.String getUserAgent(); 88 /** 89 * 90 * 91 * <pre> 92 * The user agent information that is provided with the request. 93 * </pre> 94 * 95 * <code>string user_agent = 3;</code> 96 * 97 * @return The bytes for userAgent. 98 */ getUserAgentBytes()99 com.google.protobuf.ByteString getUserAgentBytes(); 100 101 /** 102 * 103 * 104 * <pre> 105 * The referrer information that is provided with the request. 106 * </pre> 107 * 108 * <code>string referrer = 4;</code> 109 * 110 * @return The referrer. 111 */ getReferrer()112 java.lang.String getReferrer(); 113 /** 114 * 115 * 116 * <pre> 117 * The referrer information that is provided with the request. 118 * </pre> 119 * 120 * <code>string referrer = 4;</code> 121 * 122 * @return The bytes for referrer. 123 */ getReferrerBytes()124 com.google.protobuf.ByteString getReferrerBytes(); 125 126 /** 127 * 128 * 129 * <pre> 130 * The HTTP response status code for the request. 131 * </pre> 132 * 133 * <code>int32 response_status_code = 5;</code> 134 * 135 * @return The responseStatusCode. 136 */ getResponseStatusCode()137 int getResponseStatusCode(); 138 139 /** 140 * 141 * 142 * <pre> 143 * The IP address from which the request originated. 144 * This can be IPv4, IPv6, or a token which is derived from the 145 * IP address, depending on the data that has been provided 146 * in the error report. 147 * </pre> 148 * 149 * <code>string remote_ip = 6;</code> 150 * 151 * @return The remoteIp. 152 */ getRemoteIp()153 java.lang.String getRemoteIp(); 154 /** 155 * 156 * 157 * <pre> 158 * The IP address from which the request originated. 159 * This can be IPv4, IPv6, or a token which is derived from the 160 * IP address, depending on the data that has been provided 161 * in the error report. 162 * </pre> 163 * 164 * <code>string remote_ip = 6;</code> 165 * 166 * @return The bytes for remoteIp. 167 */ getRemoteIpBytes()168 com.google.protobuf.ByteString getRemoteIpBytes(); 169 } 170