Class RanklistHourEntrance_Page.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RanklistHourEntrance_Page.Builder>
tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.RanklistHourEntrance_Page.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, RanklistHourEntrance_PageOrBuilder
Enclosing class:
RanklistHourEntrance_Page

public static final class RanklistHourEntrance_Page.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RanklistHourEntrance_Page.Builder> implements RanklistHourEntrance_PageOrBuilder
Protobuf type RanklistHourEntrance_Page
  • Method Details

    • 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<RanklistHourEntrance_Page.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<RanklistHourEntrance_Page.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<RanklistHourEntrance_Page.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<RanklistHourEntrance_Page.Builder>
    • setField

      public RanklistHourEntrance_Page.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<RanklistHourEntrance_Page.Builder>
    • clearField

      public RanklistHourEntrance_Page.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RanklistHourEntrance_Page.Builder>
    • clearOneof

      public RanklistHourEntrance_Page.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RanklistHourEntrance_Page.Builder>
    • setRepeatedField

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

      public RanklistHourEntrance_Page.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RanklistHourEntrance_Page.Builder>
    • mergeFrom

      public RanklistHourEntrance_Page.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RanklistHourEntrance_Page.Builder>
    • mergeFrom

    • isInitialized

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

      public RanklistHourEntrance_Page.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<RanklistHourEntrance_Page.Builder>
      Throws:
      IOException
    • getContent

      public String getContent()
       Content of the page
       
      string content = 1;
      Specified by:
      getContent in interface RanklistHourEntrance_PageOrBuilder
      Returns:
      The content.
    • getContentBytes

      public com.google.protobuf.ByteString getContentBytes()
       Content of the page
       
      string content = 1;
      Specified by:
      getContentBytes in interface RanklistHourEntrance_PageOrBuilder
      Returns:
      The bytes for content.
    • setContent

      public RanklistHourEntrance_Page.Builder setContent(String value)
       Content of the page
       
      string content = 1;
      Parameters:
      value - The content to set.
      Returns:
      This builder for chaining.
    • clearContent

      public RanklistHourEntrance_Page.Builder clearContent()
       Content of the page
       
      string content = 1;
      Returns:
      This builder for chaining.
    • setContentBytes

      public RanklistHourEntrance_Page.Builder setContentBytes(com.google.protobuf.ByteString value)
       Content of the page
       
      string content = 1;
      Parameters:
      value - The bytes for content to set.
      Returns:
      This builder for chaining.
    • getBackgroundColor

      public String getBackgroundColor()
       Background color of the page
       
      string background_color = 2;
      Specified by:
      getBackgroundColor in interface RanklistHourEntrance_PageOrBuilder
      Returns:
      The backgroundColor.
    • getBackgroundColorBytes

      public com.google.protobuf.ByteString getBackgroundColorBytes()
       Background color of the page
       
      string background_color = 2;
      Specified by:
      getBackgroundColorBytes in interface RanklistHourEntrance_PageOrBuilder
      Returns:
      The bytes for backgroundColor.
    • setBackgroundColor

      public RanklistHourEntrance_Page.Builder setBackgroundColor(String value)
       Background color of the page
       
      string background_color = 2;
      Parameters:
      value - The backgroundColor to set.
      Returns:
      This builder for chaining.
    • clearBackgroundColor

      public RanklistHourEntrance_Page.Builder clearBackgroundColor()
       Background color of the page
       
      string background_color = 2;
      Returns:
      This builder for chaining.
    • setBackgroundColorBytes

      public RanklistHourEntrance_Page.Builder setBackgroundColorBytes(com.google.protobuf.ByteString value)
       Background color of the page
       
      string background_color = 2;
      Parameters:
      value - The bytes for backgroundColor to set.
      Returns:
      This builder for chaining.
    • getShowTimes

      public long getShowTimes()
       Number of times the page is shown (or similar)
       
      int64 show_times = 3;
      Specified by:
      getShowTimes in interface RanklistHourEntrance_PageOrBuilder
      Returns:
      The showTimes.
    • setShowTimes

      public RanklistHourEntrance_Page.Builder setShowTimes(long value)
       Number of times the page is shown (or similar)
       
      int64 show_times = 3;
      Parameters:
      value - The showTimes to set.
      Returns:
      This builder for chaining.
    • clearShowTimes

      public RanklistHourEntrance_Page.Builder clearShowTimes()
       Number of times the page is shown (or similar)
       
      int64 show_times = 3;
      Returns:
      This builder for chaining.
    • getContentType

      public int getContentType()
       Type of the content
       
      int32 content_type = 4;
      Specified by:
      getContentType in interface RanklistHourEntrance_PageOrBuilder
      Returns:
      The contentType.
    • setContentType

      public RanklistHourEntrance_Page.Builder setContentType(int value)
       Type of the content
       
      int32 content_type = 4;
      Parameters:
      value - The contentType to set.
      Returns:
      This builder for chaining.
    • clearContentType

      public RanklistHourEntrance_Page.Builder clearContentType()
       Type of the content
       
      int32 content_type = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final RanklistHourEntrance_Page.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RanklistHourEntrance_Page.Builder>
    • mergeUnknownFields

      public final RanklistHourEntrance_Page.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<RanklistHourEntrance_Page.Builder>