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

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()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateOrganizationSettingsRequest build()
Returns
TypeDescription
UpdateOrganizationSettingsRequest

buildPartial()

public UpdateOrganizationSettingsRequest buildPartial()
Returns
TypeDescription
UpdateOrganizationSettingsRequest

clear()

public UpdateOrganizationSettingsRequest.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateOrganizationSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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];

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;

clone()

public UpdateOrganizationSettingsRequest.Builder clone()
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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.

If empty all mutable fields will be updated.

.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.

If empty all mutable fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateOrganizationSettingsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
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
NameDescription
valueOrganizationSettings

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateOrganizationSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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
NameDescription
valueFieldMask

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateOrganizationSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
valueOrganizationSettings

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
NameDescription
builderForValueOrganizationSettings.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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
builderForValueBuilder