com.google.cloud.audit.AuditLogOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lightstep-opentelemetry-auto-exporter Show documentation
Show all versions of lightstep-opentelemetry-auto-exporter Show documentation
Lightstep OpenTelemetry Auto Exporter
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/audit/audit_log.proto
package com.google.cloud.audit;
public interface AuditLogOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.audit.AuditLog)
com.google.protobuf.MessageOrBuilder {
/**
*
* The name of the API service performing the operation. For example,
* `"datastore.googleapis.com"`.
*
*
* string service_name = 7;
*/
String getServiceName();
/**
*
* The name of the API service performing the operation. For example,
* `"datastore.googleapis.com"`.
*
*
* string service_name = 7;
*/
com.google.protobuf.ByteString
getServiceNameBytes();
/**
*
* The name of the service method or operation.
* For API calls, this should be the name of the API method.
* For example,
* "google.datastore.v1.Datastore.RunQuery"
* "google.logging.v1.LoggingService.DeleteLog"
*
*
* string method_name = 8;
*/
String getMethodName();
/**
*
* The name of the service method or operation.
* For API calls, this should be the name of the API method.
* For example,
* "google.datastore.v1.Datastore.RunQuery"
* "google.logging.v1.LoggingService.DeleteLog"
*
*
* string method_name = 8;
*/
com.google.protobuf.ByteString
getMethodNameBytes();
/**
*
* The resource or collection that is the target of the operation.
* The name is a scheme-less URI, not including the API service name.
* For example:
* "shelves/SHELF_ID/books"
* "shelves/SHELF_ID/books/BOOK_ID"
*
*
* string resource_name = 11;
*/
String getResourceName();
/**
*
* The resource or collection that is the target of the operation.
* The name is a scheme-less URI, not including the API service name.
* For example:
* "shelves/SHELF_ID/books"
* "shelves/SHELF_ID/books/BOOK_ID"
*
*
* string resource_name = 11;
*/
com.google.protobuf.ByteString
getResourceNameBytes();
/**
*
* The number of items returned from a List or Query API method,
* if applicable.
*
*
* int64 num_response_items = 12;
*/
long getNumResponseItems();
/**
*
* The status of the overall operation.
*
*
* .google.rpc.Status status = 2;
*/
boolean hasStatus();
/**
*
* The status of the overall operation.
*
*
* .google.rpc.Status status = 2;
*/
com.google.rpc.Status getStatus();
/**
*
* The status of the overall operation.
*
*
* .google.rpc.Status status = 2;
*/
com.google.rpc.StatusOrBuilder getStatusOrBuilder();
/**
*
* Authentication information.
*
*
* .google.cloud.audit.AuthenticationInfo authentication_info = 3;
*/
boolean hasAuthenticationInfo();
/**
*
* Authentication information.
*
*
* .google.cloud.audit.AuthenticationInfo authentication_info = 3;
*/
com.google.cloud.audit.AuthenticationInfo getAuthenticationInfo();
/**
*
* Authentication information.
*
*
* .google.cloud.audit.AuthenticationInfo authentication_info = 3;
*/
com.google.cloud.audit.AuthenticationInfoOrBuilder getAuthenticationInfoOrBuilder();
/**
*
* Authorization information. If there are multiple
* resources or permissions involved, then there is
* one AuthorizationInfo element for each {resource, permission} tuple.
*
*
* repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
*/
java.util.List
getAuthorizationInfoList();
/**
*
* Authorization information. If there are multiple
* resources or permissions involved, then there is
* one AuthorizationInfo element for each {resource, permission} tuple.
*
*
* repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
*/
com.google.cloud.audit.AuthorizationInfo getAuthorizationInfo(int index);
/**
*
* Authorization information. If there are multiple
* resources or permissions involved, then there is
* one AuthorizationInfo element for each {resource, permission} tuple.
*
*
* repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
*/
int getAuthorizationInfoCount();
/**
*
* Authorization information. If there are multiple
* resources or permissions involved, then there is
* one AuthorizationInfo element for each {resource, permission} tuple.
*
*
* repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
*/
java.util.List extends com.google.cloud.audit.AuthorizationInfoOrBuilder>
getAuthorizationInfoOrBuilderList();
/**
*
* Authorization information. If there are multiple
* resources or permissions involved, then there is
* one AuthorizationInfo element for each {resource, permission} tuple.
*
*
* repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
*/
com.google.cloud.audit.AuthorizationInfoOrBuilder getAuthorizationInfoOrBuilder(
int index);
/**
*
* Metadata about the operation.
*
*
* .google.cloud.audit.RequestMetadata request_metadata = 4;
*/
boolean hasRequestMetadata();
/**
*
* Metadata about the operation.
*
*
* .google.cloud.audit.RequestMetadata request_metadata = 4;
*/
RequestMetadata getRequestMetadata();
/**
*
* Metadata about the operation.
*
*
* .google.cloud.audit.RequestMetadata request_metadata = 4;
*/
com.google.cloud.audit.RequestMetadataOrBuilder getRequestMetadataOrBuilder();
/**
*
* The operation request. This may not include all request parameters,
* such as those that are too large, privacy-sensitive, or duplicated
* elsewhere in the log record.
* It should never include user-generated data, such as file contents.
* When the JSON object represented here has a proto equivalent, the proto
* name will be indicated in the `@type` property.
*
*
* .google.protobuf.Struct request = 16;
*/
boolean hasRequest();
/**
*
* The operation request. This may not include all request parameters,
* such as those that are too large, privacy-sensitive, or duplicated
* elsewhere in the log record.
* It should never include user-generated data, such as file contents.
* When the JSON object represented here has a proto equivalent, the proto
* name will be indicated in the `@type` property.
*
*
* .google.protobuf.Struct request = 16;
*/
com.google.protobuf.Struct getRequest();
/**
*
* The operation request. This may not include all request parameters,
* such as those that are too large, privacy-sensitive, or duplicated
* elsewhere in the log record.
* It should never include user-generated data, such as file contents.
* When the JSON object represented here has a proto equivalent, the proto
* name will be indicated in the `@type` property.
*
*
* .google.protobuf.Struct request = 16;
*/
com.google.protobuf.StructOrBuilder getRequestOrBuilder();
/**
*
* The operation response. This may not include all response elements,
* such as those that are too large, privacy-sensitive, or duplicated
* elsewhere in the log record.
* It should never include user-generated data, such as file contents.
* When the JSON object represented here has a proto equivalent, the proto
* name will be indicated in the `@type` property.
*
*
* .google.protobuf.Struct response = 17;
*/
boolean hasResponse();
/**
*
* The operation response. This may not include all response elements,
* such as those that are too large, privacy-sensitive, or duplicated
* elsewhere in the log record.
* It should never include user-generated data, such as file contents.
* When the JSON object represented here has a proto equivalent, the proto
* name will be indicated in the `@type` property.
*
*
* .google.protobuf.Struct response = 17;
*/
com.google.protobuf.Struct getResponse();
/**
*
* The operation response. This may not include all response elements,
* such as those that are too large, privacy-sensitive, or duplicated
* elsewhere in the log record.
* It should never include user-generated data, such as file contents.
* When the JSON object represented here has a proto equivalent, the proto
* name will be indicated in the `@type` property.
*
*
* .google.protobuf.Struct response = 17;
*/
com.google.protobuf.StructOrBuilder getResponseOrBuilder();
/**
*
* Other service-specific data about the request, response, and other
* activities.
*
*
* .google.protobuf.Any service_data = 15;
*/
boolean hasServiceData();
/**
*
* Other service-specific data about the request, response, and other
* activities.
*
*
* .google.protobuf.Any service_data = 15;
*/
com.google.protobuf.Any getServiceData();
/**
*
* Other service-specific data about the request, response, and other
* activities.
*
*
* .google.protobuf.Any service_data = 15;
*/
com.google.protobuf.AnyOrBuilder getServiceDataOrBuilder();
}