Class ServingAPIProto.FeatureList.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<ServingAPIProto.FeatureList.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<ServingAPIProto.FeatureList.Builder>
      • getDefaultInstanceForType

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

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

        public ServingAPIProto.FeatureList 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<ServingAPIProto.FeatureList.Builder>
      • mergeFrom

        public ServingAPIProto.FeatureList.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServingAPIProto.FeatureList.Builder>
        Throws:
        IOException
      • getValBytes

        public com.google.protobuf.ByteString getValBytes​(int index)
        repeated string val = 1;
        Specified by:
        getValBytes in interface ServingAPIProto.FeatureListOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the val at the given index.
      • setVal

        public ServingAPIProto.FeatureList.Builder setVal​(int index,
                                                          String value)
        repeated string val = 1;
        Parameters:
        index - The index to set the value at.
        value - The val to set.
        Returns:
        This builder for chaining.
      • addValBytes

        public ServingAPIProto.FeatureList.Builder addValBytes​(com.google.protobuf.ByteString value)
        repeated string val = 1;
        Parameters:
        value - The bytes of the val to add.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final ServingAPIProto.FeatureList.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServingAPIProto.FeatureList.Builder>