Class Recommendation.InsightReference.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<Recommendation.InsightReference.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<Recommendation.InsightReference.Builder>
      • getDefaultInstanceForType

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

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

        public Recommendation.InsightReference 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<Recommendation.InsightReference.Builder>
      • getInsight

        public String getInsight()
         Insight resource name, e.g.
         projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID]
         
        string insight = 1;
        Specified by:
        getInsight in interface Recommendation.InsightReferenceOrBuilder
        Returns:
        The insight.
      • getInsightBytes

        public com.google.protobuf.ByteString getInsightBytes()
         Insight resource name, e.g.
         projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID]
         
        string insight = 1;
        Specified by:
        getInsightBytes in interface Recommendation.InsightReferenceOrBuilder
        Returns:
        The bytes for insight.
      • setInsight

        public Recommendation.InsightReference.Builder setInsight​(String value)
         Insight resource name, e.g.
         projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID]
         
        string insight = 1;
        Parameters:
        value - The insight to set.
        Returns:
        This builder for chaining.
      • clearInsight

        public Recommendation.InsightReference.Builder clearInsight()
         Insight resource name, e.g.
         projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID]
         
        string insight = 1;
        Returns:
        This builder for chaining.
      • setInsightBytes

        public Recommendation.InsightReference.Builder setInsightBytes​(com.google.protobuf.ByteString value)
         Insight resource name, e.g.
         projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID]
         
        string insight = 1;
        Parameters:
        value - The bytes for insight to set.
        Returns:
        This builder for chaining.