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
Modifier and Type | Method and Description |
---|---|
AuditLog.Builder |
addAllAuthorizationInfo(Iterable<? extends AuthorizationInfo> values)
Authorization information.
|
AuditLog.Builder |
addAuthorizationInfo(AuthorizationInfo.Builder builderForValue)
Authorization information.
|
AuditLog.Builder |
addAuthorizationInfo(AuthorizationInfo value)
Authorization information.
|
AuditLog.Builder |
addAuthorizationInfo(int index,
AuthorizationInfo.Builder builderForValue)
Authorization information.
|
AuditLog.Builder |
addAuthorizationInfo(int index,
AuthorizationInfo value)
Authorization information.
|
AuthorizationInfo.Builder |
addAuthorizationInfoBuilder()
Authorization information.
|
AuthorizationInfo.Builder |
addAuthorizationInfoBuilder(int index)
Authorization information.
|
AuditLog.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
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 |
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.
|
List<AuthorizationInfo.Builder> |
getAuthorizationInfoBuilderList()
Authorization information.
|
int |
getAuthorizationInfoCount()
Authorization information.
|
List<AuthorizationInfo> |
getAuthorizationInfoList()
Authorization information.
|
AuthorizationInfoOrBuilder |
getAuthorizationInfoOrBuilder(int index)
Authorization information.
|
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.
|
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.
|
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.
|
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. See
google/cloud/audit/audit_log.proto;l=104
|
com.google.protobuf.Any.Builder |
getServiceDataBuilder()
Deprecated.
|
com.google.protobuf.AnyOrBuilder |
getServiceDataOrBuilder()
Deprecated.
|
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 |
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. See
google/cloud/audit/audit_log.proto;l=104
|
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 |
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.Builder builderForValue)
Authentication information.
|
AuditLog.Builder |
setAuthenticationInfo(AuthenticationInfo value)
Authentication information.
|
AuditLog.Builder |
setAuthorizationInfo(int index,
AuthorizationInfo.Builder builderForValue)
Authorization information.
|
AuditLog.Builder |
setAuthorizationInfo(int index,
AuthorizationInfo value)
Authorization information.
|
AuditLog.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
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 |
setMethodName(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 |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AuditLog.Builder |
setRequest(com.google.protobuf.Struct.Builder builderForValue)
The operation request.
|
AuditLog.Builder |
setRequest(com.google.protobuf.Struct value)
The operation request.
|
AuditLog.Builder |
setRequestMetadata(RequestMetadata.Builder builderForValue)
Metadata about the operation.
|
AuditLog.Builder |
setRequestMetadata(RequestMetadata value)
Metadata about the operation.
|
AuditLog.Builder |
setResourceLocation(ResourceLocation.Builder builderForValue)
The resource location information.
|
AuditLog.Builder |
setResourceLocation(ResourceLocation value)
The resource location information.
|
AuditLog.Builder |
setResourceName(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.Builder builderForValue)
The resource's original state before mutation.
|
AuditLog.Builder |
setResourceOriginalState(com.google.protobuf.Struct value)
The resource's original state before mutation.
|
AuditLog.Builder |
setResponse(com.google.protobuf.Struct.Builder builderForValue)
The operation response.
|
AuditLog.Builder |
setResponse(com.google.protobuf.Struct value)
The operation response.
|
AuditLog.Builder |
setServiceData(com.google.protobuf.Any.Builder builderForValue)
Deprecated.
|
AuditLog.Builder |
setServiceData(com.google.protobuf.Any value)
Deprecated.
|
AuditLog.Builder |
setServiceName(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.Builder builderForValue)
The status of the overall operation.
|
AuditLog.Builder |
setStatus(Status value)
The status of the overall operation.
|
AuditLog.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
public AuditLog.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
public AuditLog getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AuditLog build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AuditLog buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AuditLog.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
public AuditLog.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
public AuditLog.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
public AuditLog.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
public AuditLog.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
public AuditLog.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
public AuditLog.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AuditLog.Builder>
public AuditLog.Builder mergeFrom(AuditLog other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
public AuditLog.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AuditLog.Builder>
IOException
public String getServiceName()
The name of the API service performing the operation. For example, `"compute.googleapis.com"`.
string service_name = 7;
getServiceName
in interface AuditLogOrBuilder
public com.google.protobuf.ByteString getServiceNameBytes()
The name of the API service performing the operation. For example, `"compute.googleapis.com"`.
string service_name = 7;
getServiceNameBytes
in interface AuditLogOrBuilder
public AuditLog.Builder setServiceName(String value)
The name of the API service performing the operation. For example, `"compute.googleapis.com"`.
string service_name = 7;
value
- The serviceName to set.public AuditLog.Builder clearServiceName()
The name of the API service performing the operation. For example, `"compute.googleapis.com"`.
string service_name = 7;
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;
value
- The bytes for serviceName to set.public String getMethodName()
The name of the service method or operation. For API calls, this should be the name of the API method. For example, "google.cloud.bigquery.v2.TableService.InsertTable" "google.logging.v2.ConfigServiceV2.CreateSink"
string method_name = 8;
getMethodName
in interface AuditLogOrBuilder
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;
getMethodNameBytes
in interface AuditLogOrBuilder
public AuditLog.Builder setMethodName(String value)
The name of the service method or operation. For API calls, this should be the name of the API method. For example, "google.cloud.bigquery.v2.TableService.InsertTable" "google.logging.v2.ConfigServiceV2.CreateSink"
string method_name = 8;
value
- The methodName to set.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;
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;
value
- The bytes for methodName to set.public String getResourceName()
The resource or collection that is the target of the operation. The name is a scheme-less URI, not including the API service name. For example: "projects/PROJECT_ID/zones/us-central1-a/instances" "projects/PROJECT_ID/datasets/DATASET_ID"
string resource_name = 11;
getResourceName
in interface AuditLogOrBuilder
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;
getResourceNameBytes
in interface AuditLogOrBuilder
public AuditLog.Builder setResourceName(String value)
The resource or collection that is the target of the operation. The name is a scheme-less URI, not including the API service name. For example: "projects/PROJECT_ID/zones/us-central1-a/instances" "projects/PROJECT_ID/datasets/DATASET_ID"
string resource_name = 11;
value
- The resourceName to set.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;
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;
value
- The bytes for resourceName to set.public boolean hasResourceLocation()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
hasResourceLocation
in interface AuditLogOrBuilder
public ResourceLocation getResourceLocation()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
getResourceLocation
in interface AuditLogOrBuilder
public AuditLog.Builder setResourceLocation(ResourceLocation value)
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
public AuditLog.Builder setResourceLocation(ResourceLocation.Builder builderForValue)
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
public AuditLog.Builder mergeResourceLocation(ResourceLocation value)
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
public AuditLog.Builder clearResourceLocation()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
public ResourceLocation.Builder getResourceLocationBuilder()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
public ResourceLocationOrBuilder getResourceLocationOrBuilder()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
getResourceLocationOrBuilder
in interface AuditLogOrBuilder
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;
hasResourceOriginalState
in interface AuditLogOrBuilder
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;
getResourceOriginalState
in interface AuditLogOrBuilder
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;
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;
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;
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;
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;
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;
getResourceOriginalStateOrBuilder
in interface AuditLogOrBuilder
public long getNumResponseItems()
The number of items returned from a List or Query API method, if applicable.
int64 num_response_items = 12;
getNumResponseItems
in interface AuditLogOrBuilder
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;
value
- The numResponseItems to set.public AuditLog.Builder clearNumResponseItems()
The number of items returned from a List or Query API method, if applicable.
int64 num_response_items = 12;
public boolean hasStatus()
The status of the overall operation.
.google.rpc.Status status = 2;
hasStatus
in interface AuditLogOrBuilder
public Status getStatus()
The status of the overall operation.
.google.rpc.Status status = 2;
getStatus
in interface AuditLogOrBuilder
public AuditLog.Builder setStatus(Status value)
The status of the overall operation.
.google.rpc.Status status = 2;
public AuditLog.Builder setStatus(Status.Builder builderForValue)
The status of the overall operation.
.google.rpc.Status status = 2;
public AuditLog.Builder mergeStatus(Status value)
The status of the overall operation.
.google.rpc.Status status = 2;
public AuditLog.Builder clearStatus()
The status of the overall operation.
.google.rpc.Status status = 2;
public Status.Builder getStatusBuilder()
The status of the overall operation.
.google.rpc.Status status = 2;
public StatusOrBuilder getStatusOrBuilder()
The status of the overall operation.
.google.rpc.Status status = 2;
getStatusOrBuilder
in interface AuditLogOrBuilder
public boolean hasAuthenticationInfo()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
hasAuthenticationInfo
in interface AuditLogOrBuilder
public AuthenticationInfo getAuthenticationInfo()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
getAuthenticationInfo
in interface AuditLogOrBuilder
public AuditLog.Builder setAuthenticationInfo(AuthenticationInfo value)
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
public AuditLog.Builder setAuthenticationInfo(AuthenticationInfo.Builder builderForValue)
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
public AuditLog.Builder mergeAuthenticationInfo(AuthenticationInfo value)
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
public AuditLog.Builder clearAuthenticationInfo()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
public AuthenticationInfo.Builder getAuthenticationInfoBuilder()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
public AuthenticationInfoOrBuilder getAuthenticationInfoOrBuilder()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
getAuthenticationInfoOrBuilder
in interface AuditLogOrBuilder
public List<AuthorizationInfo> getAuthorizationInfoList()
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
getAuthorizationInfoList
in interface AuditLogOrBuilder
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;
getAuthorizationInfoCount
in interface AuditLogOrBuilder
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;
getAuthorizationInfo
in interface AuditLogOrBuilder
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;
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;
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;
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;
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;
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;
public AuditLog.Builder addAllAuthorizationInfo(Iterable<? extends AuthorizationInfo> values)
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
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;
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;
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;
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;
getAuthorizationInfoOrBuilder
in interface AuditLogOrBuilder
public List<? extends AuthorizationInfoOrBuilder> getAuthorizationInfoOrBuilderList()
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
getAuthorizationInfoOrBuilderList
in interface AuditLogOrBuilder
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;
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;
public List<AuthorizationInfo.Builder> getAuthorizationInfoBuilderList()
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
public boolean hasRequestMetadata()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
hasRequestMetadata
in interface AuditLogOrBuilder
public RequestMetadata getRequestMetadata()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
getRequestMetadata
in interface AuditLogOrBuilder
public AuditLog.Builder setRequestMetadata(RequestMetadata value)
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
public AuditLog.Builder setRequestMetadata(RequestMetadata.Builder builderForValue)
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
public AuditLog.Builder mergeRequestMetadata(RequestMetadata value)
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
public AuditLog.Builder clearRequestMetadata()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
public RequestMetadata.Builder getRequestMetadataBuilder()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
public RequestMetadataOrBuilder getRequestMetadataOrBuilder()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
getRequestMetadataOrBuilder
in interface AuditLogOrBuilder
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;
hasRequest
in interface AuditLogOrBuilder
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;
getRequest
in interface AuditLogOrBuilder
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;
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;
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;
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;
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;
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;
getRequestOrBuilder
in interface AuditLogOrBuilder
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;
hasResponse
in interface AuditLogOrBuilder
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;
getResponse
in interface AuditLogOrBuilder
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;
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;
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;
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;
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;
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;
getResponseOrBuilder
in interface AuditLogOrBuilder
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;
hasMetadata
in interface AuditLogOrBuilder
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;
getMetadata
in interface AuditLogOrBuilder
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;
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;
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;
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;
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;
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;
getMetadataOrBuilder
in interface AuditLogOrBuilder
@Deprecated public boolean hasServiceData()
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];
hasServiceData
in interface AuditLogOrBuilder
@Deprecated public com.google.protobuf.Any getServiceData()
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];
getServiceData
in interface AuditLogOrBuilder
@Deprecated public AuditLog.Builder setServiceData(com.google.protobuf.Any value)
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];
@Deprecated public AuditLog.Builder setServiceData(com.google.protobuf.Any.Builder builderForValue)
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];
@Deprecated public AuditLog.Builder mergeServiceData(com.google.protobuf.Any value)
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];
@Deprecated public AuditLog.Builder clearServiceData()
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];
@Deprecated public com.google.protobuf.Any.Builder getServiceDataBuilder()
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];
@Deprecated public com.google.protobuf.AnyOrBuilder getServiceDataOrBuilder()
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
in interface AuditLogOrBuilder
public final AuditLog.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
public final AuditLog.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
Copyright © 2022 Google LLC. All rights reserved.