public static final class UpdateSettingsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateSettingsRequest.Builder> implements UpdateSettingsRequestOrBuilder
The parameters to [UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings]. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.Protobuf type
google.logging.v2.UpdateSettingsRequest
Modifier and Type | Method and Description |
---|---|
UpdateSettingsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpdateSettingsRequest |
build() |
UpdateSettingsRequest |
buildPartial() |
UpdateSettingsRequest.Builder |
clear() |
UpdateSettingsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UpdateSettingsRequest.Builder |
clearName()
Required.
|
UpdateSettingsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UpdateSettingsRequest.Builder |
clearSettings()
Required.
|
UpdateSettingsRequest.Builder |
clearUpdateMask()
Optional.
|
UpdateSettingsRequest.Builder |
clone() |
UpdateSettingsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
Settings |
getSettings()
Required.
|
Settings.Builder |
getSettingsBuilder()
Required.
|
SettingsOrBuilder |
getSettingsOrBuilder()
Required.
|
com.google.protobuf.FieldMask |
getUpdateMask()
Optional.
|
com.google.protobuf.FieldMask.Builder |
getUpdateMaskBuilder()
Optional.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Optional.
|
boolean |
hasSettings()
Required.
|
boolean |
hasUpdateMask()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UpdateSettingsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UpdateSettingsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
UpdateSettingsRequest.Builder |
mergeFrom(UpdateSettingsRequest other) |
UpdateSettingsRequest.Builder |
mergeSettings(Settings value)
Required.
|
UpdateSettingsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpdateSettingsRequest.Builder |
mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional.
|
UpdateSettingsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpdateSettingsRequest.Builder |
setName(String value)
Required.
|
UpdateSettingsRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
UpdateSettingsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UpdateSettingsRequest.Builder |
setSettings(Settings.Builder builderForValue)
Required.
|
UpdateSettingsRequest.Builder |
setSettings(Settings value)
Required.
|
UpdateSettingsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpdateSettingsRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional.
|
UpdateSettingsRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask value)
Optional.
|
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<UpdateSettingsRequest.Builder>
public UpdateSettingsRequest.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<UpdateSettingsRequest.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<UpdateSettingsRequest.Builder>
public UpdateSettingsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UpdateSettingsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UpdateSettingsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UpdateSettingsRequest.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<UpdateSettingsRequest.Builder>
public UpdateSettingsRequest.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<UpdateSettingsRequest.Builder>
public UpdateSettingsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateSettingsRequest.Builder>
public UpdateSettingsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateSettingsRequest.Builder>
public UpdateSettingsRequest.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<UpdateSettingsRequest.Builder>
public UpdateSettingsRequest.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<UpdateSettingsRequest.Builder>
public UpdateSettingsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UpdateSettingsRequest.Builder>
public UpdateSettingsRequest.Builder mergeFrom(UpdateSettingsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateSettingsRequest.Builder>
public UpdateSettingsRequest.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<UpdateSettingsRequest.Builder>
IOException
public String getName()
Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example: `"organizations/12345/settings"` Note: Settings 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 UpdateSettingsRequestOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example: `"organizations/12345/settings"` Note: Settings 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 UpdateSettingsRequestOrBuilder
public UpdateSettingsRequest.Builder setName(String value)
Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example: `"organizations/12345/settings"` Note: Settings 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 UpdateSettingsRequest.Builder clearName()
Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example: `"organizations/12345/settings"` Note: Settings 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 UpdateSettingsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example: `"organizations/12345/settings"` Note: Settings 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 hasSettings()
Required. The settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.Settings settings = 2 [(.google.api.field_behavior) = REQUIRED];
hasSettings
in interface UpdateSettingsRequestOrBuilder
public Settings getSettings()
Required. The settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.Settings settings = 2 [(.google.api.field_behavior) = REQUIRED];
getSettings
in interface UpdateSettingsRequestOrBuilder
public UpdateSettingsRequest.Builder setSettings(Settings value)
Required. The settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.Settings settings = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateSettingsRequest.Builder setSettings(Settings.Builder builderForValue)
Required. The settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.Settings settings = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateSettingsRequest.Builder mergeSettings(Settings value)
Required. The settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.Settings settings = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateSettingsRequest.Builder clearSettings()
Required. The settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.Settings settings = 2 [(.google.api.field_behavior) = REQUIRED];
public Settings.Builder getSettingsBuilder()
Required. The settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.Settings settings = 2 [(.google.api.field_behavior) = REQUIRED];
public SettingsOrBuilder getSettingsOrBuilder()
Required. The settings to update. See [Enabling CMEK for Log Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
.google.logging.v2.Settings settings = 2 [(.google.api.field_behavior) = REQUIRED];
getSettingsOrBuilder
in interface UpdateSettingsRequestOrBuilder
public boolean hasUpdateMask()
Optional. Field mask identifying which fields from `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 UpdateSettingsRequestOrBuilder
public com.google.protobuf.FieldMask getUpdateMask()
Optional. Field mask identifying which fields from `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 UpdateSettingsRequestOrBuilder
public UpdateSettingsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
Optional. Field mask identifying which fields from `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 UpdateSettingsRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Optional. Field mask identifying which fields from `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 UpdateSettingsRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Optional. Field mask identifying which fields from `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 UpdateSettingsRequest.Builder clearUpdateMask()
Optional. Field mask identifying which fields from `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 `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 `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 UpdateSettingsRequestOrBuilder
public final UpdateSettingsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateSettingsRequest.Builder>
public final UpdateSettingsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateSettingsRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.