public final class AuditLog extends GeneratedMessageV3 implements AuditLogOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTHENTICATION_INFO_FIELD_NUMBER
public static final int AUTHENTICATION_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
AUTHORIZATION_INFO_FIELD_NUMBER
public static final int AUTHORIZATION_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
METHOD_NAME_FIELD_NUMBER
public static final int METHOD_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NUM_RESPONSE_ITEMS_FIELD_NUMBER
public static final int NUM_RESPONSE_ITEMS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REQUEST_FIELD_NUMBER
public static final int REQUEST_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int REQUEST_METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESOURCE_LOCATION_FIELD_NUMBER
public static final int RESOURCE_LOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESOURCE_ORIGINAL_STATE_FIELD_NUMBER
public static final int RESOURCE_ORIGINAL_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESPONSE_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SERVICE_DATA_FIELD_NUMBER
public static final int SERVICE_DATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AuditLog getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AuditLog.Builder newBuilder()
newBuilder(AuditLog prototype)
public static AuditLog.Builder newBuilder(AuditLog prototype)
Parameter |
Name |
Description |
prototype |
AuditLog
|
public static AuditLog parseDelimitedFrom(InputStream input)
public static AuditLog parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AuditLog parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuditLog parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AuditLog parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuditLog parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuditLog parseFrom(CodedInputStream input)
public static AuditLog parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AuditLog parseFrom(InputStream input)
public static AuditLog parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AuditLog parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AuditLog parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AuditLog> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAuthenticationInfo()
public AuthenticationInfo getAuthenticationInfo()
Authentication information.
.google.events.cloud.audit.v1.AuthenticationInfo authentication_info = 3;
getAuthenticationInfoOrBuilder()
public AuthenticationInfoOrBuilder getAuthenticationInfoOrBuilder()
Authentication information.
.google.events.cloud.audit.v1.AuthenticationInfo authentication_info = 3;
getAuthorizationInfo(int index)
public 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.events.cloud.audit.v1.AuthorizationInfo authorization_info = 9;
Parameter |
Name |
Description |
index |
int
|
getAuthorizationInfoCount()
public 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.events.cloud.audit.v1.AuthorizationInfo authorization_info = 9;
Returns |
Type |
Description |
int |
|
getAuthorizationInfoList()
public List<AuthorizationInfo> getAuthorizationInfoList()
Authorization information. If there are multiple
resources or permissions involved, then there is
one AuthorizationInfo element for each {resource, permission} tuple.
repeated .google.events.cloud.audit.v1.AuthorizationInfo authorization_info = 9;
getAuthorizationInfoOrBuilder(int index)
public AuthorizationInfoOrBuilder getAuthorizationInfoOrBuilder(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.events.cloud.audit.v1.AuthorizationInfo authorization_info = 9;
Parameter |
Name |
Description |
index |
int
|
getAuthorizationInfoOrBuilderList()
public List<? extends 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.events.cloud.audit.v1.AuthorizationInfo authorization_info = 9;
Returns |
Type |
Description |
List<? extends com.google.events.cloud.audit.v1.AuthorizationInfoOrBuilder> |
|
getDefaultInstanceForType()
public AuditLog getDefaultInstanceForType()
public Struct getMetadata()
Other service-specific data about the request, response, and other
information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
Returns |
Type |
Description |
Struct |
The metadata.
|
public StructOrBuilder getMetadataOrBuilder()
Other service-specific data about the request, response, and other
information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
getMethodName()
public 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;
Returns |
Type |
Description |
String |
The methodName.
|
getMethodNameBytes()
public ByteString getMethodNameBytes()
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;
Returns |
Type |
Description |
ByteString |
The bytes for methodName.
|
getNumResponseItems()
public long getNumResponseItems()
The number of items returned from a List or Query API method,
if applicable.
int64 num_response_items = 12;
Returns |
Type |
Description |
long |
The numResponseItems.
|
getParserForType()
public Parser<AuditLog> getParserForType()
Overrides
getRequest()
public 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;
Returns |
Type |
Description |
Struct |
The request.
|
public RequestMetadata getRequestMetadata()
Metadata about the operation.
.google.events.cloud.audit.v1.RequestMetadata request_metadata = 4;
public RequestMetadataOrBuilder getRequestMetadataOrBuilder()
Metadata about the operation.
.google.events.cloud.audit.v1.RequestMetadata request_metadata = 4;
getRequestOrBuilder()
public StructOrBuilder getRequestOrBuilder()
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;
getResourceLocation()
public ResourceLocation getResourceLocation()
The resource location information.
.google.events.cloud.audit.v1.ResourceLocation resource_location = 20;
getResourceLocationOrBuilder()
public ResourceLocationOrBuilder getResourceLocationOrBuilder()
The resource location information.
.google.events.cloud.audit.v1.ResourceLocation resource_location = 20;
getResourceName()
public 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;
Returns |
Type |
Description |
String |
The resourceName.
|
getResourceNameBytes()
public ByteString getResourceNameBytes()
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;
Returns |
Type |
Description |
ByteString |
The bytes for resourceName.
|
getResourceOriginalState()
public Struct getResourceOriginalState()
The resource's original state before mutation. Present only for
operations which have successfully modified the targeted resource(s).
In general, this field should contain all changed fields, except those
that are already been included in request
, response
, metadata
or
service_data
fields.
When the JSON object represented here has a proto equivalent,
the proto name will be indicated in the @type
property.
.google.protobuf.Struct resource_original_state = 19;
Returns |
Type |
Description |
Struct |
The resourceOriginalState.
|
getResourceOriginalStateOrBuilder()
public StructOrBuilder getResourceOriginalStateOrBuilder()
The resource's original state before mutation. Present only for
operations which have successfully modified the targeted resource(s).
In general, this field should contain all changed fields, except those
that are already been included in request
, response
, metadata
or
service_data
fields.
When the JSON object represented here has a proto equivalent,
the proto name will be indicated in the @type
property.
.google.protobuf.Struct resource_original_state = 19;
getResponse()
public 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;
Returns |
Type |
Description |
Struct |
The response.
|
getResponseOrBuilder()
public StructOrBuilder getResponseOrBuilder()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getServiceData()
public Struct getServiceData()
Deprecated: Use metadata
field instead.
Other service-specific data about the request, response, and other
activities.
When the JSON object represented here has a proto equivalent, the proto
name will be indicated in the @type
property.
.google.protobuf.Struct service_data = 15;
Returns |
Type |
Description |
Struct |
The serviceData.
|
getServiceDataOrBuilder()
public StructOrBuilder getServiceDataOrBuilder()
Deprecated: Use metadata
field instead.
Other service-specific data about the request, response, and other
activities.
When the JSON object represented here has a proto equivalent, the proto
name will be indicated in the @type
property.
.google.protobuf.Struct service_data = 15;
getServiceName()
public String getServiceName()
The name of the API service performing the operation. For example,
"datastore.googleapis.com"
.
string service_name = 7;
Returns |
Type |
Description |
String |
The serviceName.
|
getServiceNameBytes()
public ByteString getServiceNameBytes()
The name of the API service performing the operation. For example,
"datastore.googleapis.com"
.
string service_name = 7;
Returns |
Type |
Description |
ByteString |
The bytes for serviceName.
|
getStatus()
public Status getStatus()
The status of the overall operation.
.google.rpc.Status status = 2;
Returns |
Type |
Description |
com.google.rpc.Status |
The status.
|
getStatusOrBuilder()
public StatusOrBuilder getStatusOrBuilder()
The status of the overall operation.
.google.rpc.Status status = 2;
Returns |
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasAuthenticationInfo()
public boolean hasAuthenticationInfo()
Authentication information.
.google.events.cloud.audit.v1.AuthenticationInfo authentication_info = 3;
Returns |
Type |
Description |
boolean |
Whether the authenticationInfo field is set.
|
public boolean hasMetadata()
Other service-specific data about the request, response, and other
information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
Returns |
Type |
Description |
boolean |
Whether the metadata field is set.
|
hasRequest()
public 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;
Returns |
Type |
Description |
boolean |
Whether the request field is set.
|
public boolean hasRequestMetadata()
Metadata about the operation.
.google.events.cloud.audit.v1.RequestMetadata request_metadata = 4;
Returns |
Type |
Description |
boolean |
Whether the requestMetadata field is set.
|
hasResourceLocation()
public boolean hasResourceLocation()
The resource location information.
.google.events.cloud.audit.v1.ResourceLocation resource_location = 20;
Returns |
Type |
Description |
boolean |
Whether the resourceLocation field is set.
|
hasResourceOriginalState()
public boolean hasResourceOriginalState()
The resource's original state before mutation. Present only for
operations which have successfully modified the targeted resource(s).
In general, this field should contain all changed fields, except those
that are already been included in request
, response
, metadata
or
service_data
fields.
When the JSON object represented here has a proto equivalent,
the proto name will be indicated in the @type
property.
.google.protobuf.Struct resource_original_state = 19;
Returns |
Type |
Description |
boolean |
Whether the resourceOriginalState field is set.
|
hasResponse()
public 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;
Returns |
Type |
Description |
boolean |
Whether the response field is set.
|
hasServiceData()
public boolean hasServiceData()
Deprecated: Use metadata
field instead.
Other service-specific data about the request, response, and other
activities.
When the JSON object represented here has a proto equivalent, the proto
name will be indicated in the @type
property.
.google.protobuf.Struct service_data = 15;
Returns |
Type |
Description |
boolean |
Whether the serviceData field is set.
|
hasStatus()
public boolean hasStatus()
The status of the overall operation.
.google.rpc.Status status = 2;
Returns |
Type |
Description |
boolean |
Whether the status field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AuditLog.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AuditLog.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AuditLog.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides