Class UpdateComponentSettingsRequest.Builder (0.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateComponentSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateComponentSettingsRequest.Builder
Overrides

build()

public UpdateComponentSettingsRequest build()
Returns
TypeDescription
UpdateComponentSettingsRequest

buildPartial()

public UpdateComponentSettingsRequest buildPartial()
Returns
TypeDescription
UpdateComponentSettingsRequest

clear()

public UpdateComponentSettingsRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateComponentSettingsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateComponentSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateComponentSettingsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateComponentSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateComponentSettingsRequest.Builder

clone()

public UpdateComponentSettingsRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ComponentSettingsOrBuilder

getDefaultInstanceForType()

public UpdateComponentSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateComponentSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

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

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueComponentSettings
Returns
TypeDescription
UpdateComponentSettingsRequest.Builder

mergeFrom(UpdateComponentSettingsRequest other)

public UpdateComponentSettingsRequest.Builder mergeFrom(UpdateComponentSettingsRequest other)
Parameter
NameDescription
otherUpdateComponentSettingsRequest
Returns
TypeDescription
UpdateComponentSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateComponentSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateComponentSettingsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateComponentSettingsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateComponentSettingsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateComponentSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueComponentSettings
Returns
TypeDescription
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
NameDescription
builderForValueComponentSettings.Builder
Returns
TypeDescription
UpdateComponentSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateComponentSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateComponentSettingsRequest.Builder
Overrides

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

public UpdateComponentSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateComponentSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateComponentSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateComponentSettingsRequest.Builder