Class HockeyPerformer.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Detail

      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        string name = 1;
        Specified by:
        getNameBytes in interface HockeyPerformerOrBuilder
        Returns:
        The bytes for name.
      • setName

        public HockeyPerformer.Builder setName​(java.lang.String value)
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public HockeyPerformer.Builder setNameBytes​(com.google.protobuf.ByteString value)
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getPhotoBytes

        public com.google.protobuf.ByteString getPhotoBytes()
        string photo = 2;
        Specified by:
        getPhotoBytes in interface HockeyPerformerOrBuilder
        Returns:
        The bytes for photo.
      • setPhoto

        public HockeyPerformer.Builder setPhoto​(java.lang.String value)
        string photo = 2;
        Parameters:
        value - The photo to set.
        Returns:
        This builder for chaining.
      • setPhotoBytes

        public HockeyPerformer.Builder setPhotoBytes​(com.google.protobuf.ByteString value)
        string photo = 2;
        Parameters:
        value - The bytes for photo to set.
        Returns:
        This builder for chaining.
      • setScore

        public HockeyPerformer.Builder setScore​(int value)
        int32 score = 3;
        Parameters:
        value - The score to set.
        Returns:
        This builder for chaining.