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.Api
getApi()
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.Peer
getDestination()
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.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.PeerOrBuilder
getOriginOrBuilder()
The origin of a network activity.AttributeContext.Request
getRequest()
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.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.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.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.-
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
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
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;
-
-