Interface AttributeContext.ApiOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getOperation()
      The API operation name.
      com.google.protobuf.ByteString getOperationBytes()
      The API operation name.
      String getProtocol()
      The API protocol used for sending the request, such as "http", "https", "grpc", or "internal".
      com.google.protobuf.ByteString getProtocolBytes()
      The API protocol used for sending the request, such as "http", "https", "grpc", or "internal".
      String getService()
      The API service name.
      com.google.protobuf.ByteString getServiceBytes()
      The API service name.
      String getVersion()
      The API version associated with the API operation above, such as "v1" or "v1alpha1".
      com.google.protobuf.ByteString getVersionBytes()
      The API version associated with the API operation above, such as "v1" or "v1alpha1".
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getService

        String getService()
         The API service name. It is a logical identifier for a networked API,
         such as "pubsub.googleapis.com". The naming syntax depends on the
         API management system being used for handling the request.
         
        string service = 1;
        Returns:
        The service.
      • getServiceBytes

        com.google.protobuf.ByteString getServiceBytes()
         The API service name. It is a logical identifier for a networked API,
         such as "pubsub.googleapis.com". The naming syntax depends on the
         API management system being used for handling the request.
         
        string service = 1;
        Returns:
        The bytes for service.
      • getOperation

        String getOperation()
         The API operation name. For gRPC requests, it is the fully qualified API
         method name, such as "google.pubsub.v1.Publisher.Publish". For OpenAPI
         requests, it is the `operationId`, such as "getPet".
         
        string operation = 2;
        Returns:
        The operation.
      • getOperationBytes

        com.google.protobuf.ByteString getOperationBytes()
         The API operation name. For gRPC requests, it is the fully qualified API
         method name, such as "google.pubsub.v1.Publisher.Publish". For OpenAPI
         requests, it is the `operationId`, such as "getPet".
         
        string operation = 2;
        Returns:
        The bytes for operation.
      • getProtocol

        String getProtocol()
         The API protocol used for sending the request, such as "http", "https",
         "grpc", or "internal".
         
        string protocol = 3;
        Returns:
        The protocol.
      • getProtocolBytes

        com.google.protobuf.ByteString getProtocolBytes()
         The API protocol used for sending the request, such as "http", "https",
         "grpc", or "internal".
         
        string protocol = 3;
        Returns:
        The bytes for protocol.
      • getVersion

        String getVersion()
         The API version associated with the API operation above, such as "v1" or
         "v1alpha1".
         
        string version = 4;
        Returns:
        The version.
      • getVersionBytes

        com.google.protobuf.ByteString getVersionBytes()
         The API version associated with the API operation above, such as "v1" or
         "v1alpha1".
         
        string version = 4;
        Returns:
        The bytes for version.