Package com.google.rpc.context
Interface AttributeContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AttributeContext,AttributeContext.Builder
@Generated
public interface AttributeContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetApi()Represents an API operation that is involved to a network activity.Represents an API operation that is involved to a network activity.The destination of a network activity, such as accepting a TCP connection.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.intSupports extensions for advanced use cases, such as logs and metrics.List<com.google.protobuf.Any>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>Supports extensions for advanced use cases, such as logs and metrics.The origin of a network activity.The origin of a network activity.Represents a network request, such as an HTTP request.Represents a network request, such as an HTTP request.Represents a target resource that is involved with a network activity.Represents a target resource that is involved with a network activity.Represents a network response, such as an HTTP response.Represents a network response, such as an HTTP response.The source of a network activity, such as starting a TCP connection.The source of a network activity, such as starting a TCP connection.booleanhasApi()Represents an API operation that is involved to a network activity.booleanThe destination of a network activity, such as accepting a TCP connection.booleanThe origin of a network activity.booleanRepresents a network request, such as an HTTP request.booleanRepresents a target resource that is involved with a network activity.booleanRepresents a network response, such as an HTTP response.booleanThe source of a network activity, such as starting a TCP connection.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-