public static final class HttpRequestContext.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
HttpRequestContext.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
HttpRequestContext |
build() |
HttpRequestContext |
buildPartial() |
HttpRequestContext.Builder |
clear() |
HttpRequestContext.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HttpRequestContext.Builder |
clearMethod()
The type of HTTP request, such as `GET`, `POST`, etc.
|
HttpRequestContext.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HttpRequestContext.Builder |
clearReferrer()
The referrer information that is provided with the request.
|
HttpRequestContext.Builder |
clearRemoteIp()
The IP address from which the request originated.
|
HttpRequestContext.Builder |
clearResponseStatusCode()
The HTTP response status code for the request.
|
HttpRequestContext.Builder |
clearUrl()
The URL of the request.
|
HttpRequestContext.Builder |
clearUserAgent()
The user agent information that is provided with the request.
|
HttpRequestContext.Builder |
clone() |
HttpRequestContext |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getMethod()
The type of HTTP request, such as `GET`, `POST`, etc.
|
com.google.protobuf.ByteString |
getMethodBytes()
The type of HTTP request, such as `GET`, `POST`, etc.
|
java.lang.String |
getReferrer()
The referrer information that is provided with the request.
|
com.google.protobuf.ByteString |
getReferrerBytes()
The referrer information that is provided with the request.
|
java.lang.String |
getRemoteIp()
The IP address from which the request originated.
|
com.google.protobuf.ByteString |
getRemoteIpBytes()
The IP address from which the request originated.
|
int |
getResponseStatusCode()
The HTTP response status code for the request.
|
java.lang.String |
getUrl()
The URL of the request.
|
com.google.protobuf.ByteString |
getUrlBytes()
The URL of the request.
|
java.lang.String |
getUserAgent()
The user agent information that is provided with the request.
|
com.google.protobuf.ByteString |
getUserAgentBytes()
The user agent information that is provided with the request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HttpRequestContext.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HttpRequestContext.Builder |
mergeFrom(HttpRequestContext other) |
HttpRequestContext.Builder |
mergeFrom(com.google.protobuf.Message other) |
HttpRequestContext.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HttpRequestContext.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
HttpRequestContext.Builder |
setMethod(java.lang.String value)
The type of HTTP request, such as `GET`, `POST`, etc.
|
HttpRequestContext.Builder |
setMethodBytes(com.google.protobuf.ByteString value)
The type of HTTP request, such as `GET`, `POST`, etc.
|
HttpRequestContext.Builder |
setReferrer(java.lang.String value)
The referrer information that is provided with the request.
|
HttpRequestContext.Builder |
setReferrerBytes(com.google.protobuf.ByteString value)
The referrer information that is provided with the request.
|
HttpRequestContext.Builder |
setRemoteIp(java.lang.String value)
The IP address from which the request originated.
|
HttpRequestContext.Builder |
setRemoteIpBytes(com.google.protobuf.ByteString value)
The IP address from which the request originated.
|
HttpRequestContext.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
HttpRequestContext.Builder |
setResponseStatusCode(int value)
The HTTP response status code for the request.
|
HttpRequestContext.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HttpRequestContext.Builder |
setUrl(java.lang.String value)
The URL of the request.
|
HttpRequestContext.Builder |
setUrlBytes(com.google.protobuf.ByteString value)
The URL of the request.
|
HttpRequestContext.Builder |
setUserAgent(java.lang.String value)
The user agent information that is provided with the request.
|
HttpRequestContext.Builder |
setUserAgentBytes(com.google.protobuf.ByteString value)
The user agent information that is provided with the request.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequestContext.Builder>public HttpRequestContext.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequestContext.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequestContext.Builder>public HttpRequestContext getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HttpRequestContext build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HttpRequestContext buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HttpRequestContext.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequestContext.Builder>public HttpRequestContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequestContext.Builder>public HttpRequestContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequestContext.Builder>public HttpRequestContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequestContext.Builder>public HttpRequestContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequestContext.Builder>public HttpRequestContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequestContext.Builder>public HttpRequestContext.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpRequestContext.Builder>public HttpRequestContext.Builder mergeFrom(HttpRequestContext other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequestContext.Builder>public HttpRequestContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpRequestContext.Builder>java.io.IOExceptionpublic java.lang.String getMethod()
The type of HTTP request, such as `GET`, `POST`, etc.
optional string method = 1;getMethod in interface HttpRequestContextOrBuilderpublic com.google.protobuf.ByteString getMethodBytes()
The type of HTTP request, such as `GET`, `POST`, etc.
optional string method = 1;getMethodBytes in interface HttpRequestContextOrBuilderpublic HttpRequestContext.Builder setMethod(java.lang.String value)
The type of HTTP request, such as `GET`, `POST`, etc.
optional string method = 1;public HttpRequestContext.Builder clearMethod()
The type of HTTP request, such as `GET`, `POST`, etc.
optional string method = 1;public HttpRequestContext.Builder setMethodBytes(com.google.protobuf.ByteString value)
The type of HTTP request, such as `GET`, `POST`, etc.
optional string method = 1;public java.lang.String getUrl()
The URL of the request.
optional string url = 2;getUrl in interface HttpRequestContextOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
The URL of the request.
optional string url = 2;getUrlBytes in interface HttpRequestContextOrBuilderpublic HttpRequestContext.Builder setUrl(java.lang.String value)
The URL of the request.
optional string url = 2;public HttpRequestContext.Builder clearUrl()
The URL of the request.
optional string url = 2;public HttpRequestContext.Builder setUrlBytes(com.google.protobuf.ByteString value)
The URL of the request.
optional string url = 2;public java.lang.String getUserAgent()
The user agent information that is provided with the request.
optional string user_agent = 3;getUserAgent in interface HttpRequestContextOrBuilderpublic com.google.protobuf.ByteString getUserAgentBytes()
The user agent information that is provided with the request.
optional string user_agent = 3;getUserAgentBytes in interface HttpRequestContextOrBuilderpublic HttpRequestContext.Builder setUserAgent(java.lang.String value)
The user agent information that is provided with the request.
optional string user_agent = 3;public HttpRequestContext.Builder clearUserAgent()
The user agent information that is provided with the request.
optional string user_agent = 3;public HttpRequestContext.Builder setUserAgentBytes(com.google.protobuf.ByteString value)
The user agent information that is provided with the request.
optional string user_agent = 3;public java.lang.String getReferrer()
The referrer information that is provided with the request.
optional string referrer = 4;getReferrer in interface HttpRequestContextOrBuilderpublic com.google.protobuf.ByteString getReferrerBytes()
The referrer information that is provided with the request.
optional string referrer = 4;getReferrerBytes in interface HttpRequestContextOrBuilderpublic HttpRequestContext.Builder setReferrer(java.lang.String value)
The referrer information that is provided with the request.
optional string referrer = 4;public HttpRequestContext.Builder clearReferrer()
The referrer information that is provided with the request.
optional string referrer = 4;public HttpRequestContext.Builder setReferrerBytes(com.google.protobuf.ByteString value)
The referrer information that is provided with the request.
optional string referrer = 4;public int getResponseStatusCode()
The HTTP response status code for the request.
optional int32 response_status_code = 5;getResponseStatusCode in interface HttpRequestContextOrBuilderpublic HttpRequestContext.Builder setResponseStatusCode(int value)
The HTTP response status code for the request.
optional int32 response_status_code = 5;public HttpRequestContext.Builder clearResponseStatusCode()
The HTTP response status code for the request.
optional int32 response_status_code = 5;public java.lang.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.
optional string remote_ip = 6;getRemoteIp in interface HttpRequestContextOrBuilderpublic com.google.protobuf.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.
optional string remote_ip = 6;getRemoteIpBytes in interface HttpRequestContextOrBuilderpublic HttpRequestContext.Builder setRemoteIp(java.lang.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.
optional string remote_ip = 6;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.
optional string remote_ip = 6;public HttpRequestContext.Builder setRemoteIpBytes(com.google.protobuf.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.
optional string remote_ip = 6;public final HttpRequestContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequestContext.Builder>public final HttpRequestContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpRequestContext.Builder>