public static final class AuditLog.Builder extends GeneratedMessageV3.Builder<AuditLog.Builder> implements AuditLogOrBuilder
Common audit log format for Google Cloud Platform API operations.
Protobuf type google.cloud.audit.AuditLog
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AuditLog.BuilderImplements
AuditLogOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllAuthorizationInfo(Iterable<? extends AuthorizationInfo> values)
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;
Name | Description |
values | Iterable<? extends com.google.cloud.audit.AuthorizationInfo> |
Type | Description |
AuditLog.Builder |
addAuthorizationInfo(AuthorizationInfo value)
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;
Name | Description |
value | AuthorizationInfo |
Type | Description |
AuditLog.Builder |
addAuthorizationInfo(AuthorizationInfo.Builder builderForValue)
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;
Name | Description |
builderForValue | AuthorizationInfo.Builder |
Type | Description |
AuditLog.Builder |
addAuthorizationInfo(int index, AuthorizationInfo value)
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;
Name | Description |
index | int |
value | AuthorizationInfo |
Type | Description |
AuditLog.Builder |
addAuthorizationInfo(int index, AuthorizationInfo.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | AuthorizationInfo.Builder |
Type | Description |
AuditLog.Builder |
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;
Type | Description |
AuthorizationInfo.Builder |
addAuthorizationInfoBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
AuthorizationInfo.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AuditLog.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AuditLog.Builder |
build()
public AuditLog build()
Type | Description |
AuditLog |
buildPartial()
public AuditLog buildPartial()
Type | Description |
AuditLog |
clear()
public AuditLog.Builder clear()
Type | Description |
AuditLog.Builder |
clearAuthenticationInfo()
public AuditLog.Builder clearAuthenticationInfo()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
Type | Description |
AuditLog.Builder |
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;
Type | Description |
AuditLog.Builder |
clearField(Descriptors.FieldDescriptor field)
public AuditLog.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AuditLog.Builder |
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;
Type | Description |
AuditLog.Builder |
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;
Type | Description |
AuditLog.Builder | 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;
Type | Description |
AuditLog.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AuditLog.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AuditLog.Builder |
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;
Type | Description |
AuditLog.Builder |
clearRequestMetadata()
public AuditLog.Builder clearRequestMetadata()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
Type | Description |
AuditLog.Builder |
clearResourceLocation()
public AuditLog.Builder clearResourceLocation()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
Type | Description |
AuditLog.Builder |
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;
Type | Description |
AuditLog.Builder | This builder for chaining. |
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;
Type | Description |
AuditLog.Builder |
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;
Type | Description |
AuditLog.Builder |
clearServiceData()
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];
Type | Description |
AuditLog.Builder |
clearServiceName()
public AuditLog.Builder clearServiceName()
The name of the API service performing the operation. For example,
"compute.googleapis.com"
.
string service_name = 7;
Type | Description |
AuditLog.Builder | This builder for chaining. |
clearStatus()
public AuditLog.Builder clearStatus()
The status of the overall operation.
.google.rpc.Status status = 2;
Type | Description |
AuditLog.Builder |
clone()
public AuditLog.Builder clone()
Type | Description |
AuditLog.Builder |
getAuthenticationInfo()
public AuthenticationInfo getAuthenticationInfo()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
Type | Description |
AuthenticationInfo | The authenticationInfo. |
getAuthenticationInfoBuilder()
public AuthenticationInfo.Builder getAuthenticationInfoBuilder()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
Type | Description |
AuthenticationInfo.Builder |
getAuthenticationInfoOrBuilder()
public AuthenticationInfoOrBuilder getAuthenticationInfoOrBuilder()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
Type | Description |
AuthenticationInfoOrBuilder |
getAuthorizationInfo(int index)
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;
Name | Description |
index | int |
Type | Description |
AuthorizationInfo |
getAuthorizationInfoBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
AuthorizationInfo.Builder |
getAuthorizationInfoBuilderList()
public List<AuthorizationInfo.Builder> getAuthorizationInfoBuilderList()
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
getAuthorizationInfoList()
public List<AuthorizationInfo> getAuthorizationInfoList()
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
Type | Description |
List<AuthorizationInfo> |
getAuthorizationInfoOrBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
AuthorizationInfoOrBuilder |
getAuthorizationInfoOrBuilderList()
public List<? extends AuthorizationInfoOrBuilder> getAuthorizationInfoOrBuilderList()
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9;
Type | Description |
List<? extends com.google.cloud.audit.AuthorizationInfoOrBuilder> |
getDefaultInstanceForType()
public AuditLog getDefaultInstanceForType()
Type | Description |
AuditLog |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMetadata()
public Struct getMetadata()
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
Type | Description |
Struct | The metadata. |
getMetadataBuilder()
public 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;
Type | Description |
Builder |
getMetadataOrBuilder()
public StructOrBuilder getMetadataOrBuilder()
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
Type | Description |
StructOrBuilder |
getMethodName()
public String getMethodName()
The name of the service method or operation. For API calls, this should be the name of the API method. For example, "google.cloud.bigquery.v2.TableService.InsertTable" "google.logging.v2.ConfigServiceV2.CreateSink"
string method_name = 8;
Type | Description |
String | The methodName. |
getMethodNameBytes()
public 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;
Type | Description |
ByteString | The bytes for methodName. |
getNumResponseItems()
public long getNumResponseItems()
The number of items returned from a List or Query API method, if applicable.
int64 num_response_items = 12;
Type | Description |
long | The numResponseItems. |
getRequest()
public 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;
Type | Description |
Struct | The request. |
getRequestBuilder()
public 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;
Type | Description |
Builder |
getRequestMetadata()
public RequestMetadata getRequestMetadata()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
Type | Description |
RequestMetadata | The requestMetadata. |
getRequestMetadataBuilder()
public RequestMetadata.Builder getRequestMetadataBuilder()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
Type | Description |
RequestMetadata.Builder |
getRequestMetadataOrBuilder()
public RequestMetadataOrBuilder getRequestMetadataOrBuilder()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
Type | Description |
RequestMetadataOrBuilder |
getRequestOrBuilder()
public 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;
Type | Description |
StructOrBuilder |
getResourceLocation()
public ResourceLocation getResourceLocation()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
Type | Description |
ResourceLocation | The resourceLocation. |
getResourceLocationBuilder()
public ResourceLocation.Builder getResourceLocationBuilder()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
Type | Description |
ResourceLocation.Builder |
getResourceLocationOrBuilder()
public ResourceLocationOrBuilder getResourceLocationOrBuilder()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
Type | Description |
ResourceLocationOrBuilder |
getResourceName()
public String getResourceName()
The resource or collection that is the target of the operation. The name is a scheme-less URI, not including the API service name. For example: "projects/PROJECT_ID/zones/us-central1-a/instances" "projects/PROJECT_ID/datasets/DATASET_ID"
string resource_name = 11;
Type | Description |
String | The resourceName. |
getResourceNameBytes()
public 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;
Type | Description |
ByteString | The bytes for resourceName. |
getResourceOriginalState()
public 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;
Type | Description |
Struct | The resourceOriginalState. |
getResourceOriginalStateBuilder()
public 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;
Type | Description |
Builder |
getResourceOriginalStateOrBuilder()
public 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;
Type | Description |
StructOrBuilder |
getResponse()
public 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;
Type | Description |
Struct | The response. |
getResponseBuilder()
public 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;
Type | Description |
Builder |
getResponseOrBuilder()
public 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;
Type | Description |
StructOrBuilder |
getServiceData()
public 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];
Type | Description |
Any | The serviceData. |
getServiceDataBuilder()
public 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];
Type | Description |
Builder |
getServiceDataOrBuilder()
public 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];
Type | Description |
AnyOrBuilder |
getServiceName()
public String getServiceName()
The name of the API service performing the operation. For example,
"compute.googleapis.com"
.
string service_name = 7;
Type | Description |
String | The serviceName. |
getServiceNameBytes()
public ByteString getServiceNameBytes()
The name of the API service performing the operation. For example,
"compute.googleapis.com"
.
string service_name = 7;
Type | Description |
ByteString | The bytes for serviceName. |
getStatus()
public Status getStatus()
The status of the overall operation.
.google.rpc.Status status = 2;
Type | Description |
Status | The status. |
getStatusBuilder()
public Status.Builder getStatusBuilder()
The status of the overall operation.
.google.rpc.Status status = 2;
Type | Description |
Status.Builder |
getStatusOrBuilder()
public StatusOrBuilder getStatusOrBuilder()
The status of the overall operation.
.google.rpc.Status status = 2;
Type | Description |
StatusOrBuilder |
hasAuthenticationInfo()
public boolean hasAuthenticationInfo()
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
Type | Description |
boolean | Whether the authenticationInfo field is set. |
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;
Type | Description |
boolean | Whether the metadata field is set. |
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;
Type | Description |
boolean | Whether the request field is set. |
hasRequestMetadata()
public boolean hasRequestMetadata()
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
Type | Description |
boolean | Whether the requestMetadata field is set. |
hasResourceLocation()
public boolean hasResourceLocation()
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
Type | Description |
boolean | Whether the resourceLocation field is set. |
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;
Type | Description |
boolean | Whether the resourceOriginalState field is set. |
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;
Type | Description |
boolean | Whether the response field is set. |
hasServiceData()
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];
Type | Description |
boolean | Whether the serviceData field is set. |
hasStatus()
public boolean hasStatus()
The status of the overall operation.
.google.rpc.Status status = 2;
Type | Description |
boolean | Whether the status field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAuthenticationInfo(AuthenticationInfo value)
public AuditLog.Builder mergeAuthenticationInfo(AuthenticationInfo value)
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
Name | Description |
value | AuthenticationInfo |
Type | Description |
AuditLog.Builder |
mergeFrom(AuditLog other)
public AuditLog.Builder mergeFrom(AuditLog other)
Name | Description |
other | AuditLog |
Type | Description |
AuditLog.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AuditLog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AuditLog.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AuditLog.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AuditLog.Builder |
mergeMetadata(Struct value)
public AuditLog.Builder mergeMetadata(Struct value)
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
Name | Description |
value | Struct |
Type | Description |
AuditLog.Builder |
mergeRequest(Struct value)
public AuditLog.Builder mergeRequest(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;
Name | Description |
value | Struct |
Type | Description |
AuditLog.Builder |
mergeRequestMetadata(RequestMetadata value)
public AuditLog.Builder mergeRequestMetadata(RequestMetadata value)
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
Name | Description |
value | RequestMetadata |
Type | Description |
AuditLog.Builder |
mergeResourceLocation(ResourceLocation value)
public AuditLog.Builder mergeResourceLocation(ResourceLocation value)
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
Name | Description |
value | ResourceLocation |
Type | Description |
AuditLog.Builder |
mergeResourceOriginalState(Struct value)
public AuditLog.Builder mergeResourceOriginalState(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;
Name | Description |
value | Struct |
Type | Description |
AuditLog.Builder |
mergeResponse(Struct value)
public AuditLog.Builder mergeResponse(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;
Name | Description |
value | Struct |
Type | Description |
AuditLog.Builder |
mergeServiceData(Any value)
public AuditLog.Builder mergeServiceData(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];
Name | Description |
value | Any |
Type | Description |
AuditLog.Builder |
mergeStatus(Status value)
public AuditLog.Builder mergeStatus(Status value)
The status of the overall operation.
.google.rpc.Status status = 2;
Name | Description |
value | Status |
Type | Description |
AuditLog.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AuditLog.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AuditLog.Builder |
removeAuthorizationInfo(int index)
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;
Name | Description |
index | int |
Type | Description |
AuditLog.Builder |
setAuthenticationInfo(AuthenticationInfo value)
public AuditLog.Builder setAuthenticationInfo(AuthenticationInfo value)
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
Name | Description |
value | AuthenticationInfo |
Type | Description |
AuditLog.Builder |
setAuthenticationInfo(AuthenticationInfo.Builder builderForValue)
public AuditLog.Builder setAuthenticationInfo(AuthenticationInfo.Builder builderForValue)
Authentication information.
.google.cloud.audit.AuthenticationInfo authentication_info = 3;
Name | Description |
builderForValue | AuthenticationInfo.Builder |
Type | Description |
AuditLog.Builder |
setAuthorizationInfo(int index, AuthorizationInfo value)
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;
Name | Description |
index | int |
value | AuthorizationInfo |
Type | Description |
AuditLog.Builder |
setAuthorizationInfo(int index, AuthorizationInfo.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | AuthorizationInfo.Builder |
Type | Description |
AuditLog.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AuditLog.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AuditLog.Builder |
setMetadata(Struct value)
public AuditLog.Builder setMetadata(Struct value)
Other service-specific data about the request, response, and other information associated with the current audited event.
.google.protobuf.Struct metadata = 18;
Name | Description |
value | Struct |
Type | Description |
AuditLog.Builder |
setMetadata(Struct.Builder builderForValue)
public AuditLog.Builder setMetadata(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;
Name | Description |
builderForValue | Builder |
Type | Description |
AuditLog.Builder |
setMethodName(String value)
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;
Name | Description |
value | String The methodName to set. |
Type | Description |
AuditLog.Builder | This builder for chaining. |
setMethodNameBytes(ByteString value)
public AuditLog.Builder setMethodNameBytes(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;
Name | Description |
value | ByteString The bytes for methodName to set. |
Type | Description |
AuditLog.Builder | This builder for chaining. |
setNumResponseItems(long value)
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;
Name | Description |
value | long The numResponseItems to set. |
Type | Description |
AuditLog.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AuditLog.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AuditLog.Builder |
setRequest(Struct value)
public AuditLog.Builder setRequest(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;
Name | Description |
value | Struct |
Type | Description |
AuditLog.Builder |
setRequest(Struct.Builder builderForValue)
public AuditLog.Builder setRequest(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;
Name | Description |
builderForValue | Builder |
Type | Description |
AuditLog.Builder |
setRequestMetadata(RequestMetadata value)
public AuditLog.Builder setRequestMetadata(RequestMetadata value)
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
Name | Description |
value | RequestMetadata |
Type | Description |
AuditLog.Builder |
setRequestMetadata(RequestMetadata.Builder builderForValue)
public AuditLog.Builder setRequestMetadata(RequestMetadata.Builder builderForValue)
Metadata about the operation.
.google.cloud.audit.RequestMetadata request_metadata = 4;
Name | Description |
builderForValue | RequestMetadata.Builder |
Type | Description |
AuditLog.Builder |
setResourceLocation(ResourceLocation value)
public AuditLog.Builder setResourceLocation(ResourceLocation value)
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
Name | Description |
value | ResourceLocation |
Type | Description |
AuditLog.Builder |
setResourceLocation(ResourceLocation.Builder builderForValue)
public AuditLog.Builder setResourceLocation(ResourceLocation.Builder builderForValue)
The resource location information.
.google.cloud.audit.ResourceLocation resource_location = 20;
Name | Description |
builderForValue | ResourceLocation.Builder |
Type | Description |
AuditLog.Builder |
setResourceName(String value)
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;
Name | Description |
value | String The resourceName to set. |
Type | Description |
AuditLog.Builder | This builder for chaining. |
setResourceNameBytes(ByteString value)
public AuditLog.Builder setResourceNameBytes(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;
Name | Description |
value | ByteString The bytes for resourceName to set. |
Type | Description |
AuditLog.Builder | This builder for chaining. |
setResourceOriginalState(Struct value)
public AuditLog.Builder setResourceOriginalState(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;
Name | Description |
value | Struct |
Type | Description |
AuditLog.Builder |
setResourceOriginalState(Struct.Builder builderForValue)
public AuditLog.Builder setResourceOriginalState(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;
Name | Description |
builderForValue | Builder |
Type | Description |
AuditLog.Builder |
setResponse(Struct value)
public AuditLog.Builder setResponse(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;
Name | Description |
value | Struct |
Type | Description |
AuditLog.Builder |
setResponse(Struct.Builder builderForValue)
public AuditLog.Builder setResponse(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;
Name | Description |
builderForValue | Builder |
Type | Description |
AuditLog.Builder |
setServiceData(Any value)
public AuditLog.Builder setServiceData(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];
Name | Description |
value | Any |
Type | Description |
AuditLog.Builder |
setServiceData(Any.Builder builderForValue)
public AuditLog.Builder setServiceData(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];
Name | Description |
builderForValue | Builder |
Type | Description |
AuditLog.Builder |
setServiceName(String value)
public AuditLog.Builder setServiceName(String value)
The name of the API service performing the operation. For example,
"compute.googleapis.com"
.
string service_name = 7;
Name | Description |
value | String The serviceName to set. |
Type | Description |
AuditLog.Builder | This builder for chaining. |
setServiceNameBytes(ByteString value)
public AuditLog.Builder setServiceNameBytes(ByteString value)
The name of the API service performing the operation. For example,
"compute.googleapis.com"
.
string service_name = 7;
Name | Description |
value | ByteString The bytes for serviceName to set. |
Type | Description |
AuditLog.Builder | This builder for chaining. |
setStatus(Status value)
public AuditLog.Builder setStatus(Status value)
The status of the overall operation.
.google.rpc.Status status = 2;
Name | Description |
value | Status |
Type | Description |
AuditLog.Builder |
setStatus(Status.Builder builderForValue)
public AuditLog.Builder setStatus(Status.Builder builderForValue)
The status of the overall operation.
.google.rpc.Status status = 2;
Name | Description |
builderForValue | Status.Builder |
Type | Description |
AuditLog.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AuditLog.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AuditLog.Builder |