Package com.google.rpc.context
Interface AttributeContext.ApiOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AttributeContext.Api,AttributeContext.Api.Builder
- Enclosing class:
- AttributeContext
public static interface AttributeContext.ApiOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetOperation()The API operation name.com.google.protobuf.ByteStringgetOperationBytes()The API operation name.java.lang.StringgetProtocol()The API protocol used for sending the request, such as "http", "https", "grpc", or "internal".com.google.protobuf.ByteStringgetProtocolBytes()The API protocol used for sending the request, such as "http", "https", "grpc", or "internal".java.lang.StringgetService()The API service name.com.google.protobuf.ByteStringgetServiceBytes()The API service name.java.lang.StringgetVersion()The API version associated with the API operation above, such as "v1" or "v1alpha1".com.google.protobuf.ByteStringgetVersionBytes()The API version associated with the API operation above, such as "v1" or "v1alpha1".-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getService
java.lang.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
java.lang.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
java.lang.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
java.lang.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.
-
-