Package com.google.cloud.audit
Class AuditLog.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 type
google.cloud.audit.AuditLog
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAuthorizationInfo
(Iterable<? extends AuthorizationInfo> values) Authorization information.addAuthorizationInfo
(int index, AuthorizationInfo value) Authorization information.addAuthorizationInfo
(int index, AuthorizationInfo.Builder builderForValue) Authorization information.Authorization information.addAuthorizationInfo
(AuthorizationInfo.Builder builderForValue) Authorization information.Authorization information.addAuthorizationInfoBuilder
(int index) Authorization information.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Authentication information.Authorization information.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Other service-specific data about the request, response, and other information associated with the current audited event.The name of the service method or operation.The number of items returned from a List or Query API method, if applicable.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Indicates the policy violations for this request.The operation request.Metadata about the operation.The resource location information.The resource or collection that is the target of the operation.The resource's original state before mutation.The operation response.Deprecated.The name of the API service performing the operation.The status of the overall operation.clone()
Authentication information.Authentication information.Authentication information.getAuthorizationInfo
(int index) Authorization information.getAuthorizationInfoBuilder
(int index) Authorization information.Authorization information.int
Authorization information.Authorization information.getAuthorizationInfoOrBuilder
(int index) Authorization information.List<? extends AuthorizationInfoOrBuilder>
Authorization information.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Struct
Other service-specific data about the request, response, and other information associated with the current audited event.com.google.protobuf.Struct.Builder
Other service-specific data about the request, response, and other information associated with the current audited event.com.google.protobuf.StructOrBuilder
Other service-specific data about the request, response, and other information associated with the current audited event.The name of the service method or operation.com.google.protobuf.ByteString
The name of the service method or operation.long
The number of items returned from a List or Query API method, if applicable.Indicates the policy violations for this request.Indicates the policy violations for this request.Indicates the policy violations for this request.com.google.protobuf.Struct
The operation request.com.google.protobuf.Struct.Builder
The operation request.Metadata about the operation.Metadata about the operation.Metadata about the operation.com.google.protobuf.StructOrBuilder
The operation request.The resource location information.The resource location information.The resource location information.The resource or collection that is the target of the operation.com.google.protobuf.ByteString
The resource or collection that is the target of the operation.com.google.protobuf.Struct
The resource's original state before mutation.com.google.protobuf.Struct.Builder
The resource's original state before mutation.com.google.protobuf.StructOrBuilder
The resource's original state before mutation.com.google.protobuf.Struct
The operation response.com.google.protobuf.Struct.Builder
The operation response.com.google.protobuf.StructOrBuilder
The operation response.com.google.protobuf.Any
Deprecated.google.cloud.audit.AuditLog.service_data is deprecated.com.google.protobuf.Any.Builder
Deprecated.com.google.protobuf.AnyOrBuilder
Deprecated.The name of the API service performing the operation.com.google.protobuf.ByteString
The name of the API service performing the operation.The status of the overall operation.The status of the overall operation.The status of the overall operation.boolean
Authentication information.boolean
Other service-specific data about the request, response, and other information associated with the current audited event.boolean
Indicates the policy violations for this request.boolean
The operation request.boolean
Metadata about the operation.boolean
The resource location information.boolean
The resource's original state before mutation.boolean
The operation response.boolean
Deprecated.google.cloud.audit.AuditLog.service_data is deprecated.boolean
The status of the overall operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
Authentication information.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeMetadata
(com.google.protobuf.Struct value) Other service-specific data about the request, response, and other information associated with the current audited event.Indicates the policy violations for this request.mergeRequest
(com.google.protobuf.Struct value) The operation request.Metadata about the operation.The resource location information.mergeResourceOriginalState
(com.google.protobuf.Struct value) The resource's original state before mutation.mergeResponse
(com.google.protobuf.Struct value) The operation response.mergeServiceData
(com.google.protobuf.Any value) Deprecated.mergeStatus
(Status value) The status of the overall operation.final AuditLog.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeAuthorizationInfo
(int index) Authorization information.Authentication information.setAuthenticationInfo
(AuthenticationInfo.Builder builderForValue) Authentication information.setAuthorizationInfo
(int index, AuthorizationInfo value) Authorization information.setAuthorizationInfo
(int index, AuthorizationInfo.Builder builderForValue) Authorization information.setMetadata
(com.google.protobuf.Struct value) Other service-specific data about the request, response, and other information associated with the current audited event.setMetadata
(com.google.protobuf.Struct.Builder builderForValue) Other service-specific data about the request, response, and other information associated with the current audited event.setMethodName
(String value) The name of the service method or operation.setMethodNameBytes
(com.google.protobuf.ByteString value) The name of the service method or operation.setNumResponseItems
(long value) The number of items returned from a List or Query API method, if applicable.Indicates the policy violations for this request.setPolicyViolationInfo
(PolicyViolationInfo.Builder builderForValue) Indicates the policy violations for this request.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequest
(com.google.protobuf.Struct value) The operation request.setRequest
(com.google.protobuf.Struct.Builder builderForValue) The operation request.Metadata about the operation.setRequestMetadata
(RequestMetadata.Builder builderForValue) Metadata about the operation.The resource location information.setResourceLocation
(ResourceLocation.Builder builderForValue) The resource location information.setResourceName
(String value) The resource or collection that is the target of the operation.setResourceNameBytes
(com.google.protobuf.ByteString value) The resource or collection that is the target of the operation.setResourceOriginalState
(com.google.protobuf.Struct value) The resource's original state before mutation.setResourceOriginalState
(com.google.protobuf.Struct.Builder builderForValue) The resource's original state before mutation.setResponse
(com.google.protobuf.Struct value) The operation response.setResponse
(com.google.protobuf.Struct.Builder builderForValue) The operation response.setServiceData
(com.google.protobuf.Any value) Deprecated.setServiceData
(com.google.protobuf.Any.Builder builderForValue) Deprecated.setServiceName
(String value) The name of the API service performing the operation.setServiceNameBytes
(com.google.protobuf.ByteString value) The name of the API service performing the operation.The status of the overall operation.setStatus
(Status.Builder builderForValue) The status of the overall operation.final AuditLog.Builder
setUnknownFields
(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
setField
public AuditLog.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
setRepeatedField
public AuditLog.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
addRepeatedField
public AuditLog.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AuditLog.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AuditLog.Builder>
- Throws:
IOException
-
getServiceName
The name of the API service performing the operation. For example, `"compute.googleapis.com"`.
string service_name = 7;
- Specified by:
getServiceName
in 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:
getServiceNameBytes
in interfaceAuditLogOrBuilder
- Returns:
- The bytes for serviceName.
-
setServiceName
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
The name of the API service performing the operation. For example, `"compute.googleapis.com"`.
string service_name = 7;
- Returns:
- This builder for chaining.
-
setServiceNameBytes
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
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:
getMethodName
in 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:
getMethodNameBytes
in interfaceAuditLogOrBuilder
- Returns:
- The bytes for methodName.
-
setMethodName
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
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
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
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:
getResourceName
in 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:
getResourceNameBytes
in interfaceAuditLogOrBuilder
- Returns:
- The bytes for resourceName.
-
setResourceName
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
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
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:
hasResourceLocation
in interfaceAuditLogOrBuilder
- Returns:
- Whether the resourceLocation field is set.
-
getResourceLocation
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
- Specified by:
getResourceLocation
in interfaceAuditLogOrBuilder
- Returns:
- The resourceLocation.
-
setResourceLocation
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
-
setResourceLocation
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
-
mergeResourceLocation
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
-
clearResourceLocation
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
-
getResourceLocationBuilder
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
-
getResourceLocationOrBuilder
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
- Specified by:
getResourceLocationOrBuilder
in 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:
hasResourceOriginalState
in 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:
getResourceOriginalState
in interfaceAuditLogOrBuilder
- Returns:
- The resourceOriginalState.
-
setResourceOriginalState
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
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
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:
getResourceOriginalStateOrBuilder
in 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:
getNumResponseItems
in interfaceAuditLogOrBuilder
- Returns:
- The numResponseItems.
-
setNumResponseItems
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
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:
hasStatus
in interfaceAuditLogOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
The status of the overall operation.
.google.rpc.Status status = 2;
- Specified by:
getStatus
in interfaceAuditLogOrBuilder
- Returns:
- The status.
-
setStatus
The status of the overall operation.
.google.rpc.Status status = 2;
-
setStatus
The status of the overall operation.
.google.rpc.Status status = 2;
-
mergeStatus
The status of the overall operation.
.google.rpc.Status status = 2;
-
clearStatus
The status of the overall operation.
.google.rpc.Status status = 2;
-
getStatusBuilder
The status of the overall operation.
.google.rpc.Status status = 2;
-
getStatusOrBuilder
The status of the overall operation.
.google.rpc.Status status = 2;
- Specified by:
getStatusOrBuilder
in interfaceAuditLogOrBuilder
-
hasAuthenticationInfo
public boolean hasAuthenticationInfo()Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
- Specified by:
hasAuthenticationInfo
in interfaceAuditLogOrBuilder
- Returns:
- Whether the authenticationInfo field is set.
-
getAuthenticationInfo
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
- Specified by:
getAuthenticationInfo
in interfaceAuditLogOrBuilder
- Returns:
- The authenticationInfo.
-
setAuthenticationInfo
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
-
setAuthenticationInfo
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
-
mergeAuthenticationInfo
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
-
clearAuthenticationInfo
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
-
getAuthenticationInfoBuilder
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
-
getAuthenticationInfoOrBuilder
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
- Specified by:
getAuthenticationInfoOrBuilder
in interfaceAuditLogOrBuilder
-
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:
getAuthorizationInfoList
in 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:
getAuthorizationInfoCount
in interfaceAuditLogOrBuilder
-
getAuthorizationInfo
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:
getAuthorizationInfo
in interfaceAuditLogOrBuilder
-
setAuthorizationInfo
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
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
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
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
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
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
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
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
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
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
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:
getAuthorizationInfoOrBuilder
in interfaceAuditLogOrBuilder
-
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:
getAuthorizationInfoOrBuilderList
in interfaceAuditLogOrBuilder
-
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
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
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:
hasPolicyViolationInfo
in interfaceAuditLogOrBuilder
- Returns:
- Whether the policyViolationInfo field is set.
-
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:
getPolicyViolationInfo
in interfaceAuditLogOrBuilder
- Returns:
- The policyViolationInfo.
-
setPolicyViolationInfo
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
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
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
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
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
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:
getPolicyViolationInfoOrBuilder
in interfaceAuditLogOrBuilder
-
hasRequestMetadata
public boolean hasRequestMetadata()Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
- Specified by:
hasRequestMetadata
in interfaceAuditLogOrBuilder
- Returns:
- Whether the requestMetadata field is set.
-
getRequestMetadata
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
- Specified by:
getRequestMetadata
in interfaceAuditLogOrBuilder
- Returns:
- The requestMetadata.
-
setRequestMetadata
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
-
setRequestMetadata
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
-
mergeRequestMetadata
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
-
clearRequestMetadata
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
-
getRequestMetadataBuilder
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
-
getRequestMetadataOrBuilder
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
- Specified by:
getRequestMetadataOrBuilder
in 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:
hasRequest
in 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:
getRequest
in interfaceAuditLogOrBuilder
- Returns:
- The request.
-
setRequest
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
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
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
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:
getRequestOrBuilder
in 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:
hasResponse
in 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:
getResponse
in interfaceAuditLogOrBuilder
- Returns:
- The response.
-
setResponse
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
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
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
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:
getResponseOrBuilder
in 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:
hasMetadata
in 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:
getMetadata
in interfaceAuditLogOrBuilder
- Returns:
- The metadata.
-
setMetadata
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
-
setMetadata
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
-
mergeMetadata
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
-
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:
getMetadataOrBuilder
in interfaceAuditLogOrBuilder
-
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:
hasServiceData
in interfaceAuditLogOrBuilder
- Returns:
- Whether the serviceData field is set.
-
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:
getServiceData
in interfaceAuditLogOrBuilder
- Returns:
- The serviceData.
-
setServiceData
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.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.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.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.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.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:
getServiceDataOrBuilder
in interfaceAuditLogOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-