public static final class UpdateComponentSettingsRequest.Builder extends GeneratedMessageV3.Builder<UpdateComponentSettingsRequest.Builder> implements UpdateComponentSettingsRequestOrBuilder
Request message for UpdateComponentSettings.
Protobuf type
google.cloud.securitycenter.settings.v1beta1.UpdateComponentSettingsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateComponentSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateComponentSettingsRequest build()
buildPartial()
public UpdateComponentSettingsRequest buildPartial()
clear()
public UpdateComponentSettingsRequest.Builder clear()
Overrides
clearComponentSettings()
public UpdateComponentSettingsRequest.Builder clearComponentSettings()
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateComponentSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateComponentSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateComponentSettingsRequest.Builder clearUpdateMask()
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
clone()
public UpdateComponentSettingsRequest.Builder clone()
Overrides
getComponentSettings()
public ComponentSettings getComponentSettings()
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
getComponentSettingsBuilder()
public ComponentSettings.Builder getComponentSettingsBuilder()
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
getComponentSettingsOrBuilder()
public ComponentSettingsOrBuilder getComponentSettingsOrBuilder()
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateComponentSettingsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
hasComponentSettings()
public boolean hasComponentSettings()
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the componentSettings field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeComponentSettings(ComponentSettings value)
public UpdateComponentSettingsRequest.Builder mergeComponentSettings(ComponentSettings value)
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateComponentSettingsRequest other)
public UpdateComponentSettingsRequest.Builder mergeFrom(UpdateComponentSettingsRequest other)
public UpdateComponentSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateComponentSettingsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateComponentSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateComponentSettingsRequest.Builder mergeUpdateMask(FieldMask value)
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
setComponentSettings(ComponentSettings value)
public UpdateComponentSettingsRequest.Builder setComponentSettings(ComponentSettings value)
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
setComponentSettings(ComponentSettings.Builder builderForValue)
public UpdateComponentSettingsRequest.Builder setComponentSettings(ComponentSettings.Builder builderForValue)
Required. The component settings to update.
The component settings' name
field is used to identify the component
settings to be updated. Formats:
organizations/{organization}/components/{component}/settings
folders/{folder}/components/{component}/settings
projects/{project}/components/{component}/settings
projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings
projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings
projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings
.google.cloud.securitycenter.settings.v1beta1.ComponentSettings component_settings = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateComponentSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateComponentSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateComponentSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateComponentSettingsRequest.Builder setUpdateMask(FieldMask value)
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateComponentSettingsRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The list of fields to be updated on the component settings resource.
.google.protobuf.FieldMask update_mask = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|