Class UpdateInsightTypeConfigRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInsightTypeConfigRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInsightTypeConfigRequest.Builder>
      • getDefaultInstanceForType

        public UpdateInsightTypeConfigRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UpdateInsightTypeConfigRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UpdateInsightTypeConfigRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateInsightTypeConfigRequest.Builder>
      • hasInsightTypeConfig

        public boolean hasInsightTypeConfig()
         Required. The InsightTypeConfig to update.
         
        .google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasInsightTypeConfig in interface UpdateInsightTypeConfigRequestOrBuilder
        Returns:
        Whether the insightTypeConfig field is set.
      • setInsightTypeConfig

        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];
      • mergeInsightTypeConfig

        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];
      • clearInsightTypeConfig

        public UpdateInsightTypeConfigRequest.Builder clearInsightTypeConfig()
         Required. The InsightTypeConfig to update.
         
        .google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];
      • getInsightTypeConfigBuilder

        public InsightTypeConfig.Builder getInsightTypeConfigBuilder()
         Required. The InsightTypeConfig to update.
         
        .google.cloud.recommender.v1beta1.InsightTypeConfig insight_type_config = 1 [(.google.api.field_behavior) = REQUIRED];
      • setUpdateMask

        public UpdateInsightTypeConfigRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • setUpdateMask

        public UpdateInsightTypeConfigRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • mergeUpdateMask

        public UpdateInsightTypeConfigRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • getValidateOnly

        public boolean getValidateOnly()
         If true, validate the request and preview the change, but do not actually
         update it.
         
        bool validate_only = 3;
        Specified by:
        getValidateOnly in interface UpdateInsightTypeConfigRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        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;
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.