public static final class UpdateCmekSettingsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder> implements UpdateCmekSettingsRequestOrBuilder
The parameters to [UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings]. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.Protobuf type
google.logging.v2.UpdateCmekSettingsRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder>
public UpdateCmekSettingsRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder>
public UpdateCmekSettingsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UpdateCmekSettingsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UpdateCmekSettingsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UpdateCmekSettingsRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder>
public UpdateCmekSettingsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder>
public UpdateCmekSettingsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder>
public UpdateCmekSettingsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder>
public UpdateCmekSettingsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder>
public UpdateCmekSettingsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder>
public UpdateCmekSettingsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UpdateCmekSettingsRequest.Builder>
public UpdateCmekSettingsRequest.Builder mergeFrom(UpdateCmekSettingsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder>
public UpdateCmekSettingsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UpdateCmekSettingsRequest.Builder>
IOException
public String getName()
Required. The resource name for the CMEK settings to update. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example: `"organizations/12345/cmekSettings"` Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
getName
in interface UpdateCmekSettingsRequestOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Required. The resource name for the CMEK settings to update. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example: `"organizations/12345/cmekSettings"` Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
getNameBytes
in interface UpdateCmekSettingsRequestOrBuilder
public UpdateCmekSettingsRequest.Builder setName(String value)
Required. The resource name for the CMEK settings to update. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example: `"organizations/12345/cmekSettings"` Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The name to set.public UpdateCmekSettingsRequest.Builder clearName()
Required. The resource name for the CMEK settings to update. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example: `"organizations/12345/cmekSettings"` Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateCmekSettingsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The resource name for the CMEK settings to update. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example: `"organizations/12345/cmekSettings"` Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for name to set.public boolean hasCmekSettings()
Required. The CMEK settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
hasCmekSettings
in interface UpdateCmekSettingsRequestOrBuilder
public CmekSettings getCmekSettings()
Required. The CMEK settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
getCmekSettings
in interface UpdateCmekSettingsRequestOrBuilder
public UpdateCmekSettingsRequest.Builder setCmekSettings(CmekSettings value)
Required. The CMEK settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateCmekSettingsRequest.Builder setCmekSettings(CmekSettings.Builder builderForValue)
Required. The CMEK settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateCmekSettingsRequest.Builder mergeCmekSettings(CmekSettings value)
Required. The CMEK settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateCmekSettingsRequest.Builder clearCmekSettings()
Required. The CMEK settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
public CmekSettings.Builder getCmekSettingsBuilder()
Required. The CMEK settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
public CmekSettingsOrBuilder getCmekSettingsOrBuilder()
Required. The CMEK settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
getCmekSettingsOrBuilder
in interface UpdateCmekSettingsRequestOrBuilder
public boolean hasUpdateMask()
Optional. Field mask identifying which fields from `cmek_settings` should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated. See [FieldMask][google.protobuf.FieldMask] for more information. For example: `"updateMask=kmsKeyName"`
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
hasUpdateMask
in interface UpdateCmekSettingsRequestOrBuilder
public com.google.protobuf.FieldMask getUpdateMask()
Optional. Field mask identifying which fields from `cmek_settings` should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated. See [FieldMask][google.protobuf.FieldMask] for more information. For example: `"updateMask=kmsKeyName"`
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMask
in interface UpdateCmekSettingsRequestOrBuilder
public UpdateCmekSettingsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
Optional. Field mask identifying which fields from `cmek_settings` should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated. See [FieldMask][google.protobuf.FieldMask] for more information. For example: `"updateMask=kmsKeyName"`
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
public UpdateCmekSettingsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional. Field mask identifying which fields from `cmek_settings` should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated. See [FieldMask][google.protobuf.FieldMask] for more information. For example: `"updateMask=kmsKeyName"`
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
public UpdateCmekSettingsRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional. Field mask identifying which fields from `cmek_settings` should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated. See [FieldMask][google.protobuf.FieldMask] for more information. For example: `"updateMask=kmsKeyName"`
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
public UpdateCmekSettingsRequest.Builder clearUpdateMask()
Optional. Field mask identifying which fields from `cmek_settings` should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated. See [FieldMask][google.protobuf.FieldMask] for more information. For example: `"updateMask=kmsKeyName"`
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
Optional. Field mask identifying which fields from `cmek_settings` should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated. See [FieldMask][google.protobuf.FieldMask] for more information. For example: `"updateMask=kmsKeyName"`
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Field mask identifying which fields from `cmek_settings` should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated. See [FieldMask][google.protobuf.FieldMask] for more information. For example: `"updateMask=kmsKeyName"`
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder
in interface UpdateCmekSettingsRequestOrBuilder
public final UpdateCmekSettingsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder>
public final UpdateCmekSettingsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.