All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog Maven / Gradle / Ivy

There is a newer version: 5.0.7
Show newest version
/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/audit/audit_log.proto

package org.apache.rocketmq.shaded.com.google.cloud.audit;

/**
 *
 *
 * 
 * Common audit log format for Google Cloud Platform API operations.
 * 
* * Protobuf type {@code google.cloud.audit.AuditLog} */ public final class AuditLog extends org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.audit.AuditLog) AuditLogOrBuilder { private static final long serialVersionUID = 0L; // Use AuditLog.newBuilder() to construct. private AuditLog(org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AuditLog() { serviceName_ = ""; methodName_ = ""; resourceName_ = ""; authorizationInfo_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuditLog(); } @java.lang.Override public final org.apache.rocketmq.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AuditLog( org.apache.rocketmq.shaded.com.google.protobuf.CodedInputStream input, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.apache.rocketmq.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.rocketmq.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 18: { org.apache.rocketmq.shaded.com.google.rpc.Status.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(org.apache.rocketmq.shaded.com.google.rpc.Status.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 26: { org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo.Builder subBuilder = null; if (authenticationInfo_ != null) { subBuilder = authenticationInfo_.toBuilder(); } authenticationInfo_ = input.readMessage( org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(authenticationInfo_); authenticationInfo_ = subBuilder.buildPartial(); } break; } case 34: { org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata.Builder subBuilder = null; if (requestMetadata_ != null) { subBuilder = requestMetadata_.toBuilder(); } requestMetadata_ = input.readMessage( org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(requestMetadata_); requestMetadata_ = subBuilder.buildPartial(); } break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); serviceName_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); methodName_ = s; break; } case 74: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { authorizationInfo_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } authorizationInfo_.add( input.readMessage( org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo.parser(), extensionRegistry)); break; } case 90: { java.lang.String s = input.readStringRequireUtf8(); resourceName_ = s; break; } case 96: { numResponseItems_ = input.readInt64(); break; } case 122: { org.apache.rocketmq.shaded.com.google.protobuf.Any.Builder subBuilder = null; if (serviceData_ != null) { subBuilder = serviceData_.toBuilder(); } serviceData_ = input.readMessage(org.apache.rocketmq.shaded.com.google.protobuf.Any.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(serviceData_); serviceData_ = subBuilder.buildPartial(); } break; } case 130: { org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder subBuilder = null; if (request_ != null) { subBuilder = request_.toBuilder(); } request_ = input.readMessage(org.apache.rocketmq.shaded.com.google.protobuf.Struct.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(request_); request_ = subBuilder.buildPartial(); } break; } case 138: { org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder subBuilder = null; if (response_ != null) { subBuilder = response_.toBuilder(); } response_ = input.readMessage(org.apache.rocketmq.shaded.com.google.protobuf.Struct.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(response_); response_ = subBuilder.buildPartial(); } break; } case 146: { org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder subBuilder = null; if (metadata_ != null) { subBuilder = metadata_.toBuilder(); } metadata_ = input.readMessage(org.apache.rocketmq.shaded.com.google.protobuf.Struct.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(metadata_); metadata_ = subBuilder.buildPartial(); } break; } case 154: { org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder subBuilder = null; if (resourceOriginalState_ != null) { subBuilder = resourceOriginalState_.toBuilder(); } resourceOriginalState_ = input.readMessage(org.apache.rocketmq.shaded.com.google.protobuf.Struct.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(resourceOriginalState_); resourceOriginalState_ = subBuilder.buildPartial(); } break; } case 162: { org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation.Builder subBuilder = null; if (resourceLocation_ != null) { subBuilder = resourceLocation_.toBuilder(); } resourceLocation_ = input.readMessage( org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(resourceLocation_); resourceLocation_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (org.apache.rocketmq.shaded.com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { authorizationInfo_ = java.util.Collections.unmodifiableList(authorizationInfo_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuditLog_descriptor; } @java.lang.Override protected org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuditLog_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog.class, org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog.Builder.class); } public static final int SERVICE_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object serviceName_; /** * * *
   * The name of the API service performing the operation. For example,
   * `"compute.googleapis.com"`.
   * 
* * string service_name = 7; * * @return The serviceName. */ @java.lang.Override public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.apache.rocketmq.shaded.com.google.protobuf.ByteString bs = (org.apache.rocketmq.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } } /** * * *
   * The name of the API service performing the operation. For example,
   * `"compute.googleapis.com"`.
   * 
* * string service_name = 7; * * @return The bytes for serviceName. */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.ByteString getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { org.apache.rocketmq.shaded.com.google.protobuf.ByteString b = org.apache.rocketmq.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceName_ = b; return b; } else { return (org.apache.rocketmq.shaded.com.google.protobuf.ByteString) ref; } } public static final int METHOD_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object methodName_; /** * * *
   * 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; * * @return The methodName. */ @java.lang.Override public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.apache.rocketmq.shaded.com.google.protobuf.ByteString bs = (org.apache.rocketmq.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodName_ = s; return s; } } /** * * *
   * 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; * * @return The bytes for methodName. */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof java.lang.String) { org.apache.rocketmq.shaded.com.google.protobuf.ByteString b = org.apache.rocketmq.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); methodName_ = b; return b; } else { return (org.apache.rocketmq.shaded.com.google.protobuf.ByteString) ref; } } public static final int RESOURCE_NAME_FIELD_NUMBER = 11; private volatile java.lang.Object resourceName_; /** * * *
   * 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; * * @return The resourceName. */ @java.lang.Override public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.apache.rocketmq.shaded.com.google.protobuf.ByteString bs = (org.apache.rocketmq.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } } /** * * *
   * 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; * * @return The bytes for resourceName. */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { org.apache.rocketmq.shaded.com.google.protobuf.ByteString b = org.apache.rocketmq.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceName_ = b; return b; } else { return (org.apache.rocketmq.shaded.com.google.protobuf.ByteString) ref; } } public static final int RESOURCE_LOCATION_FIELD_NUMBER = 20; private org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation resourceLocation_; /** * * *
   * The resource location information.
   * 
* * .google.cloud.audit.ResourceLocation resource_location = 20; * * @return Whether the resourceLocation field is set. */ @java.lang.Override public boolean hasResourceLocation() { return resourceLocation_ != null; } /** * * *
   * The resource location information.
   * 
* * .google.cloud.audit.ResourceLocation resource_location = 20; * * @return The resourceLocation. */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation getResourceLocation() { return resourceLocation_ == null ? org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation.getDefaultInstance() : resourceLocation_; } /** * * *
   * The resource location information.
   * 
* * .google.cloud.audit.ResourceLocation resource_location = 20; */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocationOrBuilder getResourceLocationOrBuilder() { return getResourceLocation(); } public static final int RESOURCE_ORIGINAL_STATE_FIELD_NUMBER = 19; private org.apache.rocketmq.shaded.com.google.protobuf.Struct resourceOriginalState_; /** * * *
   * 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; * * @return Whether the resourceOriginalState field is set. */ @java.lang.Override public boolean hasResourceOriginalState() { return resourceOriginalState_ != null; } /** * * *
   * 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; * * @return The resourceOriginalState. */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.Struct getResourceOriginalState() { return resourceOriginalState_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Struct.getDefaultInstance() : resourceOriginalState_; } /** * * *
   * 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; */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder getResourceOriginalStateOrBuilder() { return getResourceOriginalState(); } public static final int NUM_RESPONSE_ITEMS_FIELD_NUMBER = 12; private long numResponseItems_; /** * * *
   * The number of items returned from a List or Query API method,
   * if applicable.
   * 
* * int64 num_response_items = 12; * * @return The numResponseItems. */ @java.lang.Override public long getNumResponseItems() { return numResponseItems_; } public static final int STATUS_FIELD_NUMBER = 2; private org.apache.rocketmq.shaded.com.google.rpc.Status status_; /** * * *
   * The status of the overall operation.
   * 
* * .google.rpc.Status status = 2; * * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * * *
   * The status of the overall operation.
   * 
* * .google.rpc.Status status = 2; * * @return The status. */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.rpc.Status getStatus() { return status_ == null ? org.apache.rocketmq.shaded.com.google.rpc.Status.getDefaultInstance() : status_; } /** * * *
   * The status of the overall operation.
   * 
* * .google.rpc.Status status = 2; */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.rpc.StatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int AUTHENTICATION_INFO_FIELD_NUMBER = 3; private org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo authenticationInfo_; /** * * *
   * Authentication information.
   * 
* * .google.cloud.audit.AuthenticationInfo authentication_info = 3; * * @return Whether the authenticationInfo field is set. */ @java.lang.Override public boolean hasAuthenticationInfo() { return authenticationInfo_ != null; } /** * * *
   * Authentication information.
   * 
* * .google.cloud.audit.AuthenticationInfo authentication_info = 3; * * @return The authenticationInfo. */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo getAuthenticationInfo() { return authenticationInfo_ == null ? org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo.getDefaultInstance() : authenticationInfo_; } /** * * *
   * Authentication information.
   * 
* * .google.cloud.audit.AuthenticationInfo authentication_info = 3; */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfoOrBuilder getAuthenticationInfoOrBuilder() { return getAuthenticationInfo(); } public static final int AUTHORIZATION_INFO_FIELD_NUMBER = 9; private java.util.List authorizationInfo_; /** * * *
   * 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; */ @java.lang.Override public java.util.List getAuthorizationInfoList() { return authorizationInfo_; } /** * * *
   * 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; */ @java.lang.Override public java.util.List getAuthorizationInfoOrBuilderList() { return authorizationInfo_; } /** * * *
   * 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; */ @java.lang.Override public int getAuthorizationInfoCount() { return authorizationInfo_.size(); } /** * * *
   * 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; */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo getAuthorizationInfo(int index) { return authorizationInfo_.get(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; */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfoOrBuilder getAuthorizationInfoOrBuilder( int index) { return authorizationInfo_.get(index); } public static final int REQUEST_METADATA_FIELD_NUMBER = 4; private org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata requestMetadata_; /** * * *
   * Metadata about the operation.
   * 
* * .google.cloud.audit.RequestMetadata request_metadata = 4; * * @return Whether the requestMetadata field is set. */ @java.lang.Override public boolean hasRequestMetadata() { return requestMetadata_ != null; } /** * * *
   * Metadata about the operation.
   * 
* * .google.cloud.audit.RequestMetadata request_metadata = 4; * * @return The requestMetadata. */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata getRequestMetadata() { return requestMetadata_ == null ? org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata.getDefaultInstance() : requestMetadata_; } /** * * *
   * Metadata about the operation.
   * 
* * .google.cloud.audit.RequestMetadata request_metadata = 4; */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { return getRequestMetadata(); } public static final int REQUEST_FIELD_NUMBER = 16; private org.apache.rocketmq.shaded.com.google.protobuf.Struct request_; /** * * *
   * 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; * * @return Whether the request field is set. */ @java.lang.Override public boolean hasRequest() { return request_ != null; } /** * * *
   * 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; * * @return The request. */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.Struct getRequest() { return request_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Struct.getDefaultInstance() : request_; } /** * * *
   * 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; */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder getRequestOrBuilder() { return getRequest(); } public static final int RESPONSE_FIELD_NUMBER = 17; private org.apache.rocketmq.shaded.com.google.protobuf.Struct response_; /** * * *
   * 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; * * @return Whether the response field is set. */ @java.lang.Override public boolean hasResponse() { return response_ != null; } /** * * *
   * 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; * * @return The response. */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.Struct getResponse() { return response_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Struct.getDefaultInstance() : response_; } /** * * *
   * 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; */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder getResponseOrBuilder() { return getResponse(); } public static final int METADATA_FIELD_NUMBER = 18; private org.apache.rocketmq.shaded.com.google.protobuf.Struct metadata_; /** * * *
   * Other service-specific data about the request, response, and other
   * information associated with the current audited event.
   * 
* * .google.protobuf.Struct metadata = 18; * * @return Whether the metadata field is set. */ @java.lang.Override public boolean hasMetadata() { return metadata_ != null; } /** * * *
   * Other service-specific data about the request, response, and other
   * information associated with the current audited event.
   * 
* * .google.protobuf.Struct metadata = 18; * * @return The metadata. */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.Struct getMetadata() { return metadata_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** * * *
   * Other service-specific data about the request, response, and other
   * information associated with the current audited event.
   * 
* * .google.protobuf.Struct metadata = 18; */ @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { return getMetadata(); } public static final int SERVICE_DATA_FIELD_NUMBER = 15; private org.apache.rocketmq.shaded.com.google.protobuf.Any serviceData_; /** * * *
   * 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 google.cloud.audit.AuditLog.service_data is deprecated. See * google/cloud/audit/audit_log.proto;l=104 * @return Whether the serviceData field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasServiceData() { return serviceData_ != null; } /** * * *
   * 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 google.cloud.audit.AuditLog.service_data is deprecated. See * google/cloud/audit/audit_log.proto;l=104 * @return The serviceData. */ @java.lang.Override @java.lang.Deprecated public org.apache.rocketmq.shaded.com.google.protobuf.Any getServiceData() { return serviceData_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Any.getDefaultInstance() : serviceData_; } /** * * *
   * 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]; */ @java.lang.Override @java.lang.Deprecated public org.apache.rocketmq.shaded.com.google.protobuf.AnyOrBuilder getServiceDataOrBuilder() { return getServiceData(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (status_ != null) { output.writeMessage(2, getStatus()); } if (authenticationInfo_ != null) { output.writeMessage(3, getAuthenticationInfo()); } if (requestMetadata_ != null) { output.writeMessage(4, getRequestMetadata()); } if (!org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) { org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 7, serviceName_); } if (!org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(methodName_)) { org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 8, methodName_); } for (int i = 0; i < authorizationInfo_.size(); i++) { output.writeMessage(9, authorizationInfo_.get(i)); } if (!org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 11, resourceName_); } if (numResponseItems_ != 0L) { output.writeInt64(12, numResponseItems_); } if (serviceData_ != null) { output.writeMessage(15, getServiceData()); } if (request_ != null) { output.writeMessage(16, getRequest()); } if (response_ != null) { output.writeMessage(17, getResponse()); } if (metadata_ != null) { output.writeMessage(18, getMetadata()); } if (resourceOriginalState_ != null) { output.writeMessage(19, getResourceOriginalState()); } if (resourceLocation_ != null) { output.writeMessage(20, getResourceLocation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus()); } if (authenticationInfo_ != null) { size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAuthenticationInfo()); } if (requestMetadata_ != null) { size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRequestMetadata()); } if (!org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) { size += org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(7, serviceName_); } if (!org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(methodName_)) { size += org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(8, methodName_); } for (int i = 0; i < authorizationInfo_.size(); i++) { size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(9, authorizationInfo_.get(i)); } if (!org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { size += org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(11, resourceName_); } if (numResponseItems_ != 0L) { size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeInt64Size(12, numResponseItems_); } if (serviceData_ != null) { size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(15, getServiceData()); } if (request_ != null) { size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(16, getRequest()); } if (response_ != null) { size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(17, getResponse()); } if (metadata_ != null) { size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(18, getMetadata()); } if (resourceOriginalState_ != null) { size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(19, getResourceOriginalState()); } if (resourceLocation_ != null) { size += org.apache.rocketmq.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(20, getResourceLocation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog)) { return super.equals(obj); } org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog other = (org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog) obj; if (!getServiceName().equals(other.getServiceName())) return false; if (!getMethodName().equals(other.getMethodName())) return false; if (!getResourceName().equals(other.getResourceName())) return false; if (hasResourceLocation() != other.hasResourceLocation()) return false; if (hasResourceLocation()) { if (!getResourceLocation().equals(other.getResourceLocation())) return false; } if (hasResourceOriginalState() != other.hasResourceOriginalState()) return false; if (hasResourceOriginalState()) { if (!getResourceOriginalState().equals(other.getResourceOriginalState())) return false; } if (getNumResponseItems() != other.getNumResponseItems()) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus().equals(other.getStatus())) return false; } if (hasAuthenticationInfo() != other.hasAuthenticationInfo()) return false; if (hasAuthenticationInfo()) { if (!getAuthenticationInfo().equals(other.getAuthenticationInfo())) return false; } if (!getAuthorizationInfoList().equals(other.getAuthorizationInfoList())) return false; if (hasRequestMetadata() != other.hasRequestMetadata()) return false; if (hasRequestMetadata()) { if (!getRequestMetadata().equals(other.getRequestMetadata())) return false; } if (hasRequest() != other.hasRequest()) return false; if (hasRequest()) { if (!getRequest().equals(other.getRequest())) return false; } if (hasResponse() != other.hasResponse()) return false; if (hasResponse()) { if (!getResponse().equals(other.getResponse())) return false; } if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { if (!getMetadata().equals(other.getMetadata())) return false; } if (hasServiceData() != other.hasServiceData()) return false; if (hasServiceData()) { if (!getServiceData().equals(other.getServiceData())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SERVICE_NAME_FIELD_NUMBER; hash = (53 * hash) + getServiceName().hashCode(); hash = (37 * hash) + METHOD_NAME_FIELD_NUMBER; hash = (53 * hash) + getMethodName().hashCode(); hash = (37 * hash) + RESOURCE_NAME_FIELD_NUMBER; hash = (53 * hash) + getResourceName().hashCode(); if (hasResourceLocation()) { hash = (37 * hash) + RESOURCE_LOCATION_FIELD_NUMBER; hash = (53 * hash) + getResourceLocation().hashCode(); } if (hasResourceOriginalState()) { hash = (37 * hash) + RESOURCE_ORIGINAL_STATE_FIELD_NUMBER; hash = (53 * hash) + getResourceOriginalState().hashCode(); } hash = (37 * hash) + NUM_RESPONSE_ITEMS_FIELD_NUMBER; hash = (53 * hash) + org.apache.rocketmq.shaded.com.google.protobuf.Internal.hashLong(getNumResponseItems()); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (hasAuthenticationInfo()) { hash = (37 * hash) + AUTHENTICATION_INFO_FIELD_NUMBER; hash = (53 * hash) + getAuthenticationInfo().hashCode(); } if (getAuthorizationInfoCount() > 0) { hash = (37 * hash) + AUTHORIZATION_INFO_FIELD_NUMBER; hash = (53 * hash) + getAuthorizationInfoList().hashCode(); } if (hasRequestMetadata()) { hash = (37 * hash) + REQUEST_METADATA_FIELD_NUMBER; hash = (53 * hash) + getRequestMetadata().hashCode(); } if (hasRequest()) { hash = (37 * hash) + REQUEST_FIELD_NUMBER; hash = (53 * hash) + getRequest().hashCode(); } if (hasResponse()) { hash = (37 * hash) + RESPONSE_FIELD_NUMBER; hash = (53 * hash) + getResponse().hashCode(); } if (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } if (hasServiceData()) { hash = (37 * hash) + SERVICE_DATA_FIELD_NUMBER; hash = (53 * hash) + getServiceData().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parseFrom(java.nio.ByteBuffer data) throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parseFrom( java.nio.ByteBuffer data, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parseFrom(org.apache.rocketmq.shaded.com.google.protobuf.ByteString data) throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parseFrom( org.apache.rocketmq.shaded.com.google.protobuf.ByteString data, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parseFrom(byte[] data) throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parseFrom( byte[] data, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parseFrom( java.io.InputStream input, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parseDelimitedFrom( java.io.InputStream input, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parseFrom( org.apache.rocketmq.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parseFrom( org.apache.rocketmq.shaded.com.google.protobuf.CodedInputStream input, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType(org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * * *
   * Common audit log format for Google Cloud Platform API operations.
   * 
* * Protobuf type {@code google.cloud.audit.AuditLog} */ public static final class Builder extends org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.audit.AuditLog) org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLogOrBuilder { public static final org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuditLog_descriptor; } @java.lang.Override protected org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuditLog_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog.class, org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog.Builder.class); } // Construct using org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAuthorizationInfoFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); serviceName_ = ""; methodName_ = ""; resourceName_ = ""; if (resourceLocationBuilder_ == null) { resourceLocation_ = null; } else { resourceLocation_ = null; resourceLocationBuilder_ = null; } if (resourceOriginalStateBuilder_ == null) { resourceOriginalState_ = null; } else { resourceOriginalState_ = null; resourceOriginalStateBuilder_ = null; } numResponseItems_ = 0L; if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } if (authenticationInfoBuilder_ == null) { authenticationInfo_ = null; } else { authenticationInfo_ = null; authenticationInfoBuilder_ = null; } if (authorizationInfoBuilder_ == null) { authorizationInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { authorizationInfoBuilder_.clear(); } if (requestMetadataBuilder_ == null) { requestMetadata_ = null; } else { requestMetadata_ = null; requestMetadataBuilder_ = null; } if (requestBuilder_ == null) { request_ = null; } else { request_ = null; requestBuilder_ = null; } if (responseBuilder_ == null) { response_ = null; } else { response_ = null; responseBuilder_ = null; } if (metadataBuilder_ == null) { metadata_ = null; } else { metadata_ = null; metadataBuilder_ = null; } if (serviceDataBuilder_ == null) { serviceData_ = null; } else { serviceData_ = null; serviceDataBuilder_ = null; } return this; } @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLogProto .internal_static_google_cloud_audit_AuditLog_descriptor; } @java.lang.Override public org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog getDefaultInstanceForType() { return org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog.getDefaultInstance(); } @java.lang.Override public org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog build() { org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog buildPartial() { org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog result = new org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog(this); int from_bitField0_ = bitField0_; result.serviceName_ = serviceName_; result.methodName_ = methodName_; result.resourceName_ = resourceName_; if (resourceLocationBuilder_ == null) { result.resourceLocation_ = resourceLocation_; } else { result.resourceLocation_ = resourceLocationBuilder_.build(); } if (resourceOriginalStateBuilder_ == null) { result.resourceOriginalState_ = resourceOriginalState_; } else { result.resourceOriginalState_ = resourceOriginalStateBuilder_.build(); } result.numResponseItems_ = numResponseItems_; if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } if (authenticationInfoBuilder_ == null) { result.authenticationInfo_ = authenticationInfo_; } else { result.authenticationInfo_ = authenticationInfoBuilder_.build(); } if (authorizationInfoBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { authorizationInfo_ = java.util.Collections.unmodifiableList(authorizationInfo_); bitField0_ = (bitField0_ & ~0x00000001); } result.authorizationInfo_ = authorizationInfo_; } else { result.authorizationInfo_ = authorizationInfoBuilder_.build(); } if (requestMetadataBuilder_ == null) { result.requestMetadata_ = requestMetadata_; } else { result.requestMetadata_ = requestMetadataBuilder_.build(); } if (requestBuilder_ == null) { result.request_ = request_; } else { result.request_ = requestBuilder_.build(); } if (responseBuilder_ == null) { result.response_ = response_; } else { result.response_ = responseBuilder_.build(); } if (metadataBuilder_ == null) { result.metadata_ = metadata_; } else { result.metadata_ = metadataBuilder_.build(); } if (serviceDataBuilder_ == null) { result.serviceData_ = serviceData_; } else { result.serviceData_ = serviceDataBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField(org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof(org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.rocketmq.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.rocketmq.shaded.com.google.protobuf.Message other) { if (other instanceof org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog) { return mergeFrom((org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog other) { if (other == org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog.getDefaultInstance()) return this; if (!other.getServiceName().isEmpty()) { serviceName_ = other.serviceName_; onChanged(); } if (!other.getMethodName().isEmpty()) { methodName_ = other.methodName_; onChanged(); } if (!other.getResourceName().isEmpty()) { resourceName_ = other.resourceName_; onChanged(); } if (other.hasResourceLocation()) { mergeResourceLocation(other.getResourceLocation()); } if (other.hasResourceOriginalState()) { mergeResourceOriginalState(other.getResourceOriginalState()); } if (other.getNumResponseItems() != 0L) { setNumResponseItems(other.getNumResponseItems()); } if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (other.hasAuthenticationInfo()) { mergeAuthenticationInfo(other.getAuthenticationInfo()); } if (authorizationInfoBuilder_ == null) { if (!other.authorizationInfo_.isEmpty()) { if (authorizationInfo_.isEmpty()) { authorizationInfo_ = other.authorizationInfo_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAuthorizationInfoIsMutable(); authorizationInfo_.addAll(other.authorizationInfo_); } onChanged(); } } else { if (!other.authorizationInfo_.isEmpty()) { if (authorizationInfoBuilder_.isEmpty()) { authorizationInfoBuilder_.dispose(); authorizationInfoBuilder_ = null; authorizationInfo_ = other.authorizationInfo_; bitField0_ = (bitField0_ & ~0x00000001); authorizationInfoBuilder_ = org.apache.rocketmq.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAuthorizationInfoFieldBuilder() : null; } else { authorizationInfoBuilder_.addAllMessages(other.authorizationInfo_); } } } if (other.hasRequestMetadata()) { mergeRequestMetadata(other.getRequestMetadata()); } if (other.hasRequest()) { mergeRequest(other.getRequest()); } if (other.hasResponse()) { mergeResponse(other.getResponse()); } if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } if (other.hasServiceData()) { mergeServiceData(other.getServiceData()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( org.apache.rocketmq.shaded.com.google.protobuf.CodedInputStream input, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object serviceName_ = ""; /** * * *
     * The name of the API service performing the operation. For example,
     * `"compute.googleapis.com"`.
     * 
* * string service_name = 7; * * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { org.apache.rocketmq.shaded.com.google.protobuf.ByteString bs = (org.apache.rocketmq.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceName_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * The name of the API service performing the operation. For example,
     * `"compute.googleapis.com"`.
     * 
* * string service_name = 7; * * @return The bytes for serviceName. */ public org.apache.rocketmq.shaded.com.google.protobuf.ByteString getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { org.apache.rocketmq.shaded.com.google.protobuf.ByteString b = org.apache.rocketmq.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceName_ = b; return b; } else { return (org.apache.rocketmq.shaded.com.google.protobuf.ByteString) ref; } } /** * * *
     * The name of the API service performing the operation. For example,
     * `"compute.googleapis.com"`.
     * 
* * string service_name = 7; * * @param value The serviceName to set. * @return This builder for chaining. */ public Builder setServiceName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } serviceName_ = value; onChanged(); return this; } /** * * *
     * The name of the API service performing the operation. For example,
     * `"compute.googleapis.com"`.
     * 
* * string service_name = 7; * * @return This builder for chaining. */ public Builder clearServiceName() { serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** * * *
     * The name of the API service performing the operation. For example,
     * `"compute.googleapis.com"`.
     * 
* * string service_name = 7; * * @param value The bytes for serviceName to set. * @return This builder for chaining. */ public Builder setServiceNameBytes(org.apache.rocketmq.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceName_ = value; onChanged(); return this; } private java.lang.Object methodName_ = ""; /** * * *
     * 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; * * @return The methodName. */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (!(ref instanceof java.lang.String)) { org.apache.rocketmq.shaded.com.google.protobuf.ByteString bs = (org.apache.rocketmq.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodName_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * 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; * * @return The bytes for methodName. */ public org.apache.rocketmq.shaded.com.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof String) { org.apache.rocketmq.shaded.com.google.protobuf.ByteString b = org.apache.rocketmq.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); methodName_ = b; return b; } else { return (org.apache.rocketmq.shaded.com.google.protobuf.ByteString) ref; } } /** * * *
     * 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; * * @param value The methodName to set. * @return This builder for chaining. */ public Builder setMethodName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } methodName_ = value; onChanged(); return this; } /** * * *
     * 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; * * @return This builder for chaining. */ public Builder clearMethodName() { methodName_ = getDefaultInstance().getMethodName(); onChanged(); return this; } /** * * *
     * 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; * * @param value The bytes for methodName to set. * @return This builder for chaining. */ public Builder setMethodNameBytes(org.apache.rocketmq.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); methodName_ = value; onChanged(); return this; } private java.lang.Object resourceName_ = ""; /** * * *
     * 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; * * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { org.apache.rocketmq.shaded.com.google.protobuf.ByteString bs = (org.apache.rocketmq.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * 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; * * @return The bytes for resourceName. */ public org.apache.rocketmq.shaded.com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { org.apache.rocketmq.shaded.com.google.protobuf.ByteString b = org.apache.rocketmq.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceName_ = b; return b; } else { return (org.apache.rocketmq.shaded.com.google.protobuf.ByteString) ref; } } /** * * *
     * 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; * * @param value The resourceName to set. * @return This builder for chaining. */ public Builder setResourceName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceName_ = value; onChanged(); return this; } /** * * *
     * 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; * * @return This builder for chaining. */ public Builder clearResourceName() { resourceName_ = getDefaultInstance().getResourceName(); onChanged(); return this; } /** * * *
     * 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; * * @param value The bytes for resourceName to set. * @return This builder for chaining. */ public Builder setResourceNameBytes(org.apache.rocketmq.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceName_ = value; onChanged(); return this; } private org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation resourceLocation_; private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation, org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation.Builder, org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocationOrBuilder> resourceLocationBuilder_; /** * * *
     * The resource location information.
     * 
* * .google.cloud.audit.ResourceLocation resource_location = 20; * * @return Whether the resourceLocation field is set. */ public boolean hasResourceLocation() { return resourceLocationBuilder_ != null || resourceLocation_ != null; } /** * * *
     * The resource location information.
     * 
* * .google.cloud.audit.ResourceLocation resource_location = 20; * * @return The resourceLocation. */ public org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation getResourceLocation() { if (resourceLocationBuilder_ == null) { return resourceLocation_ == null ? org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation.getDefaultInstance() : resourceLocation_; } else { return resourceLocationBuilder_.getMessage(); } } /** * * *
     * The resource location information.
     * 
* * .google.cloud.audit.ResourceLocation resource_location = 20; */ public Builder setResourceLocation(org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation value) { if (resourceLocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resourceLocation_ = value; onChanged(); } else { resourceLocationBuilder_.setMessage(value); } return this; } /** * * *
     * The resource location information.
     * 
* * .google.cloud.audit.ResourceLocation resource_location = 20; */ public Builder setResourceLocation( org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation.Builder builderForValue) { if (resourceLocationBuilder_ == null) { resourceLocation_ = builderForValue.build(); onChanged(); } else { resourceLocationBuilder_.setMessage(builderForValue.build()); } return this; } /** * * *
     * The resource location information.
     * 
* * .google.cloud.audit.ResourceLocation resource_location = 20; */ public Builder mergeResourceLocation(org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation value) { if (resourceLocationBuilder_ == null) { if (resourceLocation_ != null) { resourceLocation_ = org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation.newBuilder(resourceLocation_) .mergeFrom(value) .buildPartial(); } else { resourceLocation_ = value; } onChanged(); } else { resourceLocationBuilder_.mergeFrom(value); } return this; } /** * * *
     * The resource location information.
     * 
* * .google.cloud.audit.ResourceLocation resource_location = 20; */ public Builder clearResourceLocation() { if (resourceLocationBuilder_ == null) { resourceLocation_ = null; onChanged(); } else { resourceLocation_ = null; resourceLocationBuilder_ = null; } return this; } /** * * *
     * The resource location information.
     * 
* * .google.cloud.audit.ResourceLocation resource_location = 20; */ public org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation.Builder getResourceLocationBuilder() { onChanged(); return getResourceLocationFieldBuilder().getBuilder(); } /** * * *
     * The resource location information.
     * 
* * .google.cloud.audit.ResourceLocation resource_location = 20; */ public org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocationOrBuilder getResourceLocationOrBuilder() { if (resourceLocationBuilder_ != null) { return resourceLocationBuilder_.getMessageOrBuilder(); } else { return resourceLocation_ == null ? org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation.getDefaultInstance() : resourceLocation_; } } /** * * *
     * The resource location information.
     * 
* * .google.cloud.audit.ResourceLocation resource_location = 20; */ private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation, org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation.Builder, org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocationOrBuilder> getResourceLocationFieldBuilder() { if (resourceLocationBuilder_ == null) { resourceLocationBuilder_ = new org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation, org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocation.Builder, org.apache.rocketmq.shaded.com.google.cloud.audit.ResourceLocationOrBuilder>( getResourceLocation(), getParentForChildren(), isClean()); resourceLocation_ = null; } return resourceLocationBuilder_; } private org.apache.rocketmq.shaded.com.google.protobuf.Struct resourceOriginalState_; private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Struct, org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder, org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder> resourceOriginalStateBuilder_; /** * * *
     * 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; * * @return Whether the resourceOriginalState field is set. */ public boolean hasResourceOriginalState() { return resourceOriginalStateBuilder_ != null || resourceOriginalState_ != null; } /** * * *
     * 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; * * @return The resourceOriginalState. */ public org.apache.rocketmq.shaded.com.google.protobuf.Struct getResourceOriginalState() { if (resourceOriginalStateBuilder_ == null) { return resourceOriginalState_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Struct.getDefaultInstance() : resourceOriginalState_; } else { return resourceOriginalStateBuilder_.getMessage(); } } /** * * *
     * 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 Builder setResourceOriginalState(org.apache.rocketmq.shaded.com.google.protobuf.Struct value) { if (resourceOriginalStateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resourceOriginalState_ = value; onChanged(); } else { resourceOriginalStateBuilder_.setMessage(value); } return this; } /** * * *
     * 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 Builder setResourceOriginalState(org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder builderForValue) { if (resourceOriginalStateBuilder_ == null) { resourceOriginalState_ = builderForValue.build(); onChanged(); } else { resourceOriginalStateBuilder_.setMessage(builderForValue.build()); } return this; } /** * * *
     * 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 Builder mergeResourceOriginalState(org.apache.rocketmq.shaded.com.google.protobuf.Struct value) { if (resourceOriginalStateBuilder_ == null) { if (resourceOriginalState_ != null) { resourceOriginalState_ = org.apache.rocketmq.shaded.com.google.protobuf.Struct.newBuilder(resourceOriginalState_) .mergeFrom(value) .buildPartial(); } else { resourceOriginalState_ = value; } onChanged(); } else { resourceOriginalStateBuilder_.mergeFrom(value); } return this; } /** * * *
     * 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 Builder clearResourceOriginalState() { if (resourceOriginalStateBuilder_ == null) { resourceOriginalState_ = null; onChanged(); } else { resourceOriginalState_ = null; resourceOriginalStateBuilder_ = null; } return this; } /** * * *
     * 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 org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder getResourceOriginalStateBuilder() { onChanged(); return getResourceOriginalStateFieldBuilder().getBuilder(); } /** * * *
     * 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 org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder getResourceOriginalStateOrBuilder() { if (resourceOriginalStateBuilder_ != null) { return resourceOriginalStateBuilder_.getMessageOrBuilder(); } else { return resourceOriginalState_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Struct.getDefaultInstance() : resourceOriginalState_; } } /** * * *
     * 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; */ private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Struct, org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder, org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder> getResourceOriginalStateFieldBuilder() { if (resourceOriginalStateBuilder_ == null) { resourceOriginalStateBuilder_ = new org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Struct, org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder, org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder>( getResourceOriginalState(), getParentForChildren(), isClean()); resourceOriginalState_ = null; } return resourceOriginalStateBuilder_; } private long numResponseItems_; /** * * *
     * The number of items returned from a List or Query API method,
     * if applicable.
     * 
* * int64 num_response_items = 12; * * @return The numResponseItems. */ @java.lang.Override public long getNumResponseItems() { return numResponseItems_; } /** * * *
     * The number of items returned from a List or Query API method,
     * if applicable.
     * 
* * int64 num_response_items = 12; * * @param value The numResponseItems to set. * @return This builder for chaining. */ public Builder setNumResponseItems(long value) { numResponseItems_ = value; onChanged(); return this; } /** * * *
     * The number of items returned from a List or Query API method,
     * if applicable.
     * 
* * int64 num_response_items = 12; * * @return This builder for chaining. */ public Builder clearNumResponseItems() { numResponseItems_ = 0L; onChanged(); return this; } private org.apache.rocketmq.shaded.com.google.rpc.Status status_; private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.rpc.Status, org.apache.rocketmq.shaded.com.google.rpc.Status.Builder, org.apache.rocketmq.shaded.com.google.rpc.StatusOrBuilder> statusBuilder_; /** * * *
     * The status of the overall operation.
     * 
* * .google.rpc.Status status = 2; * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * * *
     * The status of the overall operation.
     * 
* * .google.rpc.Status status = 2; * * @return The status. */ public org.apache.rocketmq.shaded.com.google.rpc.Status getStatus() { if (statusBuilder_ == null) { return status_ == null ? org.apache.rocketmq.shaded.com.google.rpc.Status.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * * *
     * The status of the overall operation.
     * 
* * .google.rpc.Status status = 2; */ public Builder setStatus(org.apache.rocketmq.shaded.com.google.rpc.Status value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * * *
     * The status of the overall operation.
     * 
* * .google.rpc.Status status = 2; */ public Builder setStatus(org.apache.rocketmq.shaded.com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * * *
     * The status of the overall operation.
     * 
* * .google.rpc.Status status = 2; */ public Builder mergeStatus(org.apache.rocketmq.shaded.com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = org.apache.rocketmq.shaded.com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * * *
     * The status of the overall operation.
     * 
* * .google.rpc.Status status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * * *
     * The status of the overall operation.
     * 
* * .google.rpc.Status status = 2; */ public org.apache.rocketmq.shaded.com.google.rpc.Status.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * * *
     * The status of the overall operation.
     * 
* * .google.rpc.Status status = 2; */ public org.apache.rocketmq.shaded.com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? org.apache.rocketmq.shaded.com.google.rpc.Status.getDefaultInstance() : status_; } } /** * * *
     * The status of the overall operation.
     * 
* * .google.rpc.Status status = 2; */ private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.rpc.Status, org.apache.rocketmq.shaded.com.google.rpc.Status.Builder, org.apache.rocketmq.shaded.com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.rpc.Status, org.apache.rocketmq.shaded.com.google.rpc.Status.Builder, org.apache.rocketmq.shaded.com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo authenticationInfo_; private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo.Builder, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfoOrBuilder> authenticationInfoBuilder_; /** * * *
     * Authentication information.
     * 
* * .google.cloud.audit.AuthenticationInfo authentication_info = 3; * * @return Whether the authenticationInfo field is set. */ public boolean hasAuthenticationInfo() { return authenticationInfoBuilder_ != null || authenticationInfo_ != null; } /** * * *
     * Authentication information.
     * 
* * .google.cloud.audit.AuthenticationInfo authentication_info = 3; * * @return The authenticationInfo. */ public org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo getAuthenticationInfo() { if (authenticationInfoBuilder_ == null) { return authenticationInfo_ == null ? org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo.getDefaultInstance() : authenticationInfo_; } else { return authenticationInfoBuilder_.getMessage(); } } /** * * *
     * Authentication information.
     * 
* * .google.cloud.audit.AuthenticationInfo authentication_info = 3; */ public Builder setAuthenticationInfo(org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo value) { if (authenticationInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } authenticationInfo_ = value; onChanged(); } else { authenticationInfoBuilder_.setMessage(value); } return this; } /** * * *
     * Authentication information.
     * 
* * .google.cloud.audit.AuthenticationInfo authentication_info = 3; */ public Builder setAuthenticationInfo( org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo.Builder builderForValue) { if (authenticationInfoBuilder_ == null) { authenticationInfo_ = builderForValue.build(); onChanged(); } else { authenticationInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * * *
     * Authentication information.
     * 
* * .google.cloud.audit.AuthenticationInfo authentication_info = 3; */ public Builder mergeAuthenticationInfo(org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo value) { if (authenticationInfoBuilder_ == null) { if (authenticationInfo_ != null) { authenticationInfo_ = org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo.newBuilder(authenticationInfo_) .mergeFrom(value) .buildPartial(); } else { authenticationInfo_ = value; } onChanged(); } else { authenticationInfoBuilder_.mergeFrom(value); } return this; } /** * * *
     * Authentication information.
     * 
* * .google.cloud.audit.AuthenticationInfo authentication_info = 3; */ public Builder clearAuthenticationInfo() { if (authenticationInfoBuilder_ == null) { authenticationInfo_ = null; onChanged(); } else { authenticationInfo_ = null; authenticationInfoBuilder_ = null; } return this; } /** * * *
     * Authentication information.
     * 
* * .google.cloud.audit.AuthenticationInfo authentication_info = 3; */ public org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo.Builder getAuthenticationInfoBuilder() { onChanged(); return getAuthenticationInfoFieldBuilder().getBuilder(); } /** * * *
     * Authentication information.
     * 
* * .google.cloud.audit.AuthenticationInfo authentication_info = 3; */ public org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfoOrBuilder getAuthenticationInfoOrBuilder() { if (authenticationInfoBuilder_ != null) { return authenticationInfoBuilder_.getMessageOrBuilder(); } else { return authenticationInfo_ == null ? org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo.getDefaultInstance() : authenticationInfo_; } } /** * * *
     * Authentication information.
     * 
* * .google.cloud.audit.AuthenticationInfo authentication_info = 3; */ private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo.Builder, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfoOrBuilder> getAuthenticationInfoFieldBuilder() { if (authenticationInfoBuilder_ == null) { authenticationInfoBuilder_ = new org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfo.Builder, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthenticationInfoOrBuilder>( getAuthenticationInfo(), getParentForChildren(), isClean()); authenticationInfo_ = null; } return authenticationInfoBuilder_; } private java.util.List authorizationInfo_ = java.util.Collections.emptyList(); private void ensureAuthorizationInfoIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { authorizationInfo_ = new java.util.ArrayList(authorizationInfo_); bitField0_ |= 0x00000001; } } private org.apache.rocketmq.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo.Builder, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfoOrBuilder> authorizationInfoBuilder_; /** * * *
     * 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 java.util.List getAuthorizationInfoList() { if (authorizationInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(authorizationInfo_); } else { return authorizationInfoBuilder_.getMessageList(); } } /** * * *
     * 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 int getAuthorizationInfoCount() { if (authorizationInfoBuilder_ == null) { return authorizationInfo_.size(); } else { return authorizationInfoBuilder_.getCount(); } } /** * * *
     * 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 org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo getAuthorizationInfo(int index) { if (authorizationInfoBuilder_ == null) { return authorizationInfo_.get(index); } else { return authorizationInfoBuilder_.getMessage(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 Builder setAuthorizationInfo(int index, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo value) { if (authorizationInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAuthorizationInfoIsMutable(); authorizationInfo_.set(index, value); onChanged(); } else { authorizationInfoBuilder_.setMessage(index, value); } return this; } /** * * *
     * 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 Builder setAuthorizationInfo( int index, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo.Builder builderForValue) { if (authorizationInfoBuilder_ == null) { ensureAuthorizationInfoIsMutable(); authorizationInfo_.set(index, builderForValue.build()); onChanged(); } else { authorizationInfoBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * * *
     * 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 Builder addAuthorizationInfo(org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo value) { if (authorizationInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAuthorizationInfoIsMutable(); authorizationInfo_.add(value); onChanged(); } else { authorizationInfoBuilder_.addMessage(value); } return this; } /** * * *
     * 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 Builder addAuthorizationInfo(int index, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo value) { if (authorizationInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAuthorizationInfoIsMutable(); authorizationInfo_.add(index, value); onChanged(); } else { authorizationInfoBuilder_.addMessage(index, value); } return this; } /** * * *
     * 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 Builder addAuthorizationInfo( org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo.Builder builderForValue) { if (authorizationInfoBuilder_ == null) { ensureAuthorizationInfoIsMutable(); authorizationInfo_.add(builderForValue.build()); onChanged(); } else { authorizationInfoBuilder_.addMessage(builderForValue.build()); } return this; } /** * * *
     * 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 Builder addAuthorizationInfo( int index, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo.Builder builderForValue) { if (authorizationInfoBuilder_ == null) { ensureAuthorizationInfoIsMutable(); authorizationInfo_.add(index, builderForValue.build()); onChanged(); } else { authorizationInfoBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * * *
     * 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 Builder addAllAuthorizationInfo( java.lang.Iterable values) { if (authorizationInfoBuilder_ == null) { ensureAuthorizationInfoIsMutable(); org.apache.rocketmq.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(values, authorizationInfo_); onChanged(); } else { authorizationInfoBuilder_.addAllMessages(values); } return this; } /** * * *
     * 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 Builder clearAuthorizationInfo() { if (authorizationInfoBuilder_ == null) { authorizationInfo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { authorizationInfoBuilder_.clear(); } return this; } /** * * *
     * 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 Builder removeAuthorizationInfo(int index) { if (authorizationInfoBuilder_ == null) { ensureAuthorizationInfoIsMutable(); authorizationInfo_.remove(index); onChanged(); } else { authorizationInfoBuilder_.remove(index); } return this; } /** * * *
     * 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 org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo.Builder getAuthorizationInfoBuilder(int index) { return getAuthorizationInfoFieldBuilder().getBuilder(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 org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfoOrBuilder getAuthorizationInfoOrBuilder( int index) { if (authorizationInfoBuilder_ == null) { return authorizationInfo_.get(index); } else { return authorizationInfoBuilder_.getMessageOrBuilder(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 java.util.List getAuthorizationInfoOrBuilderList() { if (authorizationInfoBuilder_ != null) { return authorizationInfoBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(authorizationInfo_); } } /** * * *
     * 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 org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo.Builder addAuthorizationInfoBuilder() { return getAuthorizationInfoFieldBuilder() .addBuilder(org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo.getDefaultInstance()); } /** * * *
     * 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 org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo.Builder addAuthorizationInfoBuilder(int index) { return getAuthorizationInfoFieldBuilder() .addBuilder(index, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo.getDefaultInstance()); } /** * * *
     * 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 java.util.List getAuthorizationInfoBuilderList() { return getAuthorizationInfoFieldBuilder().getBuilderList(); } private org.apache.rocketmq.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo.Builder, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfoOrBuilder> getAuthorizationInfoFieldBuilder() { if (authorizationInfoBuilder_ == null) { authorizationInfoBuilder_ = new org.apache.rocketmq.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfo.Builder, org.apache.rocketmq.shaded.com.google.cloud.audit.AuthorizationInfoOrBuilder>( authorizationInfo_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); authorizationInfo_ = null; } return authorizationInfoBuilder_; } private org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata requestMetadata_; private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata, org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata.Builder, org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadataOrBuilder> requestMetadataBuilder_; /** * * *
     * Metadata about the operation.
     * 
* * .google.cloud.audit.RequestMetadata request_metadata = 4; * * @return Whether the requestMetadata field is set. */ public boolean hasRequestMetadata() { return requestMetadataBuilder_ != null || requestMetadata_ != null; } /** * * *
     * Metadata about the operation.
     * 
* * .google.cloud.audit.RequestMetadata request_metadata = 4; * * @return The requestMetadata. */ public org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata getRequestMetadata() { if (requestMetadataBuilder_ == null) { return requestMetadata_ == null ? org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata.getDefaultInstance() : requestMetadata_; } else { return requestMetadataBuilder_.getMessage(); } } /** * * *
     * Metadata about the operation.
     * 
* * .google.cloud.audit.RequestMetadata request_metadata = 4; */ public Builder setRequestMetadata(org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata value) { if (requestMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } requestMetadata_ = value; onChanged(); } else { requestMetadataBuilder_.setMessage(value); } return this; } /** * * *
     * Metadata about the operation.
     * 
* * .google.cloud.audit.RequestMetadata request_metadata = 4; */ public Builder setRequestMetadata( org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata.Builder builderForValue) { if (requestMetadataBuilder_ == null) { requestMetadata_ = builderForValue.build(); onChanged(); } else { requestMetadataBuilder_.setMessage(builderForValue.build()); } return this; } /** * * *
     * Metadata about the operation.
     * 
* * .google.cloud.audit.RequestMetadata request_metadata = 4; */ public Builder mergeRequestMetadata(org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata value) { if (requestMetadataBuilder_ == null) { if (requestMetadata_ != null) { requestMetadata_ = org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata.newBuilder(requestMetadata_) .mergeFrom(value) .buildPartial(); } else { requestMetadata_ = value; } onChanged(); } else { requestMetadataBuilder_.mergeFrom(value); } return this; } /** * * *
     * Metadata about the operation.
     * 
* * .google.cloud.audit.RequestMetadata request_metadata = 4; */ public Builder clearRequestMetadata() { if (requestMetadataBuilder_ == null) { requestMetadata_ = null; onChanged(); } else { requestMetadata_ = null; requestMetadataBuilder_ = null; } return this; } /** * * *
     * Metadata about the operation.
     * 
* * .google.cloud.audit.RequestMetadata request_metadata = 4; */ public org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata.Builder getRequestMetadataBuilder() { onChanged(); return getRequestMetadataFieldBuilder().getBuilder(); } /** * * *
     * Metadata about the operation.
     * 
* * .google.cloud.audit.RequestMetadata request_metadata = 4; */ public org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { if (requestMetadataBuilder_ != null) { return requestMetadataBuilder_.getMessageOrBuilder(); } else { return requestMetadata_ == null ? org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata.getDefaultInstance() : requestMetadata_; } } /** * * *
     * Metadata about the operation.
     * 
* * .google.cloud.audit.RequestMetadata request_metadata = 4; */ private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata, org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata.Builder, org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadataOrBuilder> getRequestMetadataFieldBuilder() { if (requestMetadataBuilder_ == null) { requestMetadataBuilder_ = new org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata, org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadata.Builder, org.apache.rocketmq.shaded.com.google.cloud.audit.RequestMetadataOrBuilder>( getRequestMetadata(), getParentForChildren(), isClean()); requestMetadata_ = null; } return requestMetadataBuilder_; } private org.apache.rocketmq.shaded.com.google.protobuf.Struct request_; private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Struct, org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder, org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder> requestBuilder_; /** * * *
     * 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; * * @return Whether the request field is set. */ public boolean hasRequest() { return requestBuilder_ != null || request_ != null; } /** * * *
     * 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; * * @return The request. */ public org.apache.rocketmq.shaded.com.google.protobuf.Struct getRequest() { if (requestBuilder_ == null) { return request_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Struct.getDefaultInstance() : request_; } else { return requestBuilder_.getMessage(); } } /** * * *
     * 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 Builder setRequest(org.apache.rocketmq.shaded.com.google.protobuf.Struct value) { if (requestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { requestBuilder_.setMessage(value); } return this; } /** * * *
     * 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 Builder setRequest(org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder builderForValue) { if (requestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { requestBuilder_.setMessage(builderForValue.build()); } return this; } /** * * *
     * 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 Builder mergeRequest(org.apache.rocketmq.shaded.com.google.protobuf.Struct value) { if (requestBuilder_ == null) { if (request_ != null) { request_ = org.apache.rocketmq.shaded.com.google.protobuf.Struct.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { requestBuilder_.mergeFrom(value); } return this; } /** * * *
     * 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 Builder clearRequest() { if (requestBuilder_ == null) { request_ = null; onChanged(); } else { request_ = null; requestBuilder_ = null; } return this; } /** * * *
     * 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 org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder getRequestBuilder() { onChanged(); return getRequestFieldBuilder().getBuilder(); } /** * * *
     * 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 org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { return requestBuilder_.getMessageOrBuilder(); } else { return request_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Struct.getDefaultInstance() : request_; } } /** * * *
     * 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; */ private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Struct, org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder, org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder> getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = new org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Struct, org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder, org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder>( getRequest(), getParentForChildren(), isClean()); request_ = null; } return requestBuilder_; } private org.apache.rocketmq.shaded.com.google.protobuf.Struct response_; private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Struct, org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder, org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder> responseBuilder_; /** * * *
     * 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; * * @return Whether the response field is set. */ public boolean hasResponse() { return responseBuilder_ != null || response_ != null; } /** * * *
     * 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; * * @return The response. */ public org.apache.rocketmq.shaded.com.google.protobuf.Struct getResponse() { if (responseBuilder_ == null) { return response_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Struct.getDefaultInstance() : response_; } else { return responseBuilder_.getMessage(); } } /** * * *
     * 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 Builder setResponse(org.apache.rocketmq.shaded.com.google.protobuf.Struct value) { if (responseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } response_ = value; onChanged(); } else { responseBuilder_.setMessage(value); } return this; } /** * * *
     * 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 Builder setResponse(org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder builderForValue) { if (responseBuilder_ == null) { response_ = builderForValue.build(); onChanged(); } else { responseBuilder_.setMessage(builderForValue.build()); } return this; } /** * * *
     * 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 Builder mergeResponse(org.apache.rocketmq.shaded.com.google.protobuf.Struct value) { if (responseBuilder_ == null) { if (response_ != null) { response_ = org.apache.rocketmq.shaded.com.google.protobuf.Struct.newBuilder(response_).mergeFrom(value).buildPartial(); } else { response_ = value; } onChanged(); } else { responseBuilder_.mergeFrom(value); } return this; } /** * * *
     * 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 Builder clearResponse() { if (responseBuilder_ == null) { response_ = null; onChanged(); } else { response_ = null; responseBuilder_ = null; } return this; } /** * * *
     * 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 org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder getResponseBuilder() { onChanged(); return getResponseFieldBuilder().getBuilder(); } /** * * *
     * 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 org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder getResponseOrBuilder() { if (responseBuilder_ != null) { return responseBuilder_.getMessageOrBuilder(); } else { return response_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Struct.getDefaultInstance() : response_; } } /** * * *
     * 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; */ private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Struct, org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder, org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder> getResponseFieldBuilder() { if (responseBuilder_ == null) { responseBuilder_ = new org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Struct, org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder, org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder>( getResponse(), getParentForChildren(), isClean()); response_ = null; } return responseBuilder_; } private org.apache.rocketmq.shaded.com.google.protobuf.Struct metadata_; private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Struct, org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder, org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder> metadataBuilder_; /** * * *
     * Other service-specific data about the request, response, and other
     * information associated with the current audited event.
     * 
* * .google.protobuf.Struct metadata = 18; * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** * * *
     * Other service-specific data about the request, response, and other
     * information associated with the current audited event.
     * 
* * .google.protobuf.Struct metadata = 18; * * @return The metadata. */ public org.apache.rocketmq.shaded.com.google.protobuf.Struct getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Struct.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** * * *
     * Other service-specific data about the request, response, and other
     * information associated with the current audited event.
     * 
* * .google.protobuf.Struct metadata = 18; */ public Builder setMetadata(org.apache.rocketmq.shaded.com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadata_ = value; onChanged(); } else { metadataBuilder_.setMessage(value); } return this; } /** * * *
     * Other service-specific data about the request, response, and other
     * information associated with the current audited event.
     * 
* * .google.protobuf.Struct metadata = 18; */ public Builder setMetadata(org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); } else { metadataBuilder_.setMessage(builderForValue.build()); } return this; } /** * * *
     * Other service-specific data about the request, response, and other
     * information associated with the current audited event.
     * 
* * .google.protobuf.Struct metadata = 18; */ public Builder mergeMetadata(org.apache.rocketmq.shaded.com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = org.apache.rocketmq.shaded.com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } onChanged(); } else { metadataBuilder_.mergeFrom(value); } return this; } /** * * *
     * Other service-specific data about the request, response, and other
     * information associated with the current audited event.
     * 
* * .google.protobuf.Struct metadata = 18; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { metadata_ = null; onChanged(); } else { metadata_ = null; metadataBuilder_ = null; } return this; } /** * * *
     * Other service-specific data about the request, response, and other
     * information associated with the current audited event.
     * 
* * .google.protobuf.Struct metadata = 18; */ public org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder getMetadataBuilder() { onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** * * *
     * Other service-specific data about the request, response, and other
     * information associated with the current audited event.
     * 
* * .google.protobuf.Struct metadata = 18; */ public org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** * * *
     * Other service-specific data about the request, response, and other
     * information associated with the current audited event.
     * 
* * .google.protobuf.Struct metadata = 18; */ private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Struct, org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder, org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Struct, org.apache.rocketmq.shaded.com.google.protobuf.Struct.Builder, org.apache.rocketmq.shaded.com.google.protobuf.StructOrBuilder>( getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } private org.apache.rocketmq.shaded.com.google.protobuf.Any serviceData_; private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Any, org.apache.rocketmq.shaded.com.google.protobuf.Any.Builder, org.apache.rocketmq.shaded.com.google.protobuf.AnyOrBuilder> serviceDataBuilder_; /** * * *
     * 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 google.cloud.audit.AuditLog.service_data is deprecated. See * google/cloud/audit/audit_log.proto;l=104 * @return Whether the serviceData field is set. */ @java.lang.Deprecated public boolean hasServiceData() { return serviceDataBuilder_ != null || serviceData_ != null; } /** * * *
     * 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 google.cloud.audit.AuditLog.service_data is deprecated. See * google/cloud/audit/audit_log.proto;l=104 * @return The serviceData. */ @java.lang.Deprecated public org.apache.rocketmq.shaded.com.google.protobuf.Any getServiceData() { if (serviceDataBuilder_ == null) { return serviceData_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Any.getDefaultInstance() : serviceData_; } else { return serviceDataBuilder_.getMessage(); } } /** * * *
     * 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]; */ @java.lang.Deprecated public Builder setServiceData(org.apache.rocketmq.shaded.com.google.protobuf.Any value) { if (serviceDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } serviceData_ = value; onChanged(); } else { serviceDataBuilder_.setMessage(value); } return this; } /** * * *
     * 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]; */ @java.lang.Deprecated public Builder setServiceData(org.apache.rocketmq.shaded.com.google.protobuf.Any.Builder builderForValue) { if (serviceDataBuilder_ == null) { serviceData_ = builderForValue.build(); onChanged(); } else { serviceDataBuilder_.setMessage(builderForValue.build()); } return this; } /** * * *
     * 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]; */ @java.lang.Deprecated public Builder mergeServiceData(org.apache.rocketmq.shaded.com.google.protobuf.Any value) { if (serviceDataBuilder_ == null) { if (serviceData_ != null) { serviceData_ = org.apache.rocketmq.shaded.com.google.protobuf.Any.newBuilder(serviceData_).mergeFrom(value).buildPartial(); } else { serviceData_ = value; } onChanged(); } else { serviceDataBuilder_.mergeFrom(value); } return this; } /** * * *
     * 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]; */ @java.lang.Deprecated public Builder clearServiceData() { if (serviceDataBuilder_ == null) { serviceData_ = null; onChanged(); } else { serviceData_ = null; serviceDataBuilder_ = null; } return this; } /** * * *
     * 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]; */ @java.lang.Deprecated public org.apache.rocketmq.shaded.com.google.protobuf.Any.Builder getServiceDataBuilder() { onChanged(); return getServiceDataFieldBuilder().getBuilder(); } /** * * *
     * 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]; */ @java.lang.Deprecated public org.apache.rocketmq.shaded.com.google.protobuf.AnyOrBuilder getServiceDataOrBuilder() { if (serviceDataBuilder_ != null) { return serviceDataBuilder_.getMessageOrBuilder(); } else { return serviceData_ == null ? org.apache.rocketmq.shaded.com.google.protobuf.Any.getDefaultInstance() : serviceData_; } } /** * * *
     * 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]; */ private org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Any, org.apache.rocketmq.shaded.com.google.protobuf.Any.Builder, org.apache.rocketmq.shaded.com.google.protobuf.AnyOrBuilder> getServiceDataFieldBuilder() { if (serviceDataBuilder_ == null) { serviceDataBuilder_ = new org.apache.rocketmq.shaded.com.google.protobuf.SingleFieldBuilderV3< org.apache.rocketmq.shaded.com.google.protobuf.Any, org.apache.rocketmq.shaded.com.google.protobuf.Any.Builder, org.apache.rocketmq.shaded.com.google.protobuf.AnyOrBuilder>( getServiceData(), getParentForChildren(), isClean()); serviceData_ = null; } return serviceDataBuilder_; } @java.lang.Override public final Builder setUnknownFields(final org.apache.rocketmq.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.rocketmq.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.cloud.audit.AuditLog) } // @@protoc_insertion_point(class_scope:google.cloud.audit.AuditLog) private static final org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog(); } public static org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.apache.rocketmq.shaded.com.google.protobuf.Parser PARSER = new org.apache.rocketmq.shaded.com.google.protobuf.AbstractParser() { @java.lang.Override public AuditLog parsePartialFrom( org.apache.rocketmq.shaded.com.google.protobuf.CodedInputStream input, org.apache.rocketmq.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.rocketmq.shaded.com.google.protobuf.InvalidProtocolBufferException { return new AuditLog(input, extensionRegistry); } }; public static org.apache.rocketmq.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.rocketmq.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.rocketmq.shaded.com.google.cloud.audit.AuditLog getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy