Interface AttributeContextOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
AttributeContext, AttributeContext.Builder

public interface AttributeContextOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Represents an API operation that is involved to a network activity.
    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
    Supports 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.
    The origin of a network activity.
    Represents a network request, such as an HTTP request.
    Represents a target resource that is involved with a network activity.
    Represents a network response, such as an HTTP response.
    The source of a network activity, such as starting a TCP connection.
    boolean
    Represents an API operation that is involved to a network activity.
    boolean
    The destination of a network activity, such as accepting a TCP connection.
    boolean
    The origin of a network activity.
    boolean
    Represents a network request, such as an HTTP request.
    boolean
    Represents a target resource that is involved with a network activity.
    boolean
    Represents a network response, such as an HTTP response.
    boolean
    The source of a network activity, such as starting a TCP connection.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • 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 [json_name = "origin"];
      Returns:
      Whether the origin field is set.
    • 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 [json_name = "origin"];
      Returns:
      The origin.
    • 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 [json_name = "source"];
      Returns:
      Whether the source field is set.
    • 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 [json_name = "source"];
      Returns:
      The source.
    • 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 [json_name = "destination"];
      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 [json_name = "destination"];
      Returns:
      The destination.
    • hasRequest

      boolean hasRequest()
       Represents a network request, such as an HTTP request.
       
      .google.rpc.context.AttributeContext.Request request = 3 [json_name = "request"];
      Returns:
      Whether the request field is set.
    • getRequest

       Represents a network request, such as an HTTP request.
       
      .google.rpc.context.AttributeContext.Request request = 3 [json_name = "request"];
      Returns:
      The request.
    • hasResponse

      boolean hasResponse()
       Represents a network response, such as an HTTP response.
       
      .google.rpc.context.AttributeContext.Response response = 4 [json_name = "response"];
      Returns:
      Whether the response field is set.
    • getResponse

       Represents a network response, such as an HTTP response.
       
      .google.rpc.context.AttributeContext.Response response = 4 [json_name = "response"];
      Returns:
      The response.
    • 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 [json_name = "resource"];
      Returns:
      Whether the resource field is set.
    • 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 [json_name = "resource"];
      Returns:
      The resource.
    • hasApi

      boolean hasApi()
       Represents an API operation that is involved to a network activity.
       
      .google.rpc.context.AttributeContext.Api api = 6 [json_name = "api"];
      Returns:
      Whether the api field is set.
    • getApi

       Represents an API operation that is involved to a network activity.
       
      .google.rpc.context.AttributeContext.Api api = 6 [json_name = "api"];
      Returns:
      The api.
    • getExtensionsList

      List<com.google.protobuf.Any> getExtensionsList()
       Supports extensions for advanced use cases, such as logs and metrics.
       
      repeated .google.protobuf.Any extensions = 8 [json_name = "extensions"];
    • 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 [json_name = "extensions"];
    • getExtensionsCount

      int getExtensionsCount()
       Supports extensions for advanced use cases, such as logs and metrics.
       
      repeated .google.protobuf.Any extensions = 8 [json_name = "extensions"];