Package com.google.cloud.audit
Class AuditLog
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.audit.AuditLog
-
- All Implemented Interfaces:
AuditLogOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class AuditLog extends com.google.protobuf.GeneratedMessageV3 implements AuditLogOrBuilder
Common audit log format for Google Cloud Platform API operations.
Protobuf typegoogle.cloud.audit.AuditLog- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuditLog.BuilderCommon audit log format for Google Cloud Platform API operations.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTHENTICATION_INFO_FIELD_NUMBERstatic intAUTHORIZATION_INFO_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intMETHOD_NAME_FIELD_NUMBERstatic intNUM_RESPONSE_ITEMS_FIELD_NUMBERstatic intPOLICY_VIOLATION_INFO_FIELD_NUMBERstatic intREQUEST_FIELD_NUMBERstatic intREQUEST_METADATA_FIELD_NUMBERstatic intRESOURCE_LOCATION_FIELD_NUMBERstatic intRESOURCE_NAME_FIELD_NUMBERstatic intRESOURCE_ORIGINAL_STATE_FIELD_NUMBERstatic intRESPONSE_FIELD_NUMBERstatic intSERVICE_DATA_FIELD_NUMBERstatic intSERVICE_NAME_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)AuthenticationInfogetAuthenticationInfo()Authentication information.AuthenticationInfoOrBuildergetAuthenticationInfoOrBuilder()Authentication information.AuthorizationInfogetAuthorizationInfo(int index)Authorization information.intgetAuthorizationInfoCount()Authorization information.List<AuthorizationInfo>getAuthorizationInfoList()Authorization information.AuthorizationInfoOrBuildergetAuthorizationInfoOrBuilder(int index)Authorization information.List<? extends AuthorizationInfoOrBuilder>getAuthorizationInfoOrBuilderList()Authorization information.static AuditLoggetDefaultInstance()AuditLoggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.StructgetMetadata()Other service-specific data about the request, response, and other information associated with the current audited event.com.google.protobuf.StructOrBuildergetMetadataOrBuilder()Other service-specific data about the request, response, and other information associated with the current audited event.StringgetMethodName()The name of the service method or operation.com.google.protobuf.ByteStringgetMethodNameBytes()The name of the service method or operation.longgetNumResponseItems()The number of items returned from a List or Query API method, if applicable.com.google.protobuf.Parser<AuditLog>getParserForType()PolicyViolationInfogetPolicyViolationInfo()Indicates the policy violations for this request.PolicyViolationInfoOrBuildergetPolicyViolationInfoOrBuilder()Indicates the policy violations for this request.com.google.protobuf.StructgetRequest()The operation request.RequestMetadatagetRequestMetadata()Metadata about the operation.RequestMetadataOrBuildergetRequestMetadataOrBuilder()Metadata about the operation.com.google.protobuf.StructOrBuildergetRequestOrBuilder()The operation request.ResourceLocationgetResourceLocation()The resource location information.ResourceLocationOrBuildergetResourceLocationOrBuilder()The resource location information.StringgetResourceName()The resource or collection that is the target of the operation.com.google.protobuf.ByteStringgetResourceNameBytes()The resource or collection that is the target of the operation.com.google.protobuf.StructgetResourceOriginalState()The resource's original state before mutation.com.google.protobuf.StructOrBuildergetResourceOriginalStateOrBuilder()The resource's original state before mutation.com.google.protobuf.StructgetResponse()The operation response.com.google.protobuf.StructOrBuildergetResponseOrBuilder()The operation response.intgetSerializedSize()com.google.protobuf.AnygetServiceData()Deprecated.google.cloud.audit.AuditLog.service_data is deprecated.com.google.protobuf.AnyOrBuildergetServiceDataOrBuilder()Deprecated.StringgetServiceName()The name of the API service performing the operation.com.google.protobuf.ByteStringgetServiceNameBytes()The name of the API service performing the operation.StatusgetStatus()The status of the overall operation.StatusOrBuildergetStatusOrBuilder()The status of the overall operation.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAuthenticationInfo()Authentication information.inthashCode()booleanhasMetadata()Other service-specific data about the request, response, and other information associated with the current audited event.booleanhasPolicyViolationInfo()Indicates the policy violations for this request.booleanhasRequest()The operation request.booleanhasRequestMetadata()Metadata about the operation.booleanhasResourceLocation()The resource location information.booleanhasResourceOriginalState()The resource's original state before mutation.booleanhasResponse()The operation response.booleanhasServiceData()Deprecated.google.cloud.audit.AuditLog.service_data is deprecated.booleanhasStatus()The status of the overall operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AuditLog.BuildernewBuilder()static AuditLog.BuildernewBuilder(AuditLog prototype)AuditLog.BuildernewBuilderForType()protected AuditLog.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AuditLogparseDelimitedFrom(InputStream input)static AuditLogparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AuditLogparseFrom(byte[] data)static AuditLogparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AuditLogparseFrom(com.google.protobuf.ByteString data)static AuditLogparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AuditLogparseFrom(com.google.protobuf.CodedInputStream input)static AuditLogparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AuditLogparseFrom(InputStream input)static AuditLogparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AuditLogparseFrom(ByteBuffer data)static AuditLogparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AuditLog>parser()AuditLog.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METHOD_NAME_FIELD_NUMBER
public static final int METHOD_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_LOCATION_FIELD_NUMBER
public static final int RESOURCE_LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_ORIGINAL_STATE_FIELD_NUMBER
public static final int RESOURCE_ORIGINAL_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUM_RESPONSE_ITEMS_FIELD_NUMBER
public static final int NUM_RESPONSE_ITEMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTHENTICATION_INFO_FIELD_NUMBER
public static final int AUTHENTICATION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTHORIZATION_INFO_FIELD_NUMBER
public static final int AUTHORIZATION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POLICY_VIOLATION_INFO_FIELD_NUMBER
public static final int POLICY_VIOLATION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_METADATA_FIELD_NUMBER
public static final int REQUEST_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_FIELD_NUMBER
public static final int REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSE_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_DATA_FIELD_NUMBER
public static final int SERVICE_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getServiceName
public String getServiceName()
The name of the API service performing the operation. For example, `"compute.googleapis.com"`.
string service_name = 7;- Specified by:
getServiceNamein interfaceAuditLogOrBuilder- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
The name of the API service performing the operation. For example, `"compute.googleapis.com"`.
string service_name = 7;- Specified by:
getServiceNameBytesin interfaceAuditLogOrBuilder- Returns:
- The bytes for serviceName.
-
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.cloud.bigquery.v2.TableService.InsertTable" "google.logging.v2.ConfigServiceV2.CreateSink"string method_name = 8;- Specified by:
getMethodNamein interfaceAuditLogOrBuilder- Returns:
- The methodName.
-
getMethodNameBytes
public com.google.protobuf.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.cloud.bigquery.v2.TableService.InsertTable" "google.logging.v2.ConfigServiceV2.CreateSink"string method_name = 8;- Specified by:
getMethodNameBytesin interfaceAuditLogOrBuilder- Returns:
- The bytes for methodName.
-
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: "projects/PROJECT_ID/zones/us-central1-a/instances" "projects/PROJECT_ID/datasets/DATASET_ID"string resource_name = 11;- Specified by:
getResourceNamein interfaceAuditLogOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.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: "projects/PROJECT_ID/zones/us-central1-a/instances" "projects/PROJECT_ID/datasets/DATASET_ID"string resource_name = 11;- Specified by:
getResourceNameBytesin interfaceAuditLogOrBuilder- Returns:
- The bytes for resourceName.
-
hasResourceLocation
public boolean hasResourceLocation()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;- Specified by:
hasResourceLocationin interfaceAuditLogOrBuilder- Returns:
- Whether the resourceLocation field is set.
-
getResourceLocation
public ResourceLocation getResourceLocation()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;- Specified by:
getResourceLocationin interfaceAuditLogOrBuilder- Returns:
- The resourceLocation.
-
getResourceLocationOrBuilder
public ResourceLocationOrBuilder getResourceLocationOrBuilder()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;- Specified by:
getResourceLocationOrBuilderin interfaceAuditLogOrBuilder
-
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;- Specified by:
hasResourceOriginalStatein interfaceAuditLogOrBuilder- Returns:
- Whether the resourceOriginalState field is set.
-
getResourceOriginalState
public com.google.protobuf.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;- Specified by:
getResourceOriginalStatein interfaceAuditLogOrBuilder- Returns:
- The resourceOriginalState.
-
getResourceOriginalStateOrBuilder
public com.google.protobuf.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;- Specified by:
getResourceOriginalStateOrBuilderin interfaceAuditLogOrBuilder
-
getNumResponseItems
public long getNumResponseItems()
The number of items returned from a List or Query API method, if applicable.
int64 num_response_items = 12;- Specified by:
getNumResponseItemsin interfaceAuditLogOrBuilder- Returns:
- The numResponseItems.
-
hasStatus
public boolean hasStatus()
The status of the overall operation.
.google.rpc.Status status = 2;- Specified by:
hasStatusin interfaceAuditLogOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public Status getStatus()
The status of the overall operation.
.google.rpc.Status status = 2;- Specified by:
getStatusin interfaceAuditLogOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
public StatusOrBuilder getStatusOrBuilder()
The status of the overall operation.
.google.rpc.Status status = 2;- Specified by:
getStatusOrBuilderin interfaceAuditLogOrBuilder
-
hasAuthenticationInfo
public boolean hasAuthenticationInfo()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;- Specified by:
hasAuthenticationInfoin interfaceAuditLogOrBuilder- Returns:
- Whether the authenticationInfo field is set.
-
getAuthenticationInfo
public AuthenticationInfo getAuthenticationInfo()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;- Specified by:
getAuthenticationInfoin interfaceAuditLogOrBuilder- Returns:
- The authenticationInfo.
-
getAuthenticationInfoOrBuilder
public AuthenticationInfoOrBuilder getAuthenticationInfoOrBuilder()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;- Specified by:
getAuthenticationInfoOrBuilderin interfaceAuditLogOrBuilder
-
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.cloud.audit.AuthorizationInfo authorization_info = 9;- Specified by:
getAuthorizationInfoListin interfaceAuditLogOrBuilder
-
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.cloud.audit.AuthorizationInfo authorization_info = 9;- Specified by:
getAuthorizationInfoOrBuilderListin interfaceAuditLogOrBuilder
-
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.cloud.audit.AuthorizationInfo authorization_info = 9;- Specified by:
getAuthorizationInfoCountin interfaceAuditLogOrBuilder
-
getAuthorizationInfo
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.cloud.audit.AuthorizationInfo authorization_info = 9;- Specified by:
getAuthorizationInfoin interfaceAuditLogOrBuilder
-
getAuthorizationInfoOrBuilder
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.cloud.audit.AuthorizationInfo authorization_info = 9;- Specified by:
getAuthorizationInfoOrBuilderin interfaceAuditLogOrBuilder
-
hasPolicyViolationInfo
public boolean hasPolicyViolationInfo()
Indicates the policy violations for this request. If the request is denied by the policy, violation information will be logged here.
.google.cloud.audit.PolicyViolationInfo policy_violation_info = 25;- Specified by:
hasPolicyViolationInfoin interfaceAuditLogOrBuilder- Returns:
- Whether the policyViolationInfo field is set.
-
getPolicyViolationInfo
public PolicyViolationInfo getPolicyViolationInfo()
Indicates the policy violations for this request. If the request is denied by the policy, violation information will be logged here.
.google.cloud.audit.PolicyViolationInfo policy_violation_info = 25;- Specified by:
getPolicyViolationInfoin interfaceAuditLogOrBuilder- Returns:
- The policyViolationInfo.
-
getPolicyViolationInfoOrBuilder
public PolicyViolationInfoOrBuilder getPolicyViolationInfoOrBuilder()
Indicates the policy violations for this request. If the request is denied by the policy, violation information will be logged here.
.google.cloud.audit.PolicyViolationInfo policy_violation_info = 25;- Specified by:
getPolicyViolationInfoOrBuilderin interfaceAuditLogOrBuilder
-
hasRequestMetadata
public boolean hasRequestMetadata()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;- Specified by:
hasRequestMetadatain interfaceAuditLogOrBuilder- Returns:
- Whether the requestMetadata field is set.
-
getRequestMetadata
public RequestMetadata getRequestMetadata()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;- Specified by:
getRequestMetadatain interfaceAuditLogOrBuilder- Returns:
- The requestMetadata.
-
getRequestMetadataOrBuilder
public RequestMetadataOrBuilder getRequestMetadataOrBuilder()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;- Specified by:
getRequestMetadataOrBuilderin interfaceAuditLogOrBuilder
-
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;- Specified by:
hasRequestin interfaceAuditLogOrBuilder- Returns:
- Whether the request field is set.
-
getRequest
public 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;- Specified by:
getRequestin interfaceAuditLogOrBuilder- Returns:
- The request.
-
getRequestOrBuilder
public com.google.protobuf.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;- Specified by:
getRequestOrBuilderin interfaceAuditLogOrBuilder
-
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;- Specified by:
hasResponsein interfaceAuditLogOrBuilder- Returns:
- Whether the response field is set.
-
getResponse
public 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;- Specified by:
getResponsein interfaceAuditLogOrBuilder- Returns:
- The response.
-
getResponseOrBuilder
public com.google.protobuf.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;- Specified by:
getResponseOrBuilderin interfaceAuditLogOrBuilder
-
hasMetadata
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;- Specified by:
hasMetadatain interfaceAuditLogOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public com.google.protobuf.Struct getMetadata()
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;- Specified by:
getMetadatain interfaceAuditLogOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;- Specified by:
getMetadataOrBuilderin interfaceAuditLogOrBuilder
-
hasServiceData
@Deprecated public boolean hasServiceData()
Deprecated.google.cloud.audit.AuditLog.service_data is deprecated. See google/cloud/audit/audit_log.proto;l=110Deprecated. Use the `metadata` field instead. Other service-specific data about the request, response, and other activities.
.google.protobuf.Any service_data = 15 [deprecated = true];- Specified by:
hasServiceDatain interfaceAuditLogOrBuilder- Returns:
- Whether the serviceData field is set.
-
getServiceData
@Deprecated public com.google.protobuf.Any getServiceData()
Deprecated.google.cloud.audit.AuditLog.service_data is deprecated. See google/cloud/audit/audit_log.proto;l=110Deprecated. Use the `metadata` field instead. Other service-specific data about the request, response, and other activities.
.google.protobuf.Any service_data = 15 [deprecated = true];- Specified by:
getServiceDatain interfaceAuditLogOrBuilder- Returns:
- The serviceData.
-
getServiceDataOrBuilder
@Deprecated public com.google.protobuf.AnyOrBuilder getServiceDataOrBuilder()
Deprecated.Deprecated. Use the `metadata` field instead. Other service-specific data about the request, response, and other activities.
.google.protobuf.Any service_data = 15 [deprecated = true];- Specified by:
getServiceDataOrBuilderin interfaceAuditLogOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AuditLog parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuditLog parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuditLog parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuditLog parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuditLog parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuditLog parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuditLog parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AuditLog parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AuditLog parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AuditLog parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AuditLog parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AuditLog parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AuditLog.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AuditLog.Builder newBuilder()
-
newBuilder
public static AuditLog.Builder newBuilder(AuditLog prototype)
-
toBuilder
public AuditLog.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AuditLog.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AuditLog getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AuditLog> parser()
-
getParserForType
public com.google.protobuf.Parser<AuditLog> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AuditLog getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-