public static final class UpdateServingConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateServingConfigRequest.Builder> implements UpdateServingConfigRequestOrBuilder
Request for UpdateServingConfig method.
Protobuf type google.cloud.retail.v2alpha.UpdateServingConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateServingConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateServingConfigRequest build()
buildPartial()
public UpdateServingConfigRequest buildPartial()
clear()
public UpdateServingConfigRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateServingConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateServingConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearServingConfig()
public UpdateServingConfigRequest.Builder clearServingConfig()
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdateServingConfigRequest.Builder clearUpdateMask()
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
- ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
clone()
public UpdateServingConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateServingConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getServingConfig()
public ServingConfig getServingConfig()
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
getServingConfigBuilder()
public ServingConfig.Builder getServingConfigBuilder()
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
getServingConfigOrBuilder()
public ServingConfigOrBuilder getServingConfigOrBuilder()
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
- ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
- ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
- ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
hasServingConfig()
public boolean hasServingConfig()
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the servingConfig field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
- ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateServingConfigRequest other)
public UpdateServingConfigRequest.Builder mergeFrom(UpdateServingConfigRequest other)
public UpdateServingConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateServingConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeServingConfig(ServingConfig value)
public UpdateServingConfigRequest.Builder mergeServingConfig(ServingConfig value)
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateServingConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateServingConfigRequest.Builder mergeUpdateMask(FieldMask value)
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
- ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateServingConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateServingConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setServingConfig(ServingConfig value)
public UpdateServingConfigRequest.Builder setServingConfig(ServingConfig value)
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
setServingConfig(ServingConfig.Builder builderForValue)
public UpdateServingConfigRequest.Builder setServingConfig(ServingConfig.Builder builderForValue)
Required. The ServingConfig to update.
.google.cloud.retail.v2alpha.ServingConfig serving_config = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateServingConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateServingConfigRequest.Builder setUpdateMask(FieldMask value)
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
- ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateServingConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Indicates which fields in the provided
ServingConfig to update. The
following are NOT supported:
- ServingConfig.name
If not set, all supported fields are updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter |
---|
Name | Description |
builderForValue | Builder
|