Class UpdateComponentSettingsRequest.Builder (0.57.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateComponentSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateComponentSettingsRequest.Builder
Overrides

build()

public UpdateComponentSettingsRequest build()
Returns
Type Description
UpdateComponentSettingsRequest

buildPartial()

public UpdateComponentSettingsRequest buildPartial()
Returns
Type Description
UpdateComponentSettingsRequest

clear()

public UpdateComponentSettingsRequest.Builder clear()
Returns
Type Description
UpdateComponentSettingsRequest.Builder
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];

Returns
Type Description
UpdateComponentSettingsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateComponentSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateComponentSettingsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateComponentSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateComponentSettingsRequest.Builder
Overrides

clearUpdateMask()

public UpdateComponentSettingsRequest.Builder clearUpdateMask()

The list of fields to be updated on the component settings resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateComponentSettingsRequest.Builder

clone()

public UpdateComponentSettingsRequest.Builder clone()
Returns
Type Description
UpdateComponentSettingsRequest.Builder
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];

Returns
Type Description
ComponentSettings

The componentSettings.

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];

Returns
Type Description
ComponentSettings.Builder

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];

Returns
Type Description
ComponentSettingsOrBuilder

getDefaultInstanceForType()

public UpdateComponentSettingsRequest getDefaultInstanceForType()
Returns
Type Description
UpdateComponentSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated on the component settings resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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];

Parameter
Name Description
value ComponentSettings
Returns
Type Description
UpdateComponentSettingsRequest.Builder

mergeFrom(UpdateComponentSettingsRequest other)

public UpdateComponentSettingsRequest.Builder mergeFrom(UpdateComponentSettingsRequest other)
Parameter
Name Description
other UpdateComponentSettingsRequest
Returns
Type Description
UpdateComponentSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateComponentSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateComponentSettingsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateComponentSettingsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateComponentSettingsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateComponentSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateComponentSettingsRequest.Builder
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;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateComponentSettingsRequest.Builder

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];

Parameter
Name Description
value ComponentSettings
Returns
Type Description
UpdateComponentSettingsRequest.Builder

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];

Parameter
Name Description
builderForValue ComponentSettings.Builder
Returns
Type Description
UpdateComponentSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateComponentSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateComponentSettingsRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateComponentSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateComponentSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateComponentSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateComponentSettingsRequest.Builder
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;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateComponentSettingsRequest.Builder

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
Returns
Type Description
UpdateComponentSettingsRequest.Builder