Package com.google.rpc.context
Interface AttributeContext.ApiOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
AttributeContext.Api
,AttributeContext.Api.Builder
- Enclosing class:
- AttributeContext
public static interface AttributeContext.ApiOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe API operation name.com.google.protobuf.ByteString
The API operation name.The API protocol used for sending the request, such as "http", "https", "grpc", or "internal".com.google.protobuf.ByteString
The API protocol used for sending the request, such as "http", "https", "grpc", or "internal".The API service name.com.google.protobuf.ByteString
The API service name.The API version associated with the API operation above, such as "v1" or "v1alpha1".com.google.protobuf.ByteString
The API version associated with the API operation above, such as "v1" or "v1alpha1".Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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 [json_name = "service"];
- 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 [json_name = "service"];
- 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 [json_name = "operation"];
- 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 [json_name = "operation"];
- 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 [json_name = "protocol"];
- 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 [json_name = "protocol"];
- 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 [json_name = "version"];
- 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 [json_name = "version"];
- Returns:
- The bytes for version.
-