Send feedback
Class UpdateRecommenderConfigRequest.Builder (2.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.5.0 keyboard_arrow_down
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateRecommenderConfigRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public UpdateRecommenderConfigRequest build ()
Returns
buildPartial()
public UpdateRecommenderConfigRequest buildPartial ()
Returns
clear()
public UpdateRecommenderConfigRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateRecommenderConfigRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateRecommenderConfigRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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
clearUpdateMask()
public UpdateRecommenderConfigRequest . Builder clearUpdateMask ()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
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
clone()
public UpdateRecommenderConfigRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public UpdateRecommenderConfigRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getRecommenderConfig()
public RecommenderConfig getRecommenderConfig ()
Required. The RecommenderConfig to update.
.google.cloud.recommender.v1.RecommenderConfig recommender_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getRecommenderConfigBuilder()
public RecommenderConfig . Builder getRecommenderConfigBuilder ()
Required. The RecommenderConfig to update.
.google.cloud.recommender.v1.RecommenderConfig recommender_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getRecommenderConfigOrBuilder()
public RecommenderConfigOrBuilder getRecommenderConfigOrBuilder ()
Required. The RecommenderConfig to update.
.google.cloud.recommender.v1.RecommenderConfig recommender_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask ()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask . Builder getUpdateMaskBuilder ()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getValidateOnly()
public boolean getValidateOnly ()
If true, validate the request and preview the change, but do not actually
update it.
bool validate_only = 3;
Returns
Type Description 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
Type Description 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
Type Description boolean Whether the updateMask field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(UpdateRecommenderConfigRequest other)
public UpdateRecommenderConfigRequest . Builder mergeFrom ( UpdateRecommenderConfigRequest other )
Parameter
Returns
public UpdateRecommenderConfigRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateRecommenderConfigRequest . Builder mergeFrom ( Message other )
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateRecommenderConfigRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateRecommenderConfigRequest . Builder mergeUpdateMask ( FieldMask value )
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateRecommenderConfigRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateRecommenderConfigRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateRecommenderConfigRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateRecommenderConfigRequest . Builder setUpdateMask ( FieldMask value )
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
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
Name Description builderForValue Builder
Returns
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
Name Description value boolean
The validateOnly to set.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]