Class UpdateOrganizationSettingsRequest.Builder (2.52.0)

public static final class UpdateOrganizationSettingsRequest.Builder extends GeneratedMessageV3.Builder<UpdateOrganizationSettingsRequest.Builder> implements UpdateOrganizationSettingsRequestOrBuilder

Request message for updating an organization's settings.

Protobuf type google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateOrganizationSettingsRequest build()
Returns
Type Description
UpdateOrganizationSettingsRequest

buildPartial()

public UpdateOrganizationSettingsRequest buildPartial()
Returns
Type Description
UpdateOrganizationSettingsRequest

clear()

public UpdateOrganizationSettingsRequest.Builder clear()
Returns
Type Description
UpdateOrganizationSettingsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrganizationSettings()

public UpdateOrganizationSettingsRequest.Builder clearOrganizationSettings()

Required. The organization settings resource to update.

.google.cloud.securitycenter.v1p1beta1.OrganizationSettings organization_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateOrganizationSettingsRequest.Builder

clearUpdateMask()

public UpdateOrganizationSettingsRequest.Builder clearUpdateMask()

The FieldMask to use when updating the settings resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateOrganizationSettingsRequest.Builder

clone()

public UpdateOrganizationSettingsRequest.Builder clone()
Returns
Type Description
UpdateOrganizationSettingsRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateOrganizationSettingsRequest getDefaultInstanceForType()
Returns
Type Description
UpdateOrganizationSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOrganizationSettings()

public OrganizationSettings getOrganizationSettings()

Required. The organization settings resource to update.

.google.cloud.securitycenter.v1p1beta1.OrganizationSettings organization_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OrganizationSettings

The organizationSettings.

getOrganizationSettingsBuilder()

public OrganizationSettings.Builder getOrganizationSettingsBuilder()

Required. The organization settings resource to update.

.google.cloud.securitycenter.v1p1beta1.OrganizationSettings organization_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OrganizationSettings.Builder

getOrganizationSettingsOrBuilder()

public OrganizationSettingsOrBuilder getOrganizationSettingsOrBuilder()

Required. The organization settings resource to update.

.google.cloud.securitycenter.v1p1beta1.OrganizationSettings organization_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OrganizationSettingsOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The FieldMask to use when updating the settings resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The FieldMask to use when updating the settings resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The FieldMask to use when updating the settings resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasOrganizationSettings()

public boolean hasOrganizationSettings()

Required. The organization settings resource to update.

.google.cloud.securitycenter.v1p1beta1.OrganizationSettings organization_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the organizationSettings field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The FieldMask to use when updating the settings resource.

If empty all mutable fields will be updated.

.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

mergeFrom(UpdateOrganizationSettingsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOrganizationSettings(OrganizationSettings value)

public UpdateOrganizationSettingsRequest.Builder mergeOrganizationSettings(OrganizationSettings value)

Required. The organization settings resource to update.

.google.cloud.securitycenter.v1p1beta1.OrganizationSettings organization_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OrganizationSettings
Returns
Type Description
UpdateOrganizationSettingsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateOrganizationSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateOrganizationSettingsRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateOrganizationSettingsRequest.Builder mergeUpdateMask(FieldMask value)

The FieldMask to use when updating the settings resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateOrganizationSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOrganizationSettings(OrganizationSettings value)

public UpdateOrganizationSettingsRequest.Builder setOrganizationSettings(OrganizationSettings value)

Required. The organization settings resource to update.

.google.cloud.securitycenter.v1p1beta1.OrganizationSettings organization_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OrganizationSettings
Returns
Type Description
UpdateOrganizationSettingsRequest.Builder

setOrganizationSettings(OrganizationSettings.Builder builderForValue)

public UpdateOrganizationSettingsRequest.Builder setOrganizationSettings(OrganizationSettings.Builder builderForValue)

Required. The organization settings resource to update.

.google.cloud.securitycenter.v1p1beta1.OrganizationSettings organization_settings = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue OrganizationSettings.Builder
Returns
Type Description
UpdateOrganizationSettingsRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateOrganizationSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateOrganizationSettingsRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateOrganizationSettingsRequest.Builder setUpdateMask(FieldMask value)

The FieldMask to use when updating the settings resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateOrganizationSettingsRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateOrganizationSettingsRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The FieldMask to use when updating the settings resource.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateOrganizationSettingsRequest.Builder