Class UpdateInsightTypeConfigRequest.Builder (2.6.0)

public static final class UpdateInsightTypeConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateInsightTypeConfigRequest.Builder> implements UpdateInsightTypeConfigRequestOrBuilder

Request for the UpdateInsightTypeConfig method.

Protobuf type google.cloud.recommender.v1.UpdateInsightTypeConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateInsightTypeConfigRequest build()
Returns
TypeDescription
UpdateInsightTypeConfigRequest

buildPartial()

public UpdateInsightTypeConfigRequest buildPartial()
Returns
TypeDescription
UpdateInsightTypeConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInsightTypeConfig()

public UpdateInsightTypeConfigRequest.Builder clearInsightTypeConfig()

Required. The InsightTypeConfig to update.

.google.cloud.recommender.v1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateInsightTypeConfigRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateInsightTypeConfigRequest.Builder clearUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateInsightTypeConfigRequest.Builder

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
TypeDescription
UpdateInsightTypeConfigRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public UpdateInsightTypeConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateInsightTypeConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInsightTypeConfig()

public InsightTypeConfig getInsightTypeConfig()

Required. The InsightTypeConfig to update.

.google.cloud.recommender.v1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
InsightTypeConfig

The insightTypeConfig.

getInsightTypeConfigBuilder()

public InsightTypeConfig.Builder getInsightTypeConfigBuilder()

Required. The InsightTypeConfig to update.

.google.cloud.recommender.v1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
InsightTypeConfig.Builder

getInsightTypeConfigOrBuilder()

public InsightTypeConfigOrBuilder getInsightTypeConfigOrBuilder()

Required. The InsightTypeConfig to update.

.google.cloud.recommender.v1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
InsightTypeConfigOrBuilder

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.

hasInsightTypeConfig()

public boolean hasInsightTypeConfig()

Required. The InsightTypeConfig to update.

.google.cloud.recommender.v1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
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(UpdateInsightTypeConfigRequest other)

public UpdateInsightTypeConfigRequest.Builder mergeFrom(UpdateInsightTypeConfigRequest other)
Parameter
NameDescription
otherUpdateInsightTypeConfigRequest
Returns
TypeDescription
UpdateInsightTypeConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInsightTypeConfig(InsightTypeConfig value)

public UpdateInsightTypeConfigRequest.Builder mergeInsightTypeConfig(InsightTypeConfig value)

Required. The InsightTypeConfig to update.

.google.cloud.recommender.v1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueInsightTypeConfig
Returns
TypeDescription
UpdateInsightTypeConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateInsightTypeConfigRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateInsightTypeConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInsightTypeConfig(InsightTypeConfig value)

public UpdateInsightTypeConfigRequest.Builder setInsightTypeConfig(InsightTypeConfig value)

Required. The InsightTypeConfig to update.

.google.cloud.recommender.v1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueInsightTypeConfig
Returns
TypeDescription
UpdateInsightTypeConfigRequest.Builder

setInsightTypeConfig(InsightTypeConfig.Builder builderForValue)

public UpdateInsightTypeConfigRequest.Builder setInsightTypeConfig(InsightTypeConfig.Builder builderForValue)

Required. The InsightTypeConfig to update.

.google.cloud.recommender.v1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueInsightTypeConfig.Builder
Returns
TypeDescription
UpdateInsightTypeConfigRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateInsightTypeConfigRequest.Builder setUpdateMask(FieldMask value)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateInsightTypeConfigRequest.Builder

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateInsightTypeConfigRequest.Builder

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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
UpdateInsightTypeConfigRequest.Builder

This builder for chaining.