Class PublisherModel.Documentation.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<PublisherModel.Documentation.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<PublisherModel.Documentation.Builder>
      • getDefaultInstanceForType

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

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

        public PublisherModel.Documentation 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<PublisherModel.Documentation.Builder>
      • mergeFrom

        public PublisherModel.Documentation.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<PublisherModel.Documentation.Builder>
        Throws:
        IOException
      • getTitle

        public String getTitle()
         Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA,
         NODE.JS, etc..
         
        string title = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTitle in interface PublisherModel.DocumentationOrBuilder
        Returns:
        The title.
      • getTitleBytes

        public com.google.protobuf.ByteString getTitleBytes()
         Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA,
         NODE.JS, etc..
         
        string title = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTitleBytes in interface PublisherModel.DocumentationOrBuilder
        Returns:
        The bytes for title.
      • setTitle

        public PublisherModel.Documentation.Builder setTitle​(String value)
         Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA,
         NODE.JS, etc..
         
        string title = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The title to set.
        Returns:
        This builder for chaining.
      • clearTitle

        public PublisherModel.Documentation.Builder clearTitle()
         Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA,
         NODE.JS, etc..
         
        string title = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setTitleBytes

        public PublisherModel.Documentation.Builder setTitleBytes​(com.google.protobuf.ByteString value)
         Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA,
         NODE.JS, etc..
         
        string title = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for title to set.
        Returns:
        This builder for chaining.
      • getContent

        public String getContent()
         Required. Content of this piece of document (in Markdown format).
         
        string content = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getContent in interface PublisherModel.DocumentationOrBuilder
        Returns:
        The content.
      • getContentBytes

        public com.google.protobuf.ByteString getContentBytes()
         Required. Content of this piece of document (in Markdown format).
         
        string content = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getContentBytes in interface PublisherModel.DocumentationOrBuilder
        Returns:
        The bytes for content.
      • setContent

        public PublisherModel.Documentation.Builder setContent​(String value)
         Required. Content of this piece of document (in Markdown format).
         
        string content = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The content to set.
        Returns:
        This builder for chaining.
      • clearContent

        public PublisherModel.Documentation.Builder clearContent()
         Required. Content of this piece of document (in Markdown format).
         
        string content = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setContentBytes

        public PublisherModel.Documentation.Builder setContentBytes​(com.google.protobuf.ByteString value)
         Required. Content of this piece of document (in Markdown format).
         
        string content = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for content to set.
        Returns:
        This builder for chaining.