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.BuilderaddAllExtensions(Iterable<? extends com.google.protobuf.Any> values)Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.BuilderaddExtensions(int index, com.google.protobuf.Any value)Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.BuilderaddExtensions(int index, com.google.protobuf.Any.Builder builderForValue)Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.BuilderaddExtensions(com.google.protobuf.Any value)Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.BuilderaddExtensions(com.google.protobuf.Any.Builder builderForValue)Supports extensions for advanced use cases, such as logs and metrics.com.google.protobuf.Any.BuilderaddExtensionsBuilder()Supports extensions for advanced use cases, such as logs and metrics.com.google.protobuf.Any.BuilderaddExtensionsBuilder(int index)Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AttributeContextbuild()AttributeContextbuildPartial()AttributeContext.Builderclear()AttributeContext.BuilderclearApi()Represents an API operation that is involved to a network activity.AttributeContext.BuilderclearDestination()The destination of a network activity, such as accepting a TCP connection.AttributeContext.BuilderclearExtensions()Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AttributeContext.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AttributeContext.BuilderclearOrigin()The origin of a network activity.AttributeContext.BuilderclearRequest()Represents a network request, such as an HTTP request.AttributeContext.BuilderclearResource()Represents a target resource that is involved with a network activity.AttributeContext.BuilderclearResponse()Represents a network response, such as an HTTP response.AttributeContext.BuilderclearSource()The source of a network activity, such as starting a TCP connection.AttributeContext.Builderclone()AttributeContext.ApigetApi()Represents an API operation that is involved to a network activity.AttributeContext.Api.BuildergetApiBuilder()Represents an API operation that is involved to a network activity.AttributeContext.ApiOrBuildergetApiOrBuilder()Represents an API operation that is involved to a network activity.AttributeContextgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()AttributeContext.PeergetDestination()The destination of a network activity, such as accepting a TCP connection.AttributeContext.Peer.BuildergetDestinationBuilder()The destination of a network activity, such as accepting a TCP connection.AttributeContext.PeerOrBuildergetDestinationOrBuilder()The destination of a network activity, such as accepting a TCP connection.com.google.protobuf.AnygetExtensions(int index)Supports extensions for advanced use cases, such as logs and metrics.com.google.protobuf.Any.BuildergetExtensionsBuilder(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.intgetExtensionsCount()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.AnyOrBuildergetExtensionsOrBuilder(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.PeergetOrigin()The origin of a network activity.AttributeContext.Peer.BuildergetOriginBuilder()The origin of a network activity.AttributeContext.PeerOrBuildergetOriginOrBuilder()The origin of a network activity.AttributeContext.RequestgetRequest()Represents a network request, such as an HTTP request.AttributeContext.Request.BuildergetRequestBuilder()Represents a network request, such as an HTTP request.AttributeContext.RequestOrBuildergetRequestOrBuilder()Represents a network request, such as an HTTP request.AttributeContext.ResourcegetResource()Represents a target resource that is involved with a network activity.AttributeContext.Resource.BuildergetResourceBuilder()Represents a target resource that is involved with a network activity.AttributeContext.ResourceOrBuildergetResourceOrBuilder()Represents a target resource that is involved with a network activity.AttributeContext.ResponsegetResponse()Represents a network response, such as an HTTP response.AttributeContext.Response.BuildergetResponseBuilder()Represents a network response, such as an HTTP response.AttributeContext.ResponseOrBuildergetResponseOrBuilder()Represents a network response, such as an HTTP response.AttributeContext.PeergetSource()The source of a network activity, such as starting a TCP connection.AttributeContext.Peer.BuildergetSourceBuilder()The source of a network activity, such as starting a TCP connection.AttributeContext.PeerOrBuildergetSourceOrBuilder()The source of a network activity, such as starting a TCP connection.booleanhasApi()Represents an API operation that is involved to a network activity.booleanhasDestination()The destination of a network activity, such as accepting a TCP connection.booleanhasOrigin()The origin of a network activity.booleanhasRequest()Represents a network request, such as an HTTP request.booleanhasResource()Represents a target resource that is involved with a network activity.booleanhasResponse()Represents a network response, such as an HTTP response.booleanhasSource()The source of a network activity, such as starting a TCP connection.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AttributeContext.BuildermergeApi(AttributeContext.Api value)Represents an API operation that is involved to a network activity.AttributeContext.BuildermergeDestination(AttributeContext.Peer value)The destination of a network activity, such as accepting a TCP connection.AttributeContext.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AttributeContext.BuildermergeFrom(com.google.protobuf.Message other)AttributeContext.BuildermergeFrom(AttributeContext other)AttributeContext.BuildermergeOrigin(AttributeContext.Peer value)The origin of a network activity.AttributeContext.BuildermergeRequest(AttributeContext.Request value)Represents a network request, such as an HTTP request.AttributeContext.BuildermergeResource(AttributeContext.Resource value)Represents a target resource that is involved with a network activity.AttributeContext.BuildermergeResponse(AttributeContext.Response value)Represents a network response, such as an HTTP response.AttributeContext.BuildermergeSource(AttributeContext.Peer value)The source of a network activity, such as starting a TCP connection.AttributeContext.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AttributeContext.BuilderremoveExtensions(int index)Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.BuildersetApi(AttributeContext.Api value)Represents an API operation that is involved to a network activity.AttributeContext.BuildersetApi(AttributeContext.Api.Builder builderForValue)Represents an API operation that is involved to a network activity.AttributeContext.BuildersetDestination(AttributeContext.Peer value)The destination of a network activity, such as accepting a TCP connection.AttributeContext.BuildersetDestination(AttributeContext.Peer.Builder builderForValue)The destination of a network activity, such as accepting a TCP connection.AttributeContext.BuildersetExtensions(int index, com.google.protobuf.Any value)Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.BuildersetExtensions(int index, com.google.protobuf.Any.Builder builderForValue)Supports extensions for advanced use cases, such as logs and metrics.AttributeContext.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AttributeContext.BuildersetOrigin(AttributeContext.Peer value)The origin of a network activity.AttributeContext.BuildersetOrigin(AttributeContext.Peer.Builder builderForValue)The origin of a network activity.AttributeContext.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AttributeContext.BuildersetRequest(AttributeContext.Request value)Represents a network request, such as an HTTP request.AttributeContext.BuildersetRequest(AttributeContext.Request.Builder builderForValue)Represents a network request, such as an HTTP request.AttributeContext.BuildersetResource(AttributeContext.Resource value)Represents a target resource that is involved with a network activity.AttributeContext.BuildersetResource(AttributeContext.Resource.Builder builderForValue)Represents a target resource that is involved with a network activity.AttributeContext.BuildersetResponse(AttributeContext.Response value)Represents a network response, such as an HTTP response.AttributeContext.BuildersetResponse(AttributeContext.Response.Builder builderForValue)Represents a network response, such as an HTTP response.AttributeContext.BuildersetSource(AttributeContext.Peer value)The source of a network activity, such as starting a TCP connection.AttributeContext.BuildersetSource(AttributeContext.Peer.Builder builderForValue)The source of a network activity, such as starting a TCP connection.AttributeContext.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<AttributeContext.Builder>
-
clear
public AttributeContext.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<AttributeContext.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<AttributeContext.Builder>
-
getDefaultInstanceForType
public AttributeContext getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AttributeContext build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AttributeContext buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AttributeContext.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<AttributeContext.Builder>
-
setField
public AttributeContext.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<AttributeContext.Builder>
-
clearField
public AttributeContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
clearOneof
public AttributeContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
setRepeatedField
public AttributeContext.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<AttributeContext.Builder>
-
addRepeatedField
public AttributeContext.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<AttributeContext.Builder>
-
mergeFrom
public AttributeContext.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AttributeContext.Builder>
-
mergeFrom
public AttributeContext.Builder mergeFrom(AttributeContext other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasOriginin 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:
getOriginin 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:
getOriginOrBuilderin 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:
hasSourcein 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:
getSourcein 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:
getSourceOrBuilderin 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:
hasDestinationin 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:
getDestinationin 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:
getDestinationOrBuilderin interfaceAttributeContextOrBuilder
-
hasRequest
public boolean hasRequest()
Represents a network request, such as an HTTP request.
.google.rpc.context.AttributeContext.Request request = 3;- Specified by:
hasRequestin 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:
getRequestin 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:
getRequestOrBuilderin interfaceAttributeContextOrBuilder
-
hasResponse
public boolean hasResponse()
Represents a network response, such as an HTTP response.
.google.rpc.context.AttributeContext.Response response = 4;- Specified by:
hasResponsein 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:
getResponsein 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:
getResponseOrBuilderin 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:
hasResourcein 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:
getResourcein 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:
getResourceOrBuilderin 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:
hasApiin 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:
getApiin 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:
getApiOrBuilderin 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:
getExtensionsListin interfaceAttributeContextOrBuilder
-
getExtensionsCount
public int getExtensionsCount()
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;- Specified by:
getExtensionsCountin 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:
getExtensionsin 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:
getExtensionsOrBuilderin 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:
getExtensionsOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
mergeUnknownFields
public final AttributeContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AttributeContext.Builder>
-
-