Package com.google.rpc.context
Class AttributeContext.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
- com.google.rpc.context.AttributeContext.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,AttributeContextOrBuilder
,Cloneable
- Enclosing class:
- AttributeContext
public static final class AttributeContext.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder> implements AttributeContextOrBuilder
This message defines the standard attribute vocabulary for Google APIs. An attribute is a piece of metadata that describes an activity on a network service. For example, the size of an HTTP request, or the status code of an HTTP response. Each attribute has a type and a name, which is logically defined as a proto message field in `AttributeContext`. The field type becomes the attribute type, and the field path becomes the attribute name. For example, the attribute `source.ip` maps to field `AttributeContext.source.ip`. This message definition is guaranteed not to have any wire breaking change. So you can use it directly for passing attributes across different systems. NOTE: Different system may generate different subset of attributes. Please verify the system specification before relying on an attribute generated a system.
Protobuf typegoogle.rpc.context.AttributeContext
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeContext.Builder
addAllExtensions(Iterable<? extends com.google.protobuf.Any> values)
Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.Builder
addExtensions(int index, com.google.protobuf.Any value)
Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.Builder
addExtensions(int index, com.google.protobuf.Any.Builder builderForValue)
Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.Builder
addExtensions(com.google.protobuf.Any value)
Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.Builder
addExtensions(com.google.protobuf.Any.Builder builderForValue)
Supports extensions for advanced use cases, such as logs and metrics.com.google.protobuf.Any.Builder
addExtensionsBuilder()
Supports extensions for advanced use cases, such as logs and metrics.com.google.protobuf.Any.Builder
addExtensionsBuilder(int index)
Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AttributeContext
build()
AttributeContext
buildPartial()
AttributeContext.Builder
clear()
AttributeContext.Builder
clearApi()
Represents an API operation that is involved to a network activity.AttributeContext.Builder
clearDestination()
The destination of a network activity, such as accepting a TCP connection.AttributeContext.Builder
clearExtensions()
Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AttributeContext.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AttributeContext.Builder
clearOrigin()
The origin of a network activity.AttributeContext.Builder
clearRequest()
Represents a network request, such as an HTTP request.AttributeContext.Builder
clearResource()
Represents a target resource that is involved with a network activity.AttributeContext.Builder
clearResponse()
Represents a network response, such as an HTTP response.AttributeContext.Builder
clearSource()
The source of a network activity, such as starting a TCP connection.AttributeContext.Builder
clone()
AttributeContext.Api
getApi()
Represents an API operation that is involved to a network activity.AttributeContext.Api.Builder
getApiBuilder()
Represents an API operation that is involved to a network activity.AttributeContext.ApiOrBuilder
getApiOrBuilder()
Represents an API operation that is involved to a network activity.AttributeContext
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
AttributeContext.Peer
getDestination()
The destination of a network activity, such as accepting a TCP connection.AttributeContext.Peer.Builder
getDestinationBuilder()
The destination of a network activity, such as accepting a TCP connection.AttributeContext.PeerOrBuilder
getDestinationOrBuilder()
The destination of a network activity, such as accepting a TCP connection.com.google.protobuf.Any
getExtensions(int index)
Supports extensions for advanced use cases, such as logs and metrics.com.google.protobuf.Any.Builder
getExtensionsBuilder(int index)
Supports extensions for advanced use cases, such as logs and metrics.List<com.google.protobuf.Any.Builder>
getExtensionsBuilderList()
Supports extensions for advanced use cases, such as logs and metrics.int
getExtensionsCount()
Supports extensions for advanced use cases, such as logs and metrics.List<com.google.protobuf.Any>
getExtensionsList()
Supports extensions for advanced use cases, such as logs and metrics.com.google.protobuf.AnyOrBuilder
getExtensionsOrBuilder(int index)
Supports extensions for advanced use cases, such as logs and metrics.List<? extends com.google.protobuf.AnyOrBuilder>
getExtensionsOrBuilderList()
Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.Peer
getOrigin()
The origin of a network activity.AttributeContext.Peer.Builder
getOriginBuilder()
The origin of a network activity.AttributeContext.PeerOrBuilder
getOriginOrBuilder()
The origin of a network activity.AttributeContext.Request
getRequest()
Represents a network request, such as an HTTP request.AttributeContext.Request.Builder
getRequestBuilder()
Represents a network request, such as an HTTP request.AttributeContext.RequestOrBuilder
getRequestOrBuilder()
Represents a network request, such as an HTTP request.AttributeContext.Resource
getResource()
Represents a target resource that is involved with a network activity.AttributeContext.Resource.Builder
getResourceBuilder()
Represents a target resource that is involved with a network activity.AttributeContext.ResourceOrBuilder
getResourceOrBuilder()
Represents a target resource that is involved with a network activity.AttributeContext.Response
getResponse()
Represents a network response, such as an HTTP response.AttributeContext.Response.Builder
getResponseBuilder()
Represents a network response, such as an HTTP response.AttributeContext.ResponseOrBuilder
getResponseOrBuilder()
Represents a network response, such as an HTTP response.AttributeContext.Peer
getSource()
The source of a network activity, such as starting a TCP connection.AttributeContext.Peer.Builder
getSourceBuilder()
The source of a network activity, such as starting a TCP connection.AttributeContext.PeerOrBuilder
getSourceOrBuilder()
The source of a network activity, such as starting a TCP connection.boolean
hasApi()
Represents an API operation that is involved to a network activity.boolean
hasDestination()
The destination of a network activity, such as accepting a TCP connection.boolean
hasOrigin()
The origin of a network activity.boolean
hasRequest()
Represents a network request, such as an HTTP request.boolean
hasResource()
Represents a target resource that is involved with a network activity.boolean
hasResponse()
Represents a network response, such as an HTTP response.boolean
hasSource()
The source of a network activity, such as starting a TCP connection.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AttributeContext.Builder
mergeApi(AttributeContext.Api value)
Represents an API operation that is involved to a network activity.AttributeContext.Builder
mergeDestination(AttributeContext.Peer value)
The destination of a network activity, such as accepting a TCP connection.AttributeContext.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttributeContext.Builder
mergeFrom(com.google.protobuf.Message other)
AttributeContext.Builder
mergeFrom(AttributeContext other)
AttributeContext.Builder
mergeOrigin(AttributeContext.Peer value)
The origin of a network activity.AttributeContext.Builder
mergeRequest(AttributeContext.Request value)
Represents a network request, such as an HTTP request.AttributeContext.Builder
mergeResource(AttributeContext.Resource value)
Represents a target resource that is involved with a network activity.AttributeContext.Builder
mergeResponse(AttributeContext.Response value)
Represents a network response, such as an HTTP response.AttributeContext.Builder
mergeSource(AttributeContext.Peer value)
The source of a network activity, such as starting a TCP connection.AttributeContext.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AttributeContext.Builder
removeExtensions(int index)
Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.Builder
setApi(AttributeContext.Api value)
Represents an API operation that is involved to a network activity.AttributeContext.Builder
setApi(AttributeContext.Api.Builder builderForValue)
Represents an API operation that is involved to a network activity.AttributeContext.Builder
setDestination(AttributeContext.Peer value)
The destination of a network activity, such as accepting a TCP connection.AttributeContext.Builder
setDestination(AttributeContext.Peer.Builder builderForValue)
The destination of a network activity, such as accepting a TCP connection.AttributeContext.Builder
setExtensions(int index, com.google.protobuf.Any value)
Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.Builder
setExtensions(int index, com.google.protobuf.Any.Builder builderForValue)
Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AttributeContext.Builder
setOrigin(AttributeContext.Peer value)
The origin of a network activity.AttributeContext.Builder
setOrigin(AttributeContext.Peer.Builder builderForValue)
The origin of a network activity.AttributeContext.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AttributeContext.Builder
setRequest(AttributeContext.Request value)
Represents a network request, such as an HTTP request.AttributeContext.Builder
setRequest(AttributeContext.Request.Builder builderForValue)
Represents a network request, such as an HTTP request.AttributeContext.Builder
setResource(AttributeContext.Resource value)
Represents a target resource that is involved with a network activity.AttributeContext.Builder
setResource(AttributeContext.Resource.Builder builderForValue)
Represents a target resource that is involved with a network activity.AttributeContext.Builder
setResponse(AttributeContext.Response value)
Represents a network response, such as an HTTP response.AttributeContext.Builder
setResponse(AttributeContext.Response.Builder builderForValue)
Represents a network response, such as an HTTP response.AttributeContext.Builder
setSource(AttributeContext.Peer value)
The source of a network activity, such as starting a TCP connection.AttributeContext.Builder
setSource(AttributeContext.Peer.Builder builderForValue)
The source of a network activity, such as starting a TCP connection.AttributeContext.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
clear
public AttributeContext.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
getDefaultInstanceForType
public AttributeContext getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AttributeContext build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AttributeContext buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AttributeContext.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
setField
public AttributeContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
clearField
public AttributeContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
clearOneof
public AttributeContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
setRepeatedField
public AttributeContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
addRepeatedField
public AttributeContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
mergeFrom
public AttributeContext.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AttributeContext.Builder>
-
mergeFrom
public AttributeContext.Builder mergeFrom(AttributeContext other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
mergeFrom
public AttributeContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AttributeContext.Builder>
- Throws:
IOException
-
hasOrigin
public boolean hasOrigin()
The origin of a network activity. In a multi hop network activity, the origin represents the sender of the first hop. For the first hop, the `source` and the `origin` must have the same content.
.google.rpc.context.AttributeContext.Peer origin = 7;
- Specified by:
hasOrigin
in interfaceAttributeContextOrBuilder
- Returns:
- Whether the origin field is set.
-
getOrigin
public AttributeContext.Peer getOrigin()
The origin of a network activity. In a multi hop network activity, the origin represents the sender of the first hop. For the first hop, the `source` and the `origin` must have the same content.
.google.rpc.context.AttributeContext.Peer origin = 7;
- Specified by:
getOrigin
in interfaceAttributeContextOrBuilder
- Returns:
- The origin.
-
setOrigin
public AttributeContext.Builder setOrigin(AttributeContext.Peer value)
The origin of a network activity. In a multi hop network activity, the origin represents the sender of the first hop. For the first hop, the `source` and the `origin` must have the same content.
.google.rpc.context.AttributeContext.Peer origin = 7;
-
setOrigin
public AttributeContext.Builder setOrigin(AttributeContext.Peer.Builder builderForValue)
The origin of a network activity. In a multi hop network activity, the origin represents the sender of the first hop. For the first hop, the `source` and the `origin` must have the same content.
.google.rpc.context.AttributeContext.Peer origin = 7;
-
mergeOrigin
public AttributeContext.Builder mergeOrigin(AttributeContext.Peer value)
The origin of a network activity. In a multi hop network activity, the origin represents the sender of the first hop. For the first hop, the `source` and the `origin` must have the same content.
.google.rpc.context.AttributeContext.Peer origin = 7;
-
clearOrigin
public AttributeContext.Builder clearOrigin()
The origin of a network activity. In a multi hop network activity, the origin represents the sender of the first hop. For the first hop, the `source` and the `origin` must have the same content.
.google.rpc.context.AttributeContext.Peer origin = 7;
-
getOriginBuilder
public AttributeContext.Peer.Builder getOriginBuilder()
The origin of a network activity. In a multi hop network activity, the origin represents the sender of the first hop. For the first hop, the `source` and the `origin` must have the same content.
.google.rpc.context.AttributeContext.Peer origin = 7;
-
getOriginOrBuilder
public AttributeContext.PeerOrBuilder getOriginOrBuilder()
The origin of a network activity. In a multi hop network activity, the origin represents the sender of the first hop. For the first hop, the `source` and the `origin` must have the same content.
.google.rpc.context.AttributeContext.Peer origin = 7;
- Specified by:
getOriginOrBuilder
in interfaceAttributeContextOrBuilder
-
hasSource
public boolean hasSource()
The source of a network activity, such as starting a TCP connection. In a multi hop network activity, the source represents the sender of the last hop.
.google.rpc.context.AttributeContext.Peer source = 1;
- Specified by:
hasSource
in interfaceAttributeContextOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
public AttributeContext.Peer getSource()
The source of a network activity, such as starting a TCP connection. In a multi hop network activity, the source represents the sender of the last hop.
.google.rpc.context.AttributeContext.Peer source = 1;
- Specified by:
getSource
in interfaceAttributeContextOrBuilder
- Returns:
- The source.
-
setSource
public AttributeContext.Builder setSource(AttributeContext.Peer value)
The source of a network activity, such as starting a TCP connection. In a multi hop network activity, the source represents the sender of the last hop.
.google.rpc.context.AttributeContext.Peer source = 1;
-
setSource
public AttributeContext.Builder setSource(AttributeContext.Peer.Builder builderForValue)
The source of a network activity, such as starting a TCP connection. In a multi hop network activity, the source represents the sender of the last hop.
.google.rpc.context.AttributeContext.Peer source = 1;
-
mergeSource
public AttributeContext.Builder mergeSource(AttributeContext.Peer value)
The source of a network activity, such as starting a TCP connection. In a multi hop network activity, the source represents the sender of the last hop.
.google.rpc.context.AttributeContext.Peer source = 1;
-
clearSource
public AttributeContext.Builder clearSource()
The source of a network activity, such as starting a TCP connection. In a multi hop network activity, the source represents the sender of the last hop.
.google.rpc.context.AttributeContext.Peer source = 1;
-
getSourceBuilder
public AttributeContext.Peer.Builder getSourceBuilder()
The source of a network activity, such as starting a TCP connection. In a multi hop network activity, the source represents the sender of the last hop.
.google.rpc.context.AttributeContext.Peer source = 1;
-
getSourceOrBuilder
public AttributeContext.PeerOrBuilder getSourceOrBuilder()
The source of a network activity, such as starting a TCP connection. In a multi hop network activity, the source represents the sender of the last hop.
.google.rpc.context.AttributeContext.Peer source = 1;
- Specified by:
getSourceOrBuilder
in interfaceAttributeContextOrBuilder
-
hasDestination
public boolean hasDestination()
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.
.google.rpc.context.AttributeContext.Peer destination = 2;
- Specified by:
hasDestination
in interfaceAttributeContextOrBuilder
- Returns:
- Whether the destination field is set.
-
getDestination
public AttributeContext.Peer getDestination()
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.
.google.rpc.context.AttributeContext.Peer destination = 2;
- Specified by:
getDestination
in interfaceAttributeContextOrBuilder
- Returns:
- The destination.
-
setDestination
public AttributeContext.Builder setDestination(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.
.google.rpc.context.AttributeContext.Peer destination = 2;
-
setDestination
public AttributeContext.Builder setDestination(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.
.google.rpc.context.AttributeContext.Peer destination = 2;
-
mergeDestination
public AttributeContext.Builder mergeDestination(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.
.google.rpc.context.AttributeContext.Peer destination = 2;
-
clearDestination
public AttributeContext.Builder clearDestination()
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.
.google.rpc.context.AttributeContext.Peer destination = 2;
-
getDestinationBuilder
public AttributeContext.Peer.Builder getDestinationBuilder()
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.
.google.rpc.context.AttributeContext.Peer destination = 2;
-
getDestinationOrBuilder
public AttributeContext.PeerOrBuilder getDestinationOrBuilder()
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.
.google.rpc.context.AttributeContext.Peer destination = 2;
- Specified by:
getDestinationOrBuilder
in interfaceAttributeContextOrBuilder
-
hasRequest
public boolean hasRequest()
Represents a network request, such as an HTTP request.
.google.rpc.context.AttributeContext.Request request = 3;
- Specified by:
hasRequest
in interfaceAttributeContextOrBuilder
- Returns:
- Whether the request field is set.
-
getRequest
public AttributeContext.Request getRequest()
Represents a network request, such as an HTTP request.
.google.rpc.context.AttributeContext.Request request = 3;
- Specified by:
getRequest
in interfaceAttributeContextOrBuilder
- Returns:
- The request.
-
setRequest
public AttributeContext.Builder setRequest(AttributeContext.Request value)
Represents a network request, such as an HTTP request.
.google.rpc.context.AttributeContext.Request request = 3;
-
setRequest
public AttributeContext.Builder setRequest(AttributeContext.Request.Builder builderForValue)
Represents a network request, such as an HTTP request.
.google.rpc.context.AttributeContext.Request request = 3;
-
mergeRequest
public AttributeContext.Builder mergeRequest(AttributeContext.Request value)
Represents a network request, such as an HTTP request.
.google.rpc.context.AttributeContext.Request request = 3;
-
clearRequest
public AttributeContext.Builder clearRequest()
Represents a network request, such as an HTTP request.
.google.rpc.context.AttributeContext.Request request = 3;
-
getRequestBuilder
public AttributeContext.Request.Builder getRequestBuilder()
Represents a network request, such as an HTTP request.
.google.rpc.context.AttributeContext.Request request = 3;
-
getRequestOrBuilder
public AttributeContext.RequestOrBuilder getRequestOrBuilder()
Represents a network request, such as an HTTP request.
.google.rpc.context.AttributeContext.Request request = 3;
- Specified by:
getRequestOrBuilder
in interfaceAttributeContextOrBuilder
-
hasResponse
public boolean hasResponse()
Represents a network response, such as an HTTP response.
.google.rpc.context.AttributeContext.Response response = 4;
- Specified by:
hasResponse
in interfaceAttributeContextOrBuilder
- Returns:
- Whether the response field is set.
-
getResponse
public AttributeContext.Response getResponse()
Represents a network response, such as an HTTP response.
.google.rpc.context.AttributeContext.Response response = 4;
- Specified by:
getResponse
in interfaceAttributeContextOrBuilder
- Returns:
- The response.
-
setResponse
public AttributeContext.Builder setResponse(AttributeContext.Response value)
Represents a network response, such as an HTTP response.
.google.rpc.context.AttributeContext.Response response = 4;
-
setResponse
public AttributeContext.Builder setResponse(AttributeContext.Response.Builder builderForValue)
Represents a network response, such as an HTTP response.
.google.rpc.context.AttributeContext.Response response = 4;
-
mergeResponse
public AttributeContext.Builder mergeResponse(AttributeContext.Response value)
Represents a network response, such as an HTTP response.
.google.rpc.context.AttributeContext.Response response = 4;
-
clearResponse
public AttributeContext.Builder clearResponse()
Represents a network response, such as an HTTP response.
.google.rpc.context.AttributeContext.Response response = 4;
-
getResponseBuilder
public AttributeContext.Response.Builder getResponseBuilder()
Represents a network response, such as an HTTP response.
.google.rpc.context.AttributeContext.Response response = 4;
-
getResponseOrBuilder
public AttributeContext.ResponseOrBuilder getResponseOrBuilder()
Represents a network response, such as an HTTP response.
.google.rpc.context.AttributeContext.Response response = 4;
- Specified by:
getResponseOrBuilder
in interfaceAttributeContextOrBuilder
-
hasResource
public boolean hasResource()
Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.
.google.rpc.context.AttributeContext.Resource resource = 5;
- Specified by:
hasResource
in interfaceAttributeContextOrBuilder
- Returns:
- Whether the resource field is set.
-
getResource
public AttributeContext.Resource getResource()
Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.
.google.rpc.context.AttributeContext.Resource resource = 5;
- Specified by:
getResource
in interfaceAttributeContextOrBuilder
- Returns:
- The resource.
-
setResource
public AttributeContext.Builder setResource(AttributeContext.Resource value)
Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.
.google.rpc.context.AttributeContext.Resource resource = 5;
-
setResource
public AttributeContext.Builder setResource(AttributeContext.Resource.Builder builderForValue)
Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.
.google.rpc.context.AttributeContext.Resource resource = 5;
-
mergeResource
public AttributeContext.Builder mergeResource(AttributeContext.Resource value)
Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.
.google.rpc.context.AttributeContext.Resource resource = 5;
-
clearResource
public AttributeContext.Builder clearResource()
Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.
.google.rpc.context.AttributeContext.Resource resource = 5;
-
getResourceBuilder
public AttributeContext.Resource.Builder getResourceBuilder()
Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.
.google.rpc.context.AttributeContext.Resource resource = 5;
-
getResourceOrBuilder
public AttributeContext.ResourceOrBuilder getResourceOrBuilder()
Represents a target resource that is involved with a network activity. If multiple resources are involved with an activity, this must be the primary one.
.google.rpc.context.AttributeContext.Resource resource = 5;
- Specified by:
getResourceOrBuilder
in interfaceAttributeContextOrBuilder
-
hasApi
public boolean hasApi()
Represents an API operation that is involved to a network activity.
.google.rpc.context.AttributeContext.Api api = 6;
- Specified by:
hasApi
in interfaceAttributeContextOrBuilder
- Returns:
- Whether the api field is set.
-
getApi
public AttributeContext.Api getApi()
Represents an API operation that is involved to a network activity.
.google.rpc.context.AttributeContext.Api api = 6;
- Specified by:
getApi
in interfaceAttributeContextOrBuilder
- Returns:
- The api.
-
setApi
public AttributeContext.Builder setApi(AttributeContext.Api value)
Represents an API operation that is involved to a network activity.
.google.rpc.context.AttributeContext.Api api = 6;
-
setApi
public AttributeContext.Builder setApi(AttributeContext.Api.Builder builderForValue)
Represents an API operation that is involved to a network activity.
.google.rpc.context.AttributeContext.Api api = 6;
-
mergeApi
public AttributeContext.Builder mergeApi(AttributeContext.Api value)
Represents an API operation that is involved to a network activity.
.google.rpc.context.AttributeContext.Api api = 6;
-
clearApi
public AttributeContext.Builder clearApi()
Represents an API operation that is involved to a network activity.
.google.rpc.context.AttributeContext.Api api = 6;
-
getApiBuilder
public AttributeContext.Api.Builder getApiBuilder()
Represents an API operation that is involved to a network activity.
.google.rpc.context.AttributeContext.Api api = 6;
-
getApiOrBuilder
public AttributeContext.ApiOrBuilder getApiOrBuilder()
Represents an API operation that is involved to a network activity.
.google.rpc.context.AttributeContext.Api api = 6;
- Specified by:
getApiOrBuilder
in interfaceAttributeContextOrBuilder
-
getExtensionsList
public List<com.google.protobuf.Any> getExtensionsList()
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
- Specified by:
getExtensionsList
in interfaceAttributeContextOrBuilder
-
getExtensionsCount
public int getExtensionsCount()
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
- Specified by:
getExtensionsCount
in interfaceAttributeContextOrBuilder
-
getExtensions
public com.google.protobuf.Any getExtensions(int index)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
- Specified by:
getExtensions
in interfaceAttributeContextOrBuilder
-
setExtensions
public AttributeContext.Builder setExtensions(int index, com.google.protobuf.Any value)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
setExtensions
public AttributeContext.Builder setExtensions(int index, com.google.protobuf.Any.Builder builderForValue)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
addExtensions
public AttributeContext.Builder addExtensions(com.google.protobuf.Any value)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
addExtensions
public AttributeContext.Builder addExtensions(int index, com.google.protobuf.Any value)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
addExtensions
public AttributeContext.Builder addExtensions(com.google.protobuf.Any.Builder builderForValue)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
addExtensions
public AttributeContext.Builder addExtensions(int index, com.google.protobuf.Any.Builder builderForValue)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
addAllExtensions
public AttributeContext.Builder addAllExtensions(Iterable<? extends com.google.protobuf.Any> values)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
clearExtensions
public AttributeContext.Builder clearExtensions()
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
removeExtensions
public AttributeContext.Builder removeExtensions(int index)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
getExtensionsBuilder
public com.google.protobuf.Any.Builder getExtensionsBuilder(int index)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
getExtensionsOrBuilder
public com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(int index)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
- Specified by:
getExtensionsOrBuilder
in interfaceAttributeContextOrBuilder
-
getExtensionsOrBuilderList
public List<? extends com.google.protobuf.AnyOrBuilder> getExtensionsOrBuilderList()
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
- Specified by:
getExtensionsOrBuilderList
in interfaceAttributeContextOrBuilder
-
addExtensionsBuilder
public com.google.protobuf.Any.Builder addExtensionsBuilder()
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
addExtensionsBuilder
public com.google.protobuf.Any.Builder addExtensionsBuilder(int index)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
getExtensionsBuilderList
public List<com.google.protobuf.Any.Builder> getExtensionsBuilderList()
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
setUnknownFields
public final AttributeContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
mergeUnknownFields
public final AttributeContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
-