Class UpdateFloorSettingRequest.Builder (0.24.0)

public static final class UpdateFloorSettingRequest.Builder extends GeneratedMessage.Builder<UpdateFloorSettingRequest.Builder> implements UpdateFloorSettingRequestOrBuilder

Message for Updating a Floor Setting

Protobuf type google.cloud.modelarmor.v1beta.UpdateFloorSettingRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateFloorSettingRequest build()
Returns
Type Description
UpdateFloorSettingRequest

buildPartial()

public UpdateFloorSettingRequest buildPartial()
Returns
Type Description
UpdateFloorSettingRequest

clear()

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

clearFloorSetting()

public UpdateFloorSettingRequest.Builder clearFloorSetting()

Required. The floor setting being updated.

.google.cloud.modelarmor.v1beta.FloorSetting floor_setting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateFloorSettingRequest.Builder

clearUpdateMask()

public UpdateFloorSettingRequest.Builder clearUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the FloorSetting resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateFloorSettingRequest.Builder

getDefaultInstanceForType()

public UpdateFloorSettingRequest getDefaultInstanceForType()
Returns
Type Description
UpdateFloorSettingRequest

getDescriptorForType()

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

getFloorSetting()

public FloorSetting getFloorSetting()

Required. The floor setting being updated.

.google.cloud.modelarmor.v1beta.FloorSetting floor_setting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FloorSetting

The floorSetting.

getFloorSettingBuilder()

public FloorSetting.Builder getFloorSettingBuilder()

Required. The floor setting being updated.

.google.cloud.modelarmor.v1beta.FloorSetting floor_setting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FloorSetting.Builder

getFloorSettingOrBuilder()

public FloorSettingOrBuilder getFloorSettingOrBuilder()

Required. The floor setting being updated.

.google.cloud.modelarmor.v1beta.FloorSetting floor_setting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FloorSettingOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the FloorSetting resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. Field mask is used to specify the fields to be overwritten in the FloorSetting resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Field mask is used to specify the fields to be overwritten in the FloorSetting resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasFloorSetting()

public boolean hasFloorSetting()

Required. The floor setting being updated.

.google.cloud.modelarmor.v1beta.FloorSetting floor_setting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the floorSetting field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the FloorSetting resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFloorSetting(FloorSetting value)

public UpdateFloorSettingRequest.Builder mergeFloorSetting(FloorSetting value)

Required. The floor setting being updated.

.google.cloud.modelarmor.v1beta.FloorSetting floor_setting = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FloorSetting
Returns
Type Description
UpdateFloorSettingRequest.Builder

mergeFrom(UpdateFloorSettingRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateFloorSettingRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the FloorSetting resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFloorSettingRequest.Builder

setFloorSetting(FloorSetting value)

public UpdateFloorSettingRequest.Builder setFloorSetting(FloorSetting value)

Required. The floor setting being updated.

.google.cloud.modelarmor.v1beta.FloorSetting floor_setting = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FloorSetting
Returns
Type Description
UpdateFloorSettingRequest.Builder

setFloorSetting(FloorSetting.Builder builderForValue)

public UpdateFloorSettingRequest.Builder setFloorSetting(FloorSetting.Builder builderForValue)

Required. The floor setting being updated.

.google.cloud.modelarmor.v1beta.FloorSetting floor_setting = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue FloorSetting.Builder
Returns
Type Description
UpdateFloorSettingRequest.Builder

setUpdateMask(FieldMask value)

public UpdateFloorSettingRequest.Builder setUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the FloorSetting resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFloorSettingRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateFloorSettingRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Field mask is used to specify the fields to be overwritten in the FloorSetting resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateFloorSettingRequest.Builder