public static final class UpdateCmekSettingsRequest.Builder extends GeneratedMessageV3.Builder<UpdateCmekSettingsRequest.Builder> implements UpdateCmekSettingsRequestOrBuilder
The parameters to
UpdateCmekSettings.
See Enabling CMEK for Log
Router for
more information.
Protobuf type google.logging.v2.UpdateCmekSettingsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCmekSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateCmekSettingsRequest build()
Returns
buildPartial()
public UpdateCmekSettingsRequest buildPartial()
Returns
clear()
public UpdateCmekSettingsRequest.Builder clear()
Returns
Overrides
clearCmekSettings()
public UpdateCmekSettingsRequest.Builder clearCmekSettings()
Required. The CMEK settings to update.
See Enabling CMEK for Log
Router
for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateCmekSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
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];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCmekSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
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 for more information.
For example: "updateMask=kmsKeyName"
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
clone()
public UpdateCmekSettingsRequest.Builder clone()
Returns
Overrides
getCmekSettings()
public CmekSettings getCmekSettings()
Required. The CMEK settings to update.
See Enabling CMEK for Log
Router
for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getCmekSettingsBuilder()
public CmekSettings.Builder getCmekSettingsBuilder()
Required. The CMEK settings to update.
See Enabling CMEK for Log
Router
for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getCmekSettingsOrBuilder()
public CmekSettingsOrBuilder getCmekSettingsOrBuilder()
Required. The CMEK settings to update.
See Enabling CMEK for Log
Router
for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateCmekSettingsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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];
Returns
Type | Description |
String | The name.
|
getNameBytes()
public 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];
Returns
getUpdateMask()
public 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 for more information.
For example: "updateMask=kmsKeyName"
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getUpdateMaskBuilder()
public 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 for more information.
For example: "updateMask=kmsKeyName"
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getUpdateMaskOrBuilder()
public 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 for more information.
For example: "updateMask=kmsKeyName"
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
hasCmekSettings()
public boolean hasCmekSettings()
Required. The CMEK settings to update.
See Enabling CMEK for Log
Router
for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the cmekSettings field is set.
|
hasUpdateMask()
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 for more information.
For example: "updateMask=kmsKeyName"
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCmekSettings(CmekSettings value)
public UpdateCmekSettingsRequest.Builder mergeCmekSettings(CmekSettings value)
Required. The CMEK settings to update.
See Enabling CMEK for Log
Router
for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateCmekSettingsRequest other)
public UpdateCmekSettingsRequest.Builder mergeFrom(UpdateCmekSettingsRequest other)
Parameter
Returns
public UpdateCmekSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateCmekSettingsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCmekSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateCmekSettingsRequest.Builder mergeUpdateMask(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 for more information.
For example: "updateMask=kmsKeyName"
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setCmekSettings(CmekSettings value)
public UpdateCmekSettingsRequest.Builder setCmekSettings(CmekSettings value)
Required. The CMEK settings to update.
See Enabling CMEK for Log
Router
for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setCmekSettings(CmekSettings.Builder builderForValue)
public UpdateCmekSettingsRequest.Builder setCmekSettings(CmekSettings.Builder builderForValue)
Required. The CMEK settings to update.
See Enabling CMEK for Log
Router
for more information.
.google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCmekSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
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];
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public UpdateCmekSettingsRequest.Builder setNameBytes(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];
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCmekSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCmekSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateCmekSettingsRequest.Builder setUpdateMask(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 for more information.
For example: "updateMask=kmsKeyName"
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateCmekSettingsRequest.Builder setUpdateMask(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 for more information.
For example: "updateMask=kmsKeyName"
.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
builderForValue | Builder
|
Returns