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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<HttpRequestContext.Builder>
public HttpRequestContext.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<HttpRequestContext.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<HttpRequestContext.Builder>
public HttpRequestContext getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public HttpRequestContext build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public HttpRequestContext buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public HttpRequestContext.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<HttpRequestContext.Builder>
public HttpRequestContext.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<HttpRequestContext.Builder>
public HttpRequestContext.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<HttpRequestContext.Builder>
public HttpRequestContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<HttpRequestContext.Builder>
public HttpRequestContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<HttpRequestContext.Builder>
public HttpRequestContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<HttpRequestContext.Builder>
public HttpRequestContext.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<HttpRequestContext.Builder>
public HttpRequestContext.Builder mergeFrom(HttpRequestContext other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<HttpRequestContext.Builder>
public HttpRequestContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<HttpRequestContext.Builder>
java.io.IOException
public java.lang.String getMethod()
The type of HTTP request, such as `GET`, `POST`, etc.
string method = 1;
getMethod
in interface HttpRequestContextOrBuilder
public ByteString getMethodBytes()
The type of HTTP request, such as `GET`, `POST`, etc.
string method = 1;
getMethodBytes
in interface HttpRequestContextOrBuilder
public 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 HttpRequestContextOrBuilder
public ByteString getUrlBytes()
The URL of the request.
string url = 2;
getUrlBytes
in interface HttpRequestContextOrBuilder
public 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 HttpRequestContextOrBuilder
public ByteString getUserAgentBytes()
The user agent information that is provided with the request.
string user_agent = 3;
getUserAgentBytes
in interface HttpRequestContextOrBuilder
public 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 HttpRequestContextOrBuilder
public ByteString getReferrerBytes()
The referrer information that is provided with the request.
string referrer = 4;
getReferrerBytes
in interface HttpRequestContextOrBuilder
public 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 HttpRequestContextOrBuilder
public 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 HttpRequestContextOrBuilder
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;
getRemoteIpBytes
in interface HttpRequestContextOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<HttpRequestContext.Builder>
public final HttpRequestContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<HttpRequestContext.Builder>