Package com.google.rpc.context
Interface AttributeContextOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AttributeContext,AttributeContext.Builder
public interface AttributeContextOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeContext.ApigetApi()Represents an API operation that is involved to a network activity.AttributeContext.ApiOrBuildergetApiOrBuilder()Represents an API operation that is involved to a network activity.AttributeContext.PeergetDestination()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.intgetExtensionsCount()Supports extensions for advanced use cases, such as logs and metrics.java.util.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.java.util.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.PeerOrBuildergetOriginOrBuilder()The origin of a network activity.AttributeContext.RequestgetRequest()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.ResourceOrBuildergetResourceOrBuilder()Represents a target resource that is involved with a network activity.AttributeContext.ResponsegetResponse()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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasOrigin
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;- Returns:
- Whether the origin field is set.
-
getOrigin
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;- Returns:
- The origin.
-
getOriginOrBuilder
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;
-
hasSource
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;- Returns:
- Whether the source field is set.
-
getSource
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;- Returns:
- The source.
-
getSourceOrBuilder
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;
-
hasDestination
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;- Returns:
- Whether the destination field is set.
-
getDestination
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;- Returns:
- The destination.
-
getDestinationOrBuilder
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;
-
hasRequest
boolean hasRequest()
Represents a network request, such as an HTTP request.
.google.rpc.context.AttributeContext.Request request = 3;- Returns:
- Whether the request field is set.
-
getRequest
AttributeContext.Request getRequest()
Represents a network request, such as an HTTP request.
.google.rpc.context.AttributeContext.Request request = 3;- Returns:
- The request.
-
getRequestOrBuilder
AttributeContext.RequestOrBuilder getRequestOrBuilder()
Represents a network request, such as an HTTP request.
.google.rpc.context.AttributeContext.Request request = 3;
-
hasResponse
boolean hasResponse()
Represents a network response, such as an HTTP response.
.google.rpc.context.AttributeContext.Response response = 4;- Returns:
- Whether the response field is set.
-
getResponse
AttributeContext.Response getResponse()
Represents a network response, such as an HTTP response.
.google.rpc.context.AttributeContext.Response response = 4;- Returns:
- The response.
-
getResponseOrBuilder
AttributeContext.ResponseOrBuilder getResponseOrBuilder()
Represents a network response, such as an HTTP response.
.google.rpc.context.AttributeContext.Response response = 4;
-
hasResource
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;- Returns:
- Whether the resource field is set.
-
getResource
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;- Returns:
- The resource.
-
getResourceOrBuilder
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;
-
hasApi
boolean hasApi()
Represents an API operation that is involved to a network activity.
.google.rpc.context.AttributeContext.Api api = 6;- Returns:
- Whether the api field is set.
-
getApi
AttributeContext.Api getApi()
Represents an API operation that is involved to a network activity.
.google.rpc.context.AttributeContext.Api api = 6;- Returns:
- The api.
-
getApiOrBuilder
AttributeContext.ApiOrBuilder getApiOrBuilder()
Represents an API operation that is involved to a network activity.
.google.rpc.context.AttributeContext.Api api = 6;
-
getExtensionsList
java.util.List<com.google.protobuf.Any> getExtensionsList()
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
getExtensions
com.google.protobuf.Any getExtensions(int index)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
getExtensionsCount
int getExtensionsCount()
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
getExtensionsOrBuilderList
java.util.List<? extends com.google.protobuf.AnyOrBuilder> getExtensionsOrBuilderList()
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
getExtensionsOrBuilder
com.google.protobuf.AnyOrBuilder getExtensionsOrBuilder(int index)
Supports extensions for advanced use cases, such as logs and metrics.
repeated .google.protobuf.Any extensions = 8;
-
-