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.GeneratedMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
- com.google.cloud.audit.AuditLog.Builder
-
- All Implemented Interfaces:
AuditLogOrBuilder
,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.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.Builder
addAllAuthorizationInfo(java.lang.Iterable<? extends AuthorizationInfo> values)
Authorization information.AuditLog.Builder
addAuthorizationInfo(int index, AuthorizationInfo value)
Authorization information.AuditLog.Builder
addAuthorizationInfo(int index, AuthorizationInfo.Builder builderForValue)
Authorization information.AuditLog.Builder
addAuthorizationInfo(AuthorizationInfo value)
Authorization information.AuditLog.Builder
addAuthorizationInfo(AuthorizationInfo.Builder builderForValue)
Authorization information.AuthorizationInfo.Builder
addAuthorizationInfoBuilder()
Authorization information.AuthorizationInfo.Builder
addAuthorizationInfoBuilder(int index)
Authorization information.AuditLog.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AuditLog
build()
AuditLog
buildPartial()
AuditLog.Builder
clear()
AuditLog.Builder
clearAuthenticationInfo()
Authentication information.AuditLog.Builder
clearAuthorizationInfo()
Authorization information.AuditLog.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AuditLog.Builder
clearMetadata()
Other service-specific data about the request, response, and other information associated with the current audited event.AuditLog.Builder
clearMethodName()
The name of the service method or operation.AuditLog.Builder
clearNumResponseItems()
The number of items returned from a List or Query API method, if applicable.AuditLog.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AuditLog.Builder
clearPolicyViolationInfo()
Indicates the policy violations for this request.AuditLog.Builder
clearRequest()
The operation request.AuditLog.Builder
clearRequestMetadata()
Metadata about the operation.AuditLog.Builder
clearResourceLocation()
The resource location information.AuditLog.Builder
clearResourceName()
The resource or collection that is the target of the operation.AuditLog.Builder
clearResourceOriginalState()
The resource's original state before mutation.AuditLog.Builder
clearResponse()
The operation response.AuditLog.Builder
clearServiceData()
Deprecated.AuditLog.Builder
clearServiceName()
The name of the API service performing the operation.AuditLog.Builder
clearStatus()
The status of the overall operation.AuditLog.Builder
clone()
AuthenticationInfo
getAuthenticationInfo()
Authentication information.AuthenticationInfo.Builder
getAuthenticationInfoBuilder()
Authentication information.AuthenticationInfoOrBuilder
getAuthenticationInfoOrBuilder()
Authentication information.AuthorizationInfo
getAuthorizationInfo(int index)
Authorization information.AuthorizationInfo.Builder
getAuthorizationInfoBuilder(int index)
Authorization information.java.util.List<AuthorizationInfo.Builder>
getAuthorizationInfoBuilderList()
Authorization information.int
getAuthorizationInfoCount()
Authorization information.java.util.List<AuthorizationInfo>
getAuthorizationInfoList()
Authorization information.AuthorizationInfoOrBuilder
getAuthorizationInfoOrBuilder(int index)
Authorization information.java.util.List<? extends AuthorizationInfoOrBuilder>
getAuthorizationInfoOrBuilderList()
Authorization information.AuditLog
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Struct
getMetadata()
Other service-specific data about the request, response, and other information associated with the current audited event.com.google.protobuf.Struct.Builder
getMetadataBuilder()
Other service-specific data about the request, response, and other information associated with the current audited event.com.google.protobuf.StructOrBuilder
getMetadataOrBuilder()
Other service-specific data about the request, response, and other information associated with the current audited event.java.lang.String
getMethodName()
The name of the service method or operation.com.google.protobuf.ByteString
getMethodNameBytes()
The name of the service method or operation.long
getNumResponseItems()
The number of items returned from a List or Query API method, if applicable.PolicyViolationInfo
getPolicyViolationInfo()
Indicates the policy violations for this request.PolicyViolationInfo.Builder
getPolicyViolationInfoBuilder()
Indicates the policy violations for this request.PolicyViolationInfoOrBuilder
getPolicyViolationInfoOrBuilder()
Indicates the policy violations for this request.com.google.protobuf.Struct
getRequest()
The operation request.com.google.protobuf.Struct.Builder
getRequestBuilder()
The operation request.RequestMetadata
getRequestMetadata()
Metadata about the operation.RequestMetadata.Builder
getRequestMetadataBuilder()
Metadata about the operation.RequestMetadataOrBuilder
getRequestMetadataOrBuilder()
Metadata about the operation.com.google.protobuf.StructOrBuilder
getRequestOrBuilder()
The operation request.ResourceLocation
getResourceLocation()
The resource location information.ResourceLocation.Builder
getResourceLocationBuilder()
The resource location information.ResourceLocationOrBuilder
getResourceLocationOrBuilder()
The resource location information.java.lang.String
getResourceName()
The resource or collection that is the target of the operation.com.google.protobuf.ByteString
getResourceNameBytes()
The resource or collection that is the target of the operation.com.google.protobuf.Struct
getResourceOriginalState()
The resource's original state before mutation.com.google.protobuf.Struct.Builder
getResourceOriginalStateBuilder()
The resource's original state before mutation.com.google.protobuf.StructOrBuilder
getResourceOriginalStateOrBuilder()
The resource's original state before mutation.com.google.protobuf.Struct
getResponse()
The operation response.com.google.protobuf.Struct.Builder
getResponseBuilder()
The operation response.com.google.protobuf.StructOrBuilder
getResponseOrBuilder()
The operation response.com.google.protobuf.Any
getServiceData()
Deprecated.google.cloud.audit.AuditLog.service_data is deprecated.com.google.protobuf.Any.Builder
getServiceDataBuilder()
Deprecated.com.google.protobuf.AnyOrBuilder
getServiceDataOrBuilder()
Deprecated.java.lang.String
getServiceName()
The name of the API service performing the operation.com.google.protobuf.ByteString
getServiceNameBytes()
The name of the API service performing the operation.Status
getStatus()
The status of the overall operation.Status.Builder
getStatusBuilder()
The status of the overall operation.StatusOrBuilder
getStatusOrBuilder()
The status of the overall operation.boolean
hasAuthenticationInfo()
Authentication information.boolean
hasMetadata()
Other service-specific data about the request, response, and other information associated with the current audited event.boolean
hasPolicyViolationInfo()
Indicates the policy violations for this request.boolean
hasRequest()
The operation request.boolean
hasRequestMetadata()
Metadata about the operation.boolean
hasResourceLocation()
The resource location information.boolean
hasResourceOriginalState()
The resource's original state before mutation.boolean
hasResponse()
The operation response.boolean
hasServiceData()
Deprecated.google.cloud.audit.AuditLog.service_data is deprecated.boolean
hasStatus()
The status of the overall operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AuditLog.Builder
mergeAuthenticationInfo(AuthenticationInfo value)
Authentication information.AuditLog.Builder
mergeFrom(AuditLog other)
AuditLog.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AuditLog.Builder
mergeFrom(com.google.protobuf.Message other)
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.AuditLog.Builder
mergePolicyViolationInfo(PolicyViolationInfo value)
Indicates the policy violations for this request.AuditLog.Builder
mergeRequest(com.google.protobuf.Struct value)
The operation request.AuditLog.Builder
mergeRequestMetadata(RequestMetadata value)
Metadata about the operation.AuditLog.Builder
mergeResourceLocation(ResourceLocation value)
The resource location information.AuditLog.Builder
mergeResourceOriginalState(com.google.protobuf.Struct value)
The resource's original state before mutation.AuditLog.Builder
mergeResponse(com.google.protobuf.Struct value)
The operation response.AuditLog.Builder
mergeServiceData(com.google.protobuf.Any value)
Deprecated.AuditLog.Builder
mergeStatus(Status value)
The status of the overall operation.AuditLog.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AuditLog.Builder
removeAuthorizationInfo(int index)
Authorization information.AuditLog.Builder
setAuthenticationInfo(AuthenticationInfo value)
Authentication information.AuditLog.Builder
setAuthenticationInfo(AuthenticationInfo.Builder builderForValue)
Authentication information.AuditLog.Builder
setAuthorizationInfo(int index, AuthorizationInfo value)
Authorization information.AuditLog.Builder
setAuthorizationInfo(int index, AuthorizationInfo.Builder builderForValue)
Authorization information.AuditLog.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
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.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.AuditLog.Builder
setMethodName(java.lang.String value)
The name of the service method or operation.AuditLog.Builder
setMethodNameBytes(com.google.protobuf.ByteString value)
The name of the service method or operation.AuditLog.Builder
setNumResponseItems(long value)
The number of items returned from a List or Query API method, if applicable.AuditLog.Builder
setPolicyViolationInfo(PolicyViolationInfo value)
Indicates the policy violations for this request.AuditLog.Builder
setPolicyViolationInfo(PolicyViolationInfo.Builder builderForValue)
Indicates the policy violations for this request.AuditLog.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
AuditLog.Builder
setRequest(com.google.protobuf.Struct value)
The operation request.AuditLog.Builder
setRequest(com.google.protobuf.Struct.Builder builderForValue)
The operation request.AuditLog.Builder
setRequestMetadata(RequestMetadata value)
Metadata about the operation.AuditLog.Builder
setRequestMetadata(RequestMetadata.Builder builderForValue)
Metadata about the operation.AuditLog.Builder
setResourceLocation(ResourceLocation value)
The resource location information.AuditLog.Builder
setResourceLocation(ResourceLocation.Builder builderForValue)
The resource location information.AuditLog.Builder
setResourceName(java.lang.String value)
The resource or collection that is the target of the operation.AuditLog.Builder
setResourceNameBytes(com.google.protobuf.ByteString value)
The resource or collection that is the target of the operation.AuditLog.Builder
setResourceOriginalState(com.google.protobuf.Struct value)
The resource's original state before mutation.AuditLog.Builder
setResourceOriginalState(com.google.protobuf.Struct.Builder builderForValue)
The resource's original state before mutation.AuditLog.Builder
setResponse(com.google.protobuf.Struct value)
The operation response.AuditLog.Builder
setResponse(com.google.protobuf.Struct.Builder builderForValue)
The operation response.AuditLog.Builder
setServiceData(com.google.protobuf.Any value)
Deprecated.AuditLog.Builder
setServiceData(com.google.protobuf.Any.Builder builderForValue)
Deprecated.AuditLog.Builder
setServiceName(java.lang.String value)
The name of the API service performing the operation.AuditLog.Builder
setServiceNameBytes(com.google.protobuf.ByteString value)
The name of the API service performing the operation.AuditLog.Builder
setStatus(Status value)
The status of the overall operation.AuditLog.Builder
setStatus(Status.Builder builderForValue)
The status of the overall operation.AuditLog.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, 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()
- Overrides:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
clear
public 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.GeneratedMessage.Builder<AuditLog.Builder>
-
getDefaultInstanceForType
public AuditLog getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AuditLog build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AuditLog buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AuditLog.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, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
clearField
public AuditLog.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
clearOneof
public AuditLog.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
mergeFrom
public AuditLog.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AuditLog.Builder>
-
mergeFrom
public AuditLog.Builder mergeFrom(AuditLog other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,AuditLog.Builder>
-
mergeFrom
public AuditLog.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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:
java.io.IOException
-
getServiceName
public java.lang.String 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
public AuditLog.Builder setServiceName(java.lang.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 java.lang.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:
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
public AuditLog.Builder setMethodName(java.lang.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 java.lang.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:
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
public AuditLog.Builder setResourceName(java.lang.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:
hasResourceLocation
in 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:
getResourceLocation
in 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:
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
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:
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
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:
hasStatus
in 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:
getStatus
in 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:
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
public AuthenticationInfo getAuthenticationInfo()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
- Specified by:
getAuthenticationInfo
in 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:
getAuthenticationInfoOrBuilder
in interfaceAuditLogOrBuilder
-
getAuthorizationInfoList
public java.util.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:
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
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:
getAuthorizationInfo
in 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(java.lang.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:
getAuthorizationInfoOrBuilder
in interfaceAuditLogOrBuilder
-
getAuthorizationInfoOrBuilderList
public java.util.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:
getAuthorizationInfoOrBuilderList
in 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 java.util.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:
hasPolicyViolationInfo
in 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:
getPolicyViolationInfo
in 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:
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
public RequestMetadata getRequestMetadata()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
- Specified by:
getRequestMetadata
in 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:
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
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:
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
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:
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
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:
getMetadataOrBuilder
in 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:
hasServiceData
in 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:
getServiceData
in 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:
getServiceDataOrBuilder
in interfaceAuditLogOrBuilder
-
setUnknownFields
public final AuditLog.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
mergeUnknownFields
public final AuditLog.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
-