Class UpdateRecommenderConfigRequest.Builder (2.42.0)

public static final class UpdateRecommenderConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateRecommenderConfigRequest.Builder> implements UpdateRecommenderConfigRequestOrBuilder

Request for the UpdateRecommenderConfig method.

Protobuf type google.cloud.recommender.v1.UpdateRecommenderConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateRecommenderConfigRequest build()
Returns
TypeDescription
UpdateRecommenderConfigRequest

buildPartial()

public UpdateRecommenderConfigRequest buildPartial()
Returns
TypeDescription
UpdateRecommenderConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRecommenderConfig()

public UpdateRecommenderConfigRequest.Builder clearRecommenderConfig()

Required. The RecommenderConfig to update.

.google.cloud.recommender.v1.RecommenderConfig recommender_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateRecommenderConfigRequest.Builder

clearUpdateMask()

public UpdateRecommenderConfigRequest.Builder clearUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateRecommenderConfigRequest.Builder

clearValidateOnly()

public UpdateRecommenderConfigRequest.Builder clearValidateOnly()

If true, validate the request and preview the change, but do not actually update it.

bool validate_only = 3;

Returns
TypeDescription
UpdateRecommenderConfigRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public UpdateRecommenderConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateRecommenderConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRecommenderConfig()

public RecommenderConfig getRecommenderConfig()

Required. The RecommenderConfig to update.

.google.cloud.recommender.v1.RecommenderConfig recommender_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RecommenderConfig

The recommenderConfig.

getRecommenderConfigBuilder()

public RecommenderConfig.Builder getRecommenderConfigBuilder()

Required. The RecommenderConfig to update.

.google.cloud.recommender.v1.RecommenderConfig recommender_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RecommenderConfig.Builder

getRecommenderConfigOrBuilder()

public RecommenderConfigOrBuilder getRecommenderConfigOrBuilder()

Required. The RecommenderConfig to update.

.google.cloud.recommender.v1.RecommenderConfig recommender_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RecommenderConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

If true, validate the request and preview the change, but do not actually update it.

bool validate_only = 3;

Returns
TypeDescription
boolean

The validateOnly.

hasRecommenderConfig()

public boolean hasRecommenderConfig()

Required. The RecommenderConfig to update.

.google.cloud.recommender.v1.RecommenderConfig recommender_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the recommenderConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to 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(UpdateRecommenderConfigRequest other)

public UpdateRecommenderConfigRequest.Builder mergeFrom(UpdateRecommenderConfigRequest other)
Parameter
NameDescription
otherUpdateRecommenderConfigRequest
Returns
TypeDescription
UpdateRecommenderConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRecommenderConfig(RecommenderConfig value)

public UpdateRecommenderConfigRequest.Builder mergeRecommenderConfig(RecommenderConfig value)

Required. The RecommenderConfig to update.

.google.cloud.recommender.v1.RecommenderConfig recommender_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueRecommenderConfig
Returns
TypeDescription
UpdateRecommenderConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateRecommenderConfigRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateRecommenderConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setRecommenderConfig(RecommenderConfig value)

public UpdateRecommenderConfigRequest.Builder setRecommenderConfig(RecommenderConfig value)

Required. The RecommenderConfig to update.

.google.cloud.recommender.v1.RecommenderConfig recommender_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueRecommenderConfig
Returns
TypeDescription
UpdateRecommenderConfigRequest.Builder

setRecommenderConfig(RecommenderConfig.Builder builderForValue)

public UpdateRecommenderConfigRequest.Builder setRecommenderConfig(RecommenderConfig.Builder builderForValue)

Required. The RecommenderConfig to update.

.google.cloud.recommender.v1.RecommenderConfig recommender_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueRecommenderConfig.Builder
Returns
TypeDescription
UpdateRecommenderConfigRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateRecommenderConfigRequest.Builder setUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateRecommenderConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateRecommenderConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateRecommenderConfigRequest.Builder

setValidateOnly(boolean value)

public UpdateRecommenderConfigRequest.Builder setValidateOnly(boolean value)

If true, validate the request and preview the change, but do not actually update it.

bool validate_only = 3;

Parameter
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
UpdateRecommenderConfigRequest.Builder

This builder for chaining.