Class UpdateOrganizationSettingsRequest.Builder (2.44.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.v1beta1.UpdateOrganizationSettingsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateOrganizationSettingsRequest build()
Returns
TypeDescription
UpdateOrganizationSettingsRequest

buildPartial()

public UpdateOrganizationSettingsRequest buildPartial()
Returns
TypeDescription
UpdateOrganizationSettingsRequest

clear()

public UpdateOrganizationSettingsRequest.Builder clear()
Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateOrganizationSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder
Overrides

clearOrganizationSettings()

public UpdateOrganizationSettingsRequest.Builder clearOrganizationSettings()

Required. The organization settings resource to update.

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

Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder

clearUpdateMask()

public UpdateOrganizationSettingsRequest.Builder clearUpdateMask()

The FieldMask to use when updating the settings resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder

clone()

public UpdateOrganizationSettingsRequest.Builder clone()
Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateOrganizationSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateOrganizationSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOrganizationSettings()

public OrganizationSettings getOrganizationSettings()

Required. The organization settings resource to update.

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

Returns
TypeDescription
OrganizationSettings

The organizationSettings.

getOrganizationSettingsBuilder()

public OrganizationSettings.Builder getOrganizationSettingsBuilder()

Required. The organization settings resource to update.

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

Returns
TypeDescription
OrganizationSettings.Builder

getOrganizationSettingsOrBuilder()

public OrganizationSettingsOrBuilder getOrganizationSettingsOrBuilder()

Required. The organization settings resource to update.

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

Returns
TypeDescription
OrganizationSettingsOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The FieldMask to use when updating the settings resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The FieldMask to use when updating the settings resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The FieldMask to use when updating the settings resource.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasOrganizationSettings()

public boolean hasOrganizationSettings()

Required. The organization settings resource to update.

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

Returns
TypeDescription
boolean

Whether the organizationSettings field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The FieldMask to use when updating the 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

mergeFrom(UpdateOrganizationSettingsRequest other)

public UpdateOrganizationSettingsRequest.Builder mergeFrom(UpdateOrganizationSettingsRequest other)
Parameter
NameDescription
otherUpdateOrganizationSettingsRequest
Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOrganizationSettings(OrganizationSettings value)

public UpdateOrganizationSettingsRequest.Builder mergeOrganizationSettings(OrganizationSettings value)

Required. The organization settings resource to update.

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

Parameter
NameDescription
valueOrganizationSettings
Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateOrganizationSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateOrganizationSettingsRequest.Builder mergeUpdateMask(FieldMask value)

The FieldMask to use when updating the settings resource.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOrganizationSettings(OrganizationSettings value)

public UpdateOrganizationSettingsRequest.Builder setOrganizationSettings(OrganizationSettings value)

Required. The organization settings resource to update.

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

Parameter
NameDescription
valueOrganizationSettings
Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder

setOrganizationSettings(OrganizationSettings.Builder builderForValue)

public UpdateOrganizationSettingsRequest.Builder setOrganizationSettings(OrganizationSettings.Builder builderForValue)

Required. The organization settings resource to update.

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

Parameter
NameDescription
builderForValueOrganizationSettings.Builder
Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateOrganizationSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateOrganizationSettingsRequest.Builder setUpdateMask(FieldMask value)

The FieldMask to use when updating the settings resource.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateOrganizationSettingsRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The FieldMask to use when updating the settings resource.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateOrganizationSettingsRequest.Builder