Class Signals.ConnectionWithTracks.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<Signals.ConnectionWithTracks.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<Signals.ConnectionWithTracks.Builder>
      • getDefaultInstanceForType

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

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

        public Signals.ConnectionWithTracks buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public Signals.ConnectionWithTracks.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                     int index,
                                                                     java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.ConnectionWithTracks.Builder>
      • addRepeatedField

        public Signals.ConnectionWithTracks.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                     java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Signals.ConnectionWithTracks.Builder>
      • isInitialized

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

        public Signals.ConnectionWithTracks.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws java.io.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<Signals.ConnectionWithTracks.Builder>
        Throws:
        java.io.IOException
      • setConnectionId

        public Signals.ConnectionWithTracks.Builder setConnectionId​(java.lang.String value)
        string connection_id = 1;
        Parameters:
        value - The connectionId to set.
        Returns:
        This builder for chaining.
      • setConnectionIdBytes

        public Signals.ConnectionWithTracks.Builder setConnectionIdBytes​(com.google.protobuf.ByteString value)
        string connection_id = 1;
        Parameters:
        value - The bytes for connectionId to set.
        Returns:
        This builder for chaining.
      • getTrackIds

        public java.lang.String getTrackIds​(int index)
        repeated string track_ids = 2;
        Specified by:
        getTrackIds in interface Signals.ConnectionWithTracksOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The trackIds at the given index.
      • getTrackIdsBytes

        public com.google.protobuf.ByteString getTrackIdsBytes​(int index)
        repeated string track_ids = 2;
        Specified by:
        getTrackIdsBytes in interface Signals.ConnectionWithTracksOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the trackIds at the given index.
      • setTrackIds

        public Signals.ConnectionWithTracks.Builder setTrackIds​(int index,
                                                                java.lang.String value)
        repeated string track_ids = 2;
        Parameters:
        index - The index to set the value at.
        value - The trackIds to set.
        Returns:
        This builder for chaining.
      • addTrackIds

        public Signals.ConnectionWithTracks.Builder addTrackIds​(java.lang.String value)
        repeated string track_ids = 2;
        Parameters:
        value - The trackIds to add.
        Returns:
        This builder for chaining.
      • addAllTrackIds

        public Signals.ConnectionWithTracks.Builder addAllTrackIds​(java.lang.Iterable<java.lang.String> values)
        repeated string track_ids = 2;
        Parameters:
        values - The trackIds to add.
        Returns:
        This builder for chaining.
      • addTrackIdsBytes

        public Signals.ConnectionWithTracks.Builder addTrackIdsBytes​(com.google.protobuf.ByteString value)
        repeated string track_ids = 2;
        Parameters:
        value - The bytes of the trackIds to add.
        Returns:
        This builder for chaining.