public interface RequestMetadataOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCallerIp()
The IP address of the caller.
|
ByteString |
getCallerIpBytes()
The IP address of the caller.
|
java.lang.String |
getCallerSuppliedUserAgent()
The user agent of the caller.
|
ByteString |
getCallerSuppliedUserAgentBytes()
The user agent of the caller.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getCallerIp()
The IP address of the caller.
string caller_ip = 1;
ByteString getCallerIpBytes()
The IP address of the caller.
string caller_ip = 1;
java.lang.String getCallerSuppliedUserAgent()
The user agent of the caller. This information is not authenticated and should be treated accordingly. For example: + `google-api-python-client/1.4.0`: The request was made by the Google API client for Python. + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: The request was made by the Google Cloud SDK CLI (gcloud). + `AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`: The request was made from the `my-project` App Engine app.
string caller_supplied_user_agent = 2;
ByteString getCallerSuppliedUserAgentBytes()
The user agent of the caller. This information is not authenticated and should be treated accordingly. For example: + `google-api-python-client/1.4.0`: The request was made by the Google API client for Python. + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: The request was made by the Google Cloud SDK CLI (gcloud). + `AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`: The request was made from the `my-project` App Engine app.
string caller_supplied_user_agent = 2;