public static final class UpdateInsightTypeConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateInsightTypeConfigRequest.Builder> implements UpdateInsightTypeConfigRequestOrBuilder
Request for the UpdateInsightTypeConfig
method.
Protobuf type google.cloud.recommender.v1beta1.UpdateInsightTypeConfigRequest
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateInsightTypeConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateInsightTypeConfigRequest build()
Returns
buildPartial()
public UpdateInsightTypeConfigRequest buildPartial()
Returns
clear()
public UpdateInsightTypeConfigRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateInsightTypeConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInsightTypeConfig()
public UpdateInsightTypeConfigRequest.Builder clearInsightTypeConfig()
Required. The InsightTypeConfig to update.
.google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateInsightTypeConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateInsightTypeConfigRequest.Builder clearUpdateMask()
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
clearValidateOnly()
public UpdateInsightTypeConfigRequest.Builder clearValidateOnly()
If true, validate the request and preview the change, but do not actually
update it.
bool validate_only = 3;
Returns
clone()
public UpdateInsightTypeConfigRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateInsightTypeConfigRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInsightTypeConfig()
public InsightTypeConfig getInsightTypeConfig()
Required. The InsightTypeConfig to update.
.google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getInsightTypeConfigBuilder()
public InsightTypeConfig.Builder getInsightTypeConfigBuilder()
Required. The InsightTypeConfig to update.
.google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getInsightTypeConfigOrBuilder()
public InsightTypeConfigOrBuilder getInsightTypeConfigOrBuilder()
Required. The InsightTypeConfig to update.
.google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_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.
|
hasInsightTypeConfig()
public boolean hasInsightTypeConfig()
Required. The InsightTypeConfig to update.
.google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the insightTypeConfig 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(UpdateInsightTypeConfigRequest other)
public UpdateInsightTypeConfigRequest.Builder mergeFrom(UpdateInsightTypeConfigRequest other)
Parameter
Returns
public UpdateInsightTypeConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateInsightTypeConfigRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeInsightTypeConfig(InsightTypeConfig value)
public UpdateInsightTypeConfigRequest.Builder mergeInsightTypeConfig(InsightTypeConfig value)
Required. The InsightTypeConfig to update.
.google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInsightTypeConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateInsightTypeConfigRequest.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 UpdateInsightTypeConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInsightTypeConfig(InsightTypeConfig value)
public UpdateInsightTypeConfigRequest.Builder setInsightTypeConfig(InsightTypeConfig value)
Required. The InsightTypeConfig to update.
.google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setInsightTypeConfig(InsightTypeConfig.Builder builderForValue)
public UpdateInsightTypeConfigRequest.Builder setInsightTypeConfig(InsightTypeConfig.Builder builderForValue)
Required. The InsightTypeConfig to update.
.google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateInsightTypeConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInsightTypeConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateInsightTypeConfigRequest.Builder setUpdateMask(FieldMask value)
The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateInsightTypeConfigRequest.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 UpdateInsightTypeConfigRequest.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