- 0.175.0-beta (latest)
- 0.174.0-beta
- 0.173.0-beta
- 0.172.0-beta
- 0.170.0-beta
- 0.169.0-beta
- 0.168.0-beta
- 0.167.0-beta
- 0.166.0-beta
- 0.165.0-beta
- 0.164.0-beta
- 0.163.0-beta
- 0.162.0-beta
- 0.161.0-beta
- 0.160.0-beta
- 0.158.0-beta
- 0.157.0-beta
- 0.156.0-beta
- 0.155.0-beta
- 0.154.0-beta
- 0.153.0-beta
- 0.152.0-beta
- 0.151.0-beta
- 0.150.0-beta
- 0.149.0-beta
- 0.148.0-beta
- 0.145.0-beta
- 0.144.0-beta
- 0.143.0-beta
- 0.142.0-beta
- 0.141.0-beta
- 0.140.0-beta
- 0.139.0-beta
- 0.138.0-beta
- 0.137.0-beta
- 0.136.0-beta
- 0.135.0-beta
- 0.134.0-beta
- 0.133.0-beta
- 0.132.0-beta
- 0.130.0-beta
- 0.129.0-beta
- 0.128.0-beta
- 0.127.0-beta
- 0.126.0-beta
- 0.125.0-beta
- 0.124.15-beta
- 0.123.4-beta
- 0.122.23-beta
public static final class HttpRequestContext.Builder extends GeneratedMessageV3.Builder<HttpRequestContext.Builder> implements HttpRequestContextOrBuilder
HTTP request data that is related to a reported error. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.
Protobuf type google.devtools.clouderrorreporting.v1beta1.HttpRequestContext
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HttpRequestContext.BuilderImplements
HttpRequestContextOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HttpRequestContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HttpRequestContext.Builder |
build()
public HttpRequestContext build()
Type | Description |
HttpRequestContext |
buildPartial()
public HttpRequestContext buildPartial()
Type | Description |
HttpRequestContext |
clear()
public HttpRequestContext.Builder clear()
Type | Description |
HttpRequestContext.Builder |
clearField(Descriptors.FieldDescriptor field)
public HttpRequestContext.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
HttpRequestContext.Builder |
clearMethod()
public HttpRequestContext.Builder clearMethod()
The type of HTTP request, such as GET
, POST
, etc.
string method = 1;
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public HttpRequestContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
HttpRequestContext.Builder |
clearReferrer()
public HttpRequestContext.Builder clearReferrer()
The referrer information that is provided with the request.
string referrer = 4;
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
clearRemoteIp()
public HttpRequestContext.Builder clearRemoteIp()
The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report.
string remote_ip = 6;
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
clearResponseStatusCode()
public HttpRequestContext.Builder clearResponseStatusCode()
The HTTP response status code for the request.
int32 response_status_code = 5;
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
clearUrl()
public HttpRequestContext.Builder clearUrl()
The URL of the request.
string url = 2;
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
clearUserAgent()
public HttpRequestContext.Builder clearUserAgent()
The user agent information that is provided with the request.
string user_agent = 3;
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
clone()
public HttpRequestContext.Builder clone()
Type | Description |
HttpRequestContext.Builder |
getDefaultInstanceForType()
public HttpRequestContext getDefaultInstanceForType()
Type | Description |
HttpRequestContext |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMethod()
public String getMethod()
The type of HTTP request, such as GET
, POST
, etc.
string method = 1;
Type | Description |
String | The method. |
getMethodBytes()
public ByteString getMethodBytes()
The type of HTTP request, such as GET
, POST
, etc.
string method = 1;
Type | Description |
ByteString | The bytes for method. |
getReferrer()
public String getReferrer()
The referrer information that is provided with the request.
string referrer = 4;
Type | Description |
String | The referrer. |
getReferrerBytes()
public ByteString getReferrerBytes()
The referrer information that is provided with the request.
string referrer = 4;
Type | Description |
ByteString | The bytes for referrer. |
getRemoteIp()
public String getRemoteIp()
The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report.
string remote_ip = 6;
Type | Description |
String | The remoteIp. |
getRemoteIpBytes()
public ByteString getRemoteIpBytes()
The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report.
string remote_ip = 6;
Type | Description |
ByteString | The bytes for remoteIp. |
getResponseStatusCode()
public int getResponseStatusCode()
The HTTP response status code for the request.
int32 response_status_code = 5;
Type | Description |
int | The responseStatusCode. |
getUrl()
public String getUrl()
The URL of the request.
string url = 2;
Type | Description |
String | The url. |
getUrlBytes()
public ByteString getUrlBytes()
The URL of the request.
string url = 2;
Type | Description |
ByteString | The bytes for url. |
getUserAgent()
public String getUserAgent()
The user agent information that is provided with the request.
string user_agent = 3;
Type | Description |
String | The userAgent. |
getUserAgentBytes()
public ByteString getUserAgentBytes()
The user agent information that is provided with the request.
string user_agent = 3;
Type | Description |
ByteString | The bytes for userAgent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(HttpRequestContext other)
public HttpRequestContext.Builder mergeFrom(HttpRequestContext other)
Name | Description |
other | HttpRequestContext |
Type | Description |
HttpRequestContext.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HttpRequestContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
HttpRequestContext.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public HttpRequestContext.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
HttpRequestContext.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HttpRequestContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HttpRequestContext.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public HttpRequestContext.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HttpRequestContext.Builder |
setMethod(String value)
public HttpRequestContext.Builder setMethod(String value)
The type of HTTP request, such as GET
, POST
, etc.
string method = 1;
Name | Description |
value | String The method to set. |
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
setMethodBytes(ByteString value)
public HttpRequestContext.Builder setMethodBytes(ByteString value)
The type of HTTP request, such as GET
, POST
, etc.
string method = 1;
Name | Description |
value | ByteString The bytes for method to set. |
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
setReferrer(String value)
public HttpRequestContext.Builder setReferrer(String value)
The referrer information that is provided with the request.
string referrer = 4;
Name | Description |
value | String The referrer to set. |
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
setReferrerBytes(ByteString value)
public HttpRequestContext.Builder setReferrerBytes(ByteString value)
The referrer information that is provided with the request.
string referrer = 4;
Name | Description |
value | ByteString The bytes for referrer to set. |
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
setRemoteIp(String value)
public HttpRequestContext.Builder setRemoteIp(String value)
The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report.
string remote_ip = 6;
Name | Description |
value | String The remoteIp to set. |
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
setRemoteIpBytes(ByteString value)
public HttpRequestContext.Builder setRemoteIpBytes(ByteString value)
The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report.
string remote_ip = 6;
Name | Description |
value | ByteString The bytes for remoteIp to set. |
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HttpRequestContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
HttpRequestContext.Builder |
setResponseStatusCode(int value)
public HttpRequestContext.Builder setResponseStatusCode(int value)
The HTTP response status code for the request.
int32 response_status_code = 5;
Name | Description |
value | int The responseStatusCode to set. |
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final HttpRequestContext.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HttpRequestContext.Builder |
setUrl(String value)
public HttpRequestContext.Builder setUrl(String value)
The URL of the request.
string url = 2;
Name | Description |
value | String The url to set. |
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
setUrlBytes(ByteString value)
public HttpRequestContext.Builder setUrlBytes(ByteString value)
The URL of the request.
string url = 2;
Name | Description |
value | ByteString The bytes for url to set. |
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
setUserAgent(String value)
public HttpRequestContext.Builder setUserAgent(String value)
The user agent information that is provided with the request.
string user_agent = 3;
Name | Description |
value | String The userAgent to set. |
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |
setUserAgentBytes(ByteString value)
public HttpRequestContext.Builder setUserAgentBytes(ByteString value)
The user agent information that is provided with the request.
string user_agent = 3;
Name | Description |
value | ByteString The bytes for userAgent to set. |
Type | Description |
HttpRequestContext.Builder | This builder for chaining. |