Package com.google.cloud.audit
Class RequestMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
- com.google.cloud.audit.RequestMetadata.Builder
-
- All Implemented Interfaces:
RequestMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RequestMetadata
public static final class RequestMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder> implements RequestMetadataOrBuilder
Metadata about the request.
Protobuf typegoogle.cloud.audit.RequestMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestMetadata.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RequestMetadatabuild()RequestMetadatabuildPartial()RequestMetadata.Builderclear()RequestMetadata.BuilderclearCallerIp()The IP address of the caller.RequestMetadata.BuilderclearCallerNetwork()The network of the caller.RequestMetadata.BuilderclearCallerSuppliedUserAgent()The user agent of the caller.RequestMetadata.BuilderclearDestinationAttributes()The destination of a network activity, such as accepting a TCP connection.RequestMetadata.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RequestMetadata.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RequestMetadata.BuilderclearRequestAttributes()Request attributes used in IAM condition evaluation.RequestMetadata.Builderclone()StringgetCallerIp()The IP address of the caller.com.google.protobuf.ByteStringgetCallerIpBytes()The IP address of the caller.StringgetCallerNetwork()The network of the caller.com.google.protobuf.ByteStringgetCallerNetworkBytes()The network of the caller.StringgetCallerSuppliedUserAgent()The user agent of the caller.com.google.protobuf.ByteStringgetCallerSuppliedUserAgentBytes()The user agent of the caller.RequestMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()AttributeContext.PeergetDestinationAttributes()The destination of a network activity, such as accepting a TCP connection.AttributeContext.Peer.BuildergetDestinationAttributesBuilder()The destination of a network activity, such as accepting a TCP connection.AttributeContext.PeerOrBuildergetDestinationAttributesOrBuilder()The destination of a network activity, such as accepting a TCP connection.AttributeContext.RequestgetRequestAttributes()Request attributes used in IAM condition evaluation.AttributeContext.Request.BuildergetRequestAttributesBuilder()Request attributes used in IAM condition evaluation.AttributeContext.RequestOrBuildergetRequestAttributesOrBuilder()Request attributes used in IAM condition evaluation.booleanhasDestinationAttributes()The destination of a network activity, such as accepting a TCP connection.booleanhasRequestAttributes()Request attributes used in IAM condition evaluation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RequestMetadata.BuildermergeDestinationAttributes(AttributeContext.Peer value)The destination of a network activity, such as accepting a TCP connection.RequestMetadata.BuildermergeFrom(RequestMetadata other)RequestMetadata.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RequestMetadata.BuildermergeFrom(com.google.protobuf.Message other)RequestMetadata.BuildermergeRequestAttributes(AttributeContext.Request value)Request attributes used in IAM condition evaluation.RequestMetadata.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RequestMetadata.BuildersetCallerIp(String value)The IP address of the caller.RequestMetadata.BuildersetCallerIpBytes(com.google.protobuf.ByteString value)The IP address of the caller.RequestMetadata.BuildersetCallerNetwork(String value)The network of the caller.RequestMetadata.BuildersetCallerNetworkBytes(com.google.protobuf.ByteString value)The network of the caller.RequestMetadata.BuildersetCallerSuppliedUserAgent(String value)The user agent of the caller.RequestMetadata.BuildersetCallerSuppliedUserAgentBytes(com.google.protobuf.ByteString value)The user agent of the caller.RequestMetadata.BuildersetDestinationAttributes(AttributeContext.Peer value)The destination of a network activity, such as accepting a TCP connection.RequestMetadata.BuildersetDestinationAttributes(AttributeContext.Peer.Builder builderForValue)The destination of a network activity, such as accepting a TCP connection.RequestMetadata.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RequestMetadata.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RequestMetadata.BuildersetRequestAttributes(AttributeContext.Request value)Request attributes used in IAM condition evaluation.RequestMetadata.BuildersetRequestAttributes(AttributeContext.Request.Builder builderForValue)Request attributes used in IAM condition evaluation.RequestMetadata.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
clear
public RequestMetadata.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
getDefaultInstanceForType
public RequestMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RequestMetadata build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RequestMetadata buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RequestMetadata.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
setField
public RequestMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
clearField
public RequestMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
clearOneof
public RequestMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
setRepeatedField
public RequestMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
addRepeatedField
public RequestMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
mergeFrom
public RequestMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RequestMetadata.Builder>
-
mergeFrom
public RequestMetadata.Builder mergeFrom(RequestMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
mergeFrom
public RequestMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RequestMetadata.Builder>- Throws:
IOException
-
getCallerIp
public String getCallerIp()
The IP address of the caller. For a caller from the internet, this will be the public IPv4 or IPv6 address. For calls made from inside Google's internal production network from one GCP service to another, `caller_ip` will be redacted to "private". For a caller from a Compute Engine VM with a external IP address, `caller_ip` will be the VM's external IP address. For a caller from a Compute Engine VM without a external IP address, if the VM is in the same organization (or project) as the accessed resource, `caller_ip` will be the VM's internal IPv4 address, otherwise `caller_ip` will be redacted to "gce-internal-ip". See https://cloud.google.com/compute/docs/vpc/ for more information.
string caller_ip = 1;- Specified by:
getCallerIpin interfaceRequestMetadataOrBuilder- Returns:
- The callerIp.
-
getCallerIpBytes
public com.google.protobuf.ByteString getCallerIpBytes()
The IP address of the caller. For a caller from the internet, this will be the public IPv4 or IPv6 address. For calls made from inside Google's internal production network from one GCP service to another, `caller_ip` will be redacted to "private". For a caller from a Compute Engine VM with a external IP address, `caller_ip` will be the VM's external IP address. For a caller from a Compute Engine VM without a external IP address, if the VM is in the same organization (or project) as the accessed resource, `caller_ip` will be the VM's internal IPv4 address, otherwise `caller_ip` will be redacted to "gce-internal-ip". See https://cloud.google.com/compute/docs/vpc/ for more information.
string caller_ip = 1;- Specified by:
getCallerIpBytesin interfaceRequestMetadataOrBuilder- Returns:
- The bytes for callerIp.
-
setCallerIp
public RequestMetadata.Builder setCallerIp(String value)
The IP address of the caller. For a caller from the internet, this will be the public IPv4 or IPv6 address. For calls made from inside Google's internal production network from one GCP service to another, `caller_ip` will be redacted to "private". For a caller from a Compute Engine VM with a external IP address, `caller_ip` will be the VM's external IP address. For a caller from a Compute Engine VM without a external IP address, if the VM is in the same organization (or project) as the accessed resource, `caller_ip` will be the VM's internal IPv4 address, otherwise `caller_ip` will be redacted to "gce-internal-ip". See https://cloud.google.com/compute/docs/vpc/ for more information.
string caller_ip = 1;- Parameters:
value- The callerIp to set.- Returns:
- This builder for chaining.
-
clearCallerIp
public RequestMetadata.Builder clearCallerIp()
The IP address of the caller. For a caller from the internet, this will be the public IPv4 or IPv6 address. For calls made from inside Google's internal production network from one GCP service to another, `caller_ip` will be redacted to "private". For a caller from a Compute Engine VM with a external IP address, `caller_ip` will be the VM's external IP address. For a caller from a Compute Engine VM without a external IP address, if the VM is in the same organization (or project) as the accessed resource, `caller_ip` will be the VM's internal IPv4 address, otherwise `caller_ip` will be redacted to "gce-internal-ip". See https://cloud.google.com/compute/docs/vpc/ for more information.
string caller_ip = 1;- Returns:
- This builder for chaining.
-
setCallerIpBytes
public RequestMetadata.Builder setCallerIpBytes(com.google.protobuf.ByteString value)
The IP address of the caller. For a caller from the internet, this will be the public IPv4 or IPv6 address. For calls made from inside Google's internal production network from one GCP service to another, `caller_ip` will be redacted to "private". For a caller from a Compute Engine VM with a external IP address, `caller_ip` will be the VM's external IP address. For a caller from a Compute Engine VM without a external IP address, if the VM is in the same organization (or project) as the accessed resource, `caller_ip` will be the VM's internal IPv4 address, otherwise `caller_ip` will be redacted to "gce-internal-ip". See https://cloud.google.com/compute/docs/vpc/ for more information.
string caller_ip = 1;- Parameters:
value- The bytes for callerIp to set.- Returns:
- This builder for chaining.
-
getCallerSuppliedUserAgent
public 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;- Specified by:
getCallerSuppliedUserAgentin interfaceRequestMetadataOrBuilder- Returns:
- The callerSuppliedUserAgent.
-
getCallerSuppliedUserAgentBytes
public com.google.protobuf.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;- Specified by:
getCallerSuppliedUserAgentBytesin interfaceRequestMetadataOrBuilder- Returns:
- The bytes for callerSuppliedUserAgent.
-
setCallerSuppliedUserAgent
public RequestMetadata.Builder setCallerSuppliedUserAgent(String value)
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;- Parameters:
value- The callerSuppliedUserAgent to set.- Returns:
- This builder for chaining.
-
clearCallerSuppliedUserAgent
public RequestMetadata.Builder clearCallerSuppliedUserAgent()
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;- Returns:
- This builder for chaining.
-
setCallerSuppliedUserAgentBytes
public RequestMetadata.Builder setCallerSuppliedUserAgentBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for callerSuppliedUserAgent to set.- Returns:
- This builder for chaining.
-
getCallerNetwork
public String getCallerNetwork()
The network of the caller. Set only if the network host project is part of the same GCP organization (or project) as the accessed resource. See https://cloud.google.com/compute/docs/vpc/ for more information. This is a scheme-less URI full resource name. For example: "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID"string caller_network = 3;- Specified by:
getCallerNetworkin interfaceRequestMetadataOrBuilder- Returns:
- The callerNetwork.
-
getCallerNetworkBytes
public com.google.protobuf.ByteString getCallerNetworkBytes()
The network of the caller. Set only if the network host project is part of the same GCP organization (or project) as the accessed resource. See https://cloud.google.com/compute/docs/vpc/ for more information. This is a scheme-less URI full resource name. For example: "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID"string caller_network = 3;- Specified by:
getCallerNetworkBytesin interfaceRequestMetadataOrBuilder- Returns:
- The bytes for callerNetwork.
-
setCallerNetwork
public RequestMetadata.Builder setCallerNetwork(String value)
The network of the caller. Set only if the network host project is part of the same GCP organization (or project) as the accessed resource. See https://cloud.google.com/compute/docs/vpc/ for more information. This is a scheme-less URI full resource name. For example: "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID"string caller_network = 3;- Parameters:
value- The callerNetwork to set.- Returns:
- This builder for chaining.
-
clearCallerNetwork
public RequestMetadata.Builder clearCallerNetwork()
The network of the caller. Set only if the network host project is part of the same GCP organization (or project) as the accessed resource. See https://cloud.google.com/compute/docs/vpc/ for more information. This is a scheme-less URI full resource name. For example: "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID"string caller_network = 3;- Returns:
- This builder for chaining.
-
setCallerNetworkBytes
public RequestMetadata.Builder setCallerNetworkBytes(com.google.protobuf.ByteString value)
The network of the caller. Set only if the network host project is part of the same GCP organization (or project) as the accessed resource. See https://cloud.google.com/compute/docs/vpc/ for more information. This is a scheme-less URI full resource name. For example: "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID"string caller_network = 3;- Parameters:
value- The bytes for callerNetwork to set.- Returns:
- This builder for chaining.
-
hasRequestAttributes
public boolean hasRequestAttributes()
Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into `AuditLog.authentication_info.resource_attributes`.
.google.rpc.context.AttributeContext.Request request_attributes = 7;- Specified by:
hasRequestAttributesin interfaceRequestMetadataOrBuilder- Returns:
- Whether the requestAttributes field is set.
-
getRequestAttributes
public AttributeContext.Request getRequestAttributes()
Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into `AuditLog.authentication_info.resource_attributes`.
.google.rpc.context.AttributeContext.Request request_attributes = 7;- Specified by:
getRequestAttributesin interfaceRequestMetadataOrBuilder- Returns:
- The requestAttributes.
-
setRequestAttributes
public RequestMetadata.Builder setRequestAttributes(AttributeContext.Request value)
Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into `AuditLog.authentication_info.resource_attributes`.
.google.rpc.context.AttributeContext.Request request_attributes = 7;
-
setRequestAttributes
public RequestMetadata.Builder setRequestAttributes(AttributeContext.Request.Builder builderForValue)
Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into `AuditLog.authentication_info.resource_attributes`.
.google.rpc.context.AttributeContext.Request request_attributes = 7;
-
mergeRequestAttributes
public RequestMetadata.Builder mergeRequestAttributes(AttributeContext.Request value)
Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into `AuditLog.authentication_info.resource_attributes`.
.google.rpc.context.AttributeContext.Request request_attributes = 7;
-
clearRequestAttributes
public RequestMetadata.Builder clearRequestAttributes()
Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into `AuditLog.authentication_info.resource_attributes`.
.google.rpc.context.AttributeContext.Request request_attributes = 7;
-
getRequestAttributesBuilder
public AttributeContext.Request.Builder getRequestAttributesBuilder()
Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into `AuditLog.authentication_info.resource_attributes`.
.google.rpc.context.AttributeContext.Request request_attributes = 7;
-
getRequestAttributesOrBuilder
public AttributeContext.RequestOrBuilder getRequestAttributesOrBuilder()
Request attributes used in IAM condition evaluation. This field contains request attributes like request time and access levels associated with the request. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into `AuditLog.authentication_info.resource_attributes`.
.google.rpc.context.AttributeContext.Request request_attributes = 7;- Specified by:
getRequestAttributesOrBuilderin interfaceRequestMetadataOrBuilder
-
hasDestinationAttributes
public boolean hasDestinationAttributes()
The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature.
.google.rpc.context.AttributeContext.Peer destination_attributes = 8;- Specified by:
hasDestinationAttributesin interfaceRequestMetadataOrBuilder- Returns:
- Whether the destinationAttributes field is set.
-
getDestinationAttributes
public AttributeContext.Peer getDestinationAttributes()
The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature.
.google.rpc.context.AttributeContext.Peer destination_attributes = 8;- Specified by:
getDestinationAttributesin interfaceRequestMetadataOrBuilder- Returns:
- The destinationAttributes.
-
setDestinationAttributes
public RequestMetadata.Builder setDestinationAttributes(AttributeContext.Peer value)
The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature.
.google.rpc.context.AttributeContext.Peer destination_attributes = 8;
-
setDestinationAttributes
public RequestMetadata.Builder setDestinationAttributes(AttributeContext.Peer.Builder builderForValue)
The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature.
.google.rpc.context.AttributeContext.Peer destination_attributes = 8;
-
mergeDestinationAttributes
public RequestMetadata.Builder mergeDestinationAttributes(AttributeContext.Peer value)
The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature.
.google.rpc.context.AttributeContext.Peer destination_attributes = 8;
-
clearDestinationAttributes
public RequestMetadata.Builder clearDestinationAttributes()
The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature.
.google.rpc.context.AttributeContext.Peer destination_attributes = 8;
-
getDestinationAttributesBuilder
public AttributeContext.Peer.Builder getDestinationAttributesBuilder()
The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature.
.google.rpc.context.AttributeContext.Peer destination_attributes = 8;
-
getDestinationAttributesOrBuilder
public AttributeContext.PeerOrBuilder getDestinationAttributesOrBuilder()
The destination of a network activity, such as accepting a TCP connection. In a multi hop network activity, the destination represents the receiver of the last hop. Only two fields are used in this message, Peer.port and Peer.ip. These fields are optionally populated by those services utilizing the IAM condition feature.
.google.rpc.context.AttributeContext.Peer destination_attributes = 8;- Specified by:
getDestinationAttributesOrBuilderin interfaceRequestMetadataOrBuilder
-
setUnknownFields
public final RequestMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
mergeUnknownFields
public final RequestMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RequestMetadata.Builder>
-
-