public static final class AttributeContext.Api extends GeneratedMessageV3 implements AttributeContext.ApiOrBuilder
This message defines attributes associated with API operations, such as a network API request. The terminology is based on the conventions used by Google APIs, Istio, and OpenAPI.
Protobuf type google.rpc.context.AttributeContext.Api
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AttributeContext.ApiImplements
AttributeContext.ApiOrBuilderStatic Fields
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
Type | Description |
int |
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
Type | Description |
int |
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
Type | Description |
int |
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AttributeContext.Api getDefaultInstance()
Type | Description |
AttributeContext.Api |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static AttributeContext.Api.Builder newBuilder()
Type | Description |
AttributeContext.Api.Builder |
newBuilder(AttributeContext.Api prototype)
public static AttributeContext.Api.Builder newBuilder(AttributeContext.Api prototype)
Name | Description |
prototype | AttributeContext.Api |
Type | Description |
AttributeContext.Api.Builder |
parseDelimitedFrom(InputStream input)
public static AttributeContext.Api parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AttributeContext.Api |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AttributeContext.Api parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AttributeContext.Api |
Type | Description |
IOException |
parseFrom(byte[] data)
public static AttributeContext.Api parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
AttributeContext.Api |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AttributeContext.Api parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AttributeContext.Api |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AttributeContext.Api parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
AttributeContext.Api |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttributeContext.Api parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AttributeContext.Api |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AttributeContext.Api parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
AttributeContext.Api |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AttributeContext.Api parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AttributeContext.Api |
Type | Description |
IOException |
parseFrom(InputStream input)
public static AttributeContext.Api parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AttributeContext.Api |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AttributeContext.Api parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AttributeContext.Api |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AttributeContext.Api parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
AttributeContext.Api |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AttributeContext.Api parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AttributeContext.Api |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AttributeContext.Api> parser()
Type | Description |
Parser<Api> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public AttributeContext.Api getDefaultInstanceForType()
Type | Description |
AttributeContext.Api |
getOperation()
public 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;
Type | Description |
String | The operation. |
getOperationBytes()
public 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;
Type | Description |
ByteString | The bytes for operation. |
getParserForType()
public Parser<AttributeContext.Api> getParserForType()
Type | Description |
Parser<Api> |
getProtocol()
public String getProtocol()
The API protocol used for sending the request, such as "http", "https", "grpc", or "internal".
string protocol = 3;
Type | Description |
String | The protocol. |
getProtocolBytes()
public ByteString getProtocolBytes()
The API protocol used for sending the request, such as "http", "https", "grpc", or "internal".
string protocol = 3;
Type | Description |
ByteString | The bytes for protocol. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getService()
public 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;
Type | Description |
String | The service. |
getServiceBytes()
public 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;
Type | Description |
ByteString | The bytes for service. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getVersion()
public String getVersion()
The API version associated with the API operation above, such as "v1" or "v1alpha1".
string version = 4;
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
The API version associated with the API operation above, such as "v1" or "v1alpha1".
string version = 4;
Type | Description |
ByteString | The bytes for version. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public AttributeContext.Api.Builder newBuilderForType()
Type | Description |
AttributeContext.Api.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AttributeContext.Api.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
AttributeContext.Api.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public AttributeContext.Api.Builder toBuilder()
Type | Description |
AttributeContext.Api.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |