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