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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateOrganizationSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateOrganizationSettingsRequest build()
Returns
buildPartial()
public UpdateOrganizationSettingsRequest buildPartial()
Returns
clear()
public UpdateOrganizationSettingsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateOrganizationSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateOrganizationSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clearUpdateMask()
public UpdateOrganizationSettingsRequest.Builder clearUpdateMask()
The FieldMask to use when updating the settings resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateOrganizationSettingsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateOrganizationSettingsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
getUpdateMask()
public FieldMask getUpdateMask()
The FieldMask to use when updating the settings resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The FieldMask to use when updating the settings resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The FieldMask to use when updating the settings resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
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
Type | Description |
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
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateOrganizationSettingsRequest other)
public UpdateOrganizationSettingsRequest.Builder mergeFrom(UpdateOrganizationSettingsRequest other)
Parameter
Returns
public UpdateOrganizationSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateOrganizationSettingsRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateOrganizationSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateOrganizationSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateOrganizationSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateOrganizationSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Name | Description |
builderForValue | Builder
|
Returns