Package com.google.cloud.audit
Class AuditLog.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
- com.google.cloud.audit.AuditLog.Builder
-
- All Implemented Interfaces:
AuditLogOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AuditLog
public static final class AuditLog.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder> implements AuditLogOrBuilder
Common audit log format for Google Cloud Platform API operations.
Protobuf typegoogle.cloud.audit.AuditLog
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuditLog.BuilderaddAllAuthorizationInfo(Iterable<? extends AuthorizationInfo> values)Authorization information.AuditLog.BuilderaddAuthorizationInfo(int index, AuthorizationInfo value)Authorization information.AuditLog.BuilderaddAuthorizationInfo(int index, AuthorizationInfo.Builder builderForValue)Authorization information.AuditLog.BuilderaddAuthorizationInfo(AuthorizationInfo value)Authorization information.AuditLog.BuilderaddAuthorizationInfo(AuthorizationInfo.Builder builderForValue)Authorization information.AuthorizationInfo.BuilderaddAuthorizationInfoBuilder()Authorization information.AuthorizationInfo.BuilderaddAuthorizationInfoBuilder(int index)Authorization information.AuditLog.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AuditLogbuild()AuditLogbuildPartial()AuditLog.Builderclear()AuditLog.BuilderclearAuthenticationInfo()Authentication information.AuditLog.BuilderclearAuthorizationInfo()Authorization information.AuditLog.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AuditLog.BuilderclearMetadata()Other service-specific data about the request, response, and other information associated with the current audited event.AuditLog.BuilderclearMethodName()The name of the service method or operation.AuditLog.BuilderclearNumResponseItems()The number of items returned from a List or Query API method, if applicable.AuditLog.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AuditLog.BuilderclearPolicyViolationInfo()Indicates the policy violations for this request.AuditLog.BuilderclearRequest()The operation request.AuditLog.BuilderclearRequestMetadata()Metadata about the operation.AuditLog.BuilderclearResourceLocation()The resource location information.AuditLog.BuilderclearResourceName()The resource or collection that is the target of the operation.AuditLog.BuilderclearResourceOriginalState()The resource's original state before mutation.AuditLog.BuilderclearResponse()The operation response.AuditLog.BuilderclearServiceData()Deprecated.AuditLog.BuilderclearServiceName()The name of the API service performing the operation.AuditLog.BuilderclearStatus()The status of the overall operation.AuditLog.Builderclone()AuthenticationInfogetAuthenticationInfo()Authentication information.AuthenticationInfo.BuildergetAuthenticationInfoBuilder()Authentication information.AuthenticationInfoOrBuildergetAuthenticationInfoOrBuilder()Authentication information.AuthorizationInfogetAuthorizationInfo(int index)Authorization information.AuthorizationInfo.BuildergetAuthorizationInfoBuilder(int index)Authorization information.List<AuthorizationInfo.Builder>getAuthorizationInfoBuilderList()Authorization information.intgetAuthorizationInfoCount()Authorization information.List<AuthorizationInfo>getAuthorizationInfoList()Authorization information.AuthorizationInfoOrBuildergetAuthorizationInfoOrBuilder(int index)Authorization information.List<? extends AuthorizationInfoOrBuilder>getAuthorizationInfoOrBuilderList()Authorization information.AuditLoggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.StructgetMetadata()Other service-specific data about the request, response, and other information associated with the current audited event.com.google.protobuf.Struct.BuildergetMetadataBuilder()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.PolicyViolationInfogetPolicyViolationInfo()Indicates the policy violations for this request.PolicyViolationInfo.BuildergetPolicyViolationInfoBuilder()Indicates the policy violations for this request.PolicyViolationInfoOrBuildergetPolicyViolationInfoOrBuilder()Indicates the policy violations for this request.com.google.protobuf.StructgetRequest()The operation request.com.google.protobuf.Struct.BuildergetRequestBuilder()The operation request.RequestMetadatagetRequestMetadata()Metadata about the operation.RequestMetadata.BuildergetRequestMetadataBuilder()Metadata about the operation.RequestMetadataOrBuildergetRequestMetadataOrBuilder()Metadata about the operation.com.google.protobuf.StructOrBuildergetRequestOrBuilder()The operation request.ResourceLocationgetResourceLocation()The resource location information.ResourceLocation.BuildergetResourceLocationBuilder()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.Struct.BuildergetResourceOriginalStateBuilder()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.Struct.BuildergetResponseBuilder()The operation response.com.google.protobuf.StructOrBuildergetResponseOrBuilder()The operation response.com.google.protobuf.AnygetServiceData()Deprecated.google.cloud.audit.AuditLog.service_data is deprecated.com.google.protobuf.Any.BuildergetServiceDataBuilder()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.Status.BuildergetStatusBuilder()The status of the overall operation.StatusOrBuildergetStatusOrBuilder()The status of the overall operation.booleanhasAuthenticationInfo()Authentication information.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()AuditLog.BuildermergeAuthenticationInfo(AuthenticationInfo value)Authentication information.AuditLog.BuildermergeFrom(AuditLog other)AuditLog.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AuditLog.BuildermergeFrom(com.google.protobuf.Message other)AuditLog.BuildermergeMetadata(com.google.protobuf.Struct value)Other service-specific data about the request, response, and other information associated with the current audited event.AuditLog.BuildermergePolicyViolationInfo(PolicyViolationInfo value)Indicates the policy violations for this request.AuditLog.BuildermergeRequest(com.google.protobuf.Struct value)The operation request.AuditLog.BuildermergeRequestMetadata(RequestMetadata value)Metadata about the operation.AuditLog.BuildermergeResourceLocation(ResourceLocation value)The resource location information.AuditLog.BuildermergeResourceOriginalState(com.google.protobuf.Struct value)The resource's original state before mutation.AuditLog.BuildermergeResponse(com.google.protobuf.Struct value)The operation response.AuditLog.BuildermergeServiceData(com.google.protobuf.Any value)Deprecated.AuditLog.BuildermergeStatus(Status value)The status of the overall operation.AuditLog.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AuditLog.BuilderremoveAuthorizationInfo(int index)Authorization information.AuditLog.BuildersetAuthenticationInfo(AuthenticationInfo value)Authentication information.AuditLog.BuildersetAuthenticationInfo(AuthenticationInfo.Builder builderForValue)Authentication information.AuditLog.BuildersetAuthorizationInfo(int index, AuthorizationInfo value)Authorization information.AuditLog.BuildersetAuthorizationInfo(int index, AuthorizationInfo.Builder builderForValue)Authorization information.AuditLog.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AuditLog.BuildersetMetadata(com.google.protobuf.Struct value)Other service-specific data about the request, response, and other information associated with the current audited event.AuditLog.BuildersetMetadata(com.google.protobuf.Struct.Builder builderForValue)Other service-specific data about the request, response, and other information associated with the current audited event.AuditLog.BuildersetMethodName(String value)The name of the service method or operation.AuditLog.BuildersetMethodNameBytes(com.google.protobuf.ByteString value)The name of the service method or operation.AuditLog.BuildersetNumResponseItems(long value)The number of items returned from a List or Query API method, if applicable.AuditLog.BuildersetPolicyViolationInfo(PolicyViolationInfo value)Indicates the policy violations for this request.AuditLog.BuildersetPolicyViolationInfo(PolicyViolationInfo.Builder builderForValue)Indicates the policy violations for this request.AuditLog.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AuditLog.BuildersetRequest(com.google.protobuf.Struct value)The operation request.AuditLog.BuildersetRequest(com.google.protobuf.Struct.Builder builderForValue)The operation request.AuditLog.BuildersetRequestMetadata(RequestMetadata value)Metadata about the operation.AuditLog.BuildersetRequestMetadata(RequestMetadata.Builder builderForValue)Metadata about the operation.AuditLog.BuildersetResourceLocation(ResourceLocation value)The resource location information.AuditLog.BuildersetResourceLocation(ResourceLocation.Builder builderForValue)The resource location information.AuditLog.BuildersetResourceName(String value)The resource or collection that is the target of the operation.AuditLog.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)The resource or collection that is the target of the operation.AuditLog.BuildersetResourceOriginalState(com.google.protobuf.Struct value)The resource's original state before mutation.AuditLog.BuildersetResourceOriginalState(com.google.protobuf.Struct.Builder builderForValue)The resource's original state before mutation.AuditLog.BuildersetResponse(com.google.protobuf.Struct value)The operation response.AuditLog.BuildersetResponse(com.google.protobuf.Struct.Builder builderForValue)The operation response.AuditLog.BuildersetServiceData(com.google.protobuf.Any value)Deprecated.AuditLog.BuildersetServiceData(com.google.protobuf.Any.Builder builderForValue)Deprecated.AuditLog.BuildersetServiceName(String value)The name of the API service performing the operation.AuditLog.BuildersetServiceNameBytes(com.google.protobuf.ByteString value)The name of the API service performing the operation.AuditLog.BuildersetStatus(Status value)The status of the overall operation.AuditLog.BuildersetStatus(Status.Builder builderForValue)The status of the overall operation.AuditLog.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<AuditLog.Builder>
-
clear
public AuditLog.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
getDefaultInstanceForType
public AuditLog getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AuditLog build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AuditLog buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AuditLog.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
setField
public AuditLog.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
clearField
public AuditLog.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
clearOneof
public AuditLog.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
setRepeatedField
public AuditLog.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
addRepeatedField
public AuditLog.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
mergeFrom
public AuditLog.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuditLog.Builder>
-
mergeFrom
public AuditLog.Builder mergeFrom(AuditLog other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
mergeFrom
public AuditLog.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuditLog.Builder>- Throws:
IOException
-
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.
-
setServiceName
public AuditLog.Builder setServiceName(String value)
The name of the API service performing the operation. For example, `"compute.googleapis.com"`.
string service_name = 7;- Parameters:
value- The serviceName to set.- Returns:
- This builder for chaining.
-
clearServiceName
public AuditLog.Builder clearServiceName()
The name of the API service performing the operation. For example, `"compute.googleapis.com"`.
string service_name = 7;- Returns:
- This builder for chaining.
-
setServiceNameBytes
public AuditLog.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
The name of the API service performing the operation. For example, `"compute.googleapis.com"`.
string service_name = 7;- Parameters:
value- The bytes for serviceName to set.- Returns:
- This builder for chaining.
-
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.
-
setMethodName
public AuditLog.Builder setMethodName(String value)
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;- Parameters:
value- The methodName to set.- Returns:
- This builder for chaining.
-
clearMethodName
public AuditLog.Builder clearMethodName()
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;- Returns:
- This builder for chaining.
-
setMethodNameBytes
public AuditLog.Builder setMethodNameBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for methodName to set.- Returns:
- This builder for chaining.
-
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.
-
setResourceName
public AuditLog.Builder setResourceName(String value)
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;- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
public AuditLog.Builder clearResourceName()
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;- Returns:
- This builder for chaining.
-
setResourceNameBytes
public AuditLog.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
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.
-
setResourceLocation
public AuditLog.Builder setResourceLocation(ResourceLocation value)
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
-
setResourceLocation
public AuditLog.Builder setResourceLocation(ResourceLocation.Builder builderForValue)
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
-
mergeResourceLocation
public AuditLog.Builder mergeResourceLocation(ResourceLocation value)
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
-
clearResourceLocation
public AuditLog.Builder clearResourceLocation()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
-
getResourceLocationBuilder
public ResourceLocation.Builder getResourceLocationBuilder()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
-
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.
-
setResourceOriginalState
public AuditLog.Builder setResourceOriginalState(com.google.protobuf.Struct value)
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;
-
setResourceOriginalState
public AuditLog.Builder setResourceOriginalState(com.google.protobuf.Struct.Builder builderForValue)
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;
-
mergeResourceOriginalState
public AuditLog.Builder mergeResourceOriginalState(com.google.protobuf.Struct value)
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;
-
clearResourceOriginalState
public AuditLog.Builder clearResourceOriginalState()
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;
-
getResourceOriginalStateBuilder
public com.google.protobuf.Struct.Builder getResourceOriginalStateBuilder()
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;
-
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.
-
setNumResponseItems
public AuditLog.Builder setNumResponseItems(long value)
The number of items returned from a List or Query API method, if applicable.
int64 num_response_items = 12;- Parameters:
value- The numResponseItems to set.- Returns:
- This builder for chaining.
-
clearNumResponseItems
public AuditLog.Builder clearNumResponseItems()
The number of items returned from a List or Query API method, if applicable.
int64 num_response_items = 12;- Returns:
- This builder for chaining.
-
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.
-
setStatus
public AuditLog.Builder setStatus(Status value)
The status of the overall operation.
.google.rpc.Status status = 2;
-
setStatus
public AuditLog.Builder setStatus(Status.Builder builderForValue)
The status of the overall operation.
.google.rpc.Status status = 2;
-
mergeStatus
public AuditLog.Builder mergeStatus(Status value)
The status of the overall operation.
.google.rpc.Status status = 2;
-
clearStatus
public AuditLog.Builder clearStatus()
The status of the overall operation.
.google.rpc.Status status = 2;
-
getStatusBuilder
public Status.Builder getStatusBuilder()
The status of the overall operation.
.google.rpc.Status status = 2;
-
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.
-
setAuthenticationInfo
public AuditLog.Builder setAuthenticationInfo(AuthenticationInfo value)
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
-
setAuthenticationInfo
public AuditLog.Builder setAuthenticationInfo(AuthenticationInfo.Builder builderForValue)
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
-
mergeAuthenticationInfo
public AuditLog.Builder mergeAuthenticationInfo(AuthenticationInfo value)
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
-
clearAuthenticationInfo
public AuditLog.Builder clearAuthenticationInfo()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
-
getAuthenticationInfoBuilder
public AuthenticationInfo.Builder getAuthenticationInfoBuilder()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
-
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
-
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
-
setAuthorizationInfo
public AuditLog.Builder setAuthorizationInfo(int index, AuthorizationInfo value)
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;
-
setAuthorizationInfo
public AuditLog.Builder setAuthorizationInfo(int index, AuthorizationInfo.Builder builderForValue)
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;
-
addAuthorizationInfo
public AuditLog.Builder addAuthorizationInfo(AuthorizationInfo value)
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;
-
addAuthorizationInfo
public AuditLog.Builder addAuthorizationInfo(int index, AuthorizationInfo value)
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;
-
addAuthorizationInfo
public AuditLog.Builder addAuthorizationInfo(AuthorizationInfo.Builder builderForValue)
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;
-
addAuthorizationInfo
public AuditLog.Builder addAuthorizationInfo(int index, AuthorizationInfo.Builder builderForValue)
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;
-
addAllAuthorizationInfo
public AuditLog.Builder addAllAuthorizationInfo(Iterable<? extends AuthorizationInfo> values)
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;
-
clearAuthorizationInfo
public AuditLog.Builder clearAuthorizationInfo()
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;
-
removeAuthorizationInfo
public AuditLog.Builder removeAuthorizationInfo(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;
-
getAuthorizationInfoBuilder
public AuthorizationInfo.Builder getAuthorizationInfoBuilder(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;
-
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
-
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
-
addAuthorizationInfoBuilder
public AuthorizationInfo.Builder addAuthorizationInfoBuilder()
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;
-
addAuthorizationInfoBuilder
public AuthorizationInfo.Builder addAuthorizationInfoBuilder(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;
-
getAuthorizationInfoBuilderList
public List<AuthorizationInfo.Builder> getAuthorizationInfoBuilderList()
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;
-
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.
-
setPolicyViolationInfo
public AuditLog.Builder setPolicyViolationInfo(PolicyViolationInfo value)
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;
-
setPolicyViolationInfo
public AuditLog.Builder setPolicyViolationInfo(PolicyViolationInfo.Builder builderForValue)
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;
-
mergePolicyViolationInfo
public AuditLog.Builder mergePolicyViolationInfo(PolicyViolationInfo value)
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;
-
clearPolicyViolationInfo
public AuditLog.Builder clearPolicyViolationInfo()
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;
-
getPolicyViolationInfoBuilder
public PolicyViolationInfo.Builder getPolicyViolationInfoBuilder()
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;
-
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.
-
setRequestMetadata
public AuditLog.Builder setRequestMetadata(RequestMetadata value)
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
-
setRequestMetadata
public AuditLog.Builder setRequestMetadata(RequestMetadata.Builder builderForValue)
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
-
mergeRequestMetadata
public AuditLog.Builder mergeRequestMetadata(RequestMetadata value)
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
-
clearRequestMetadata
public AuditLog.Builder clearRequestMetadata()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
-
getRequestMetadataBuilder
public RequestMetadata.Builder getRequestMetadataBuilder()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
-
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.
-
setRequest
public AuditLog.Builder setRequest(com.google.protobuf.Struct value)
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;
-
setRequest
public AuditLog.Builder setRequest(com.google.protobuf.Struct.Builder builderForValue)
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;
-
mergeRequest
public AuditLog.Builder mergeRequest(com.google.protobuf.Struct value)
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;
-
clearRequest
public AuditLog.Builder clearRequest()
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;
-
getRequestBuilder
public com.google.protobuf.Struct.Builder getRequestBuilder()
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;
-
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.
-
setResponse
public AuditLog.Builder setResponse(com.google.protobuf.Struct value)
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;
-
setResponse
public AuditLog.Builder setResponse(com.google.protobuf.Struct.Builder builderForValue)
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;
-
mergeResponse
public AuditLog.Builder mergeResponse(com.google.protobuf.Struct value)
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;
-
clearResponse
public AuditLog.Builder clearResponse()
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;
-
getResponseBuilder
public com.google.protobuf.Struct.Builder getResponseBuilder()
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;
-
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.
-
setMetadata
public AuditLog.Builder setMetadata(com.google.protobuf.Struct value)
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
-
setMetadata
public AuditLog.Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue)
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
-
mergeMetadata
public AuditLog.Builder mergeMetadata(com.google.protobuf.Struct value)
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
-
clearMetadata
public AuditLog.Builder clearMetadata()
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
-
getMetadataBuilder
public com.google.protobuf.Struct.Builder getMetadataBuilder()
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
-
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.
-
setServiceData
@Deprecated public AuditLog.Builder setServiceData(com.google.protobuf.Any value)
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];
-
setServiceData
@Deprecated public AuditLog.Builder setServiceData(com.google.protobuf.Any.Builder builderForValue)
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];
-
mergeServiceData
@Deprecated public AuditLog.Builder mergeServiceData(com.google.protobuf.Any value)
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];
-
clearServiceData
@Deprecated public AuditLog.Builder clearServiceData()
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];
-
getServiceDataBuilder
@Deprecated public com.google.protobuf.Any.Builder getServiceDataBuilder()
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];
-
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
-
setUnknownFields
public final AuditLog.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
mergeUnknownFields
public final AuditLog.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
-