Class Publishing

  • All Implemented Interfaces:
    PublishingOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Publishing
    extends com.google.protobuf.GeneratedMessageV3
    implements PublishingOrBuilder
     This message configures the settings for publishing [Google Cloud Client
     libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
     generated from the service config.
     
    Protobuf type google.api.Publishing
    See Also:
    Serialized Form
    • Field Detail

      • METHOD_SETTINGS_FIELD_NUMBER

        public static final int METHOD_SETTINGS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NEW_ISSUE_URI_FIELD_NUMBER

        public static final int NEW_ISSUE_URI_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DOCUMENTATION_URI_FIELD_NUMBER

        public static final int DOCUMENTATION_URI_FIELD_NUMBER
        See Also:
        Constant Field Values
      • API_SHORT_NAME_FIELD_NUMBER

        public static final int API_SHORT_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GITHUB_LABEL_FIELD_NUMBER

        public static final int GITHUB_LABEL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CODEOWNER_GITHUB_TEAMS_FIELD_NUMBER

        public static final int CODEOWNER_GITHUB_TEAMS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DOC_TAG_PREFIX_FIELD_NUMBER

        public static final int DOC_TAG_PREFIX_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ORGANIZATION_FIELD_NUMBER

        public static final int ORGANIZATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LIBRARY_SETTINGS_FIELD_NUMBER

        public static final int LIBRARY_SETTINGS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getMethodSettingsList

        public List<MethodSettings> getMethodSettingsList()
         A list of API method settings, e.g. the behavior for methods that use the
         long-running operation pattern.
         
        repeated .google.api.MethodSettings method_settings = 2;
        Specified by:
        getMethodSettingsList in interface PublishingOrBuilder
      • getMethodSettingsCount

        public int getMethodSettingsCount()
         A list of API method settings, e.g. the behavior for methods that use the
         long-running operation pattern.
         
        repeated .google.api.MethodSettings method_settings = 2;
        Specified by:
        getMethodSettingsCount in interface PublishingOrBuilder
      • getMethodSettings

        public MethodSettings getMethodSettings​(int index)
         A list of API method settings, e.g. the behavior for methods that use the
         long-running operation pattern.
         
        repeated .google.api.MethodSettings method_settings = 2;
        Specified by:
        getMethodSettings in interface PublishingOrBuilder
      • getMethodSettingsOrBuilder

        public MethodSettingsOrBuilder getMethodSettingsOrBuilder​(int index)
         A list of API method settings, e.g. the behavior for methods that use the
         long-running operation pattern.
         
        repeated .google.api.MethodSettings method_settings = 2;
        Specified by:
        getMethodSettingsOrBuilder in interface PublishingOrBuilder
      • getNewIssueUri

        public String getNewIssueUri()
         Link to a place that API users can report issues.  Example:
         https://issuetracker.google.com/issues/new?component=190865&template=1161103
         
        string new_issue_uri = 101;
        Specified by:
        getNewIssueUri in interface PublishingOrBuilder
        Returns:
        The newIssueUri.
      • getNewIssueUriBytes

        public com.google.protobuf.ByteString getNewIssueUriBytes()
         Link to a place that API users can report issues.  Example:
         https://issuetracker.google.com/issues/new?component=190865&template=1161103
         
        string new_issue_uri = 101;
        Specified by:
        getNewIssueUriBytes in interface PublishingOrBuilder
        Returns:
        The bytes for newIssueUri.
      • getDocumentationUri

        public String getDocumentationUri()
         Link to product home page.  Example:
         https://cloud.google.com/asset-inventory/docs/overview
         
        string documentation_uri = 102;
        Specified by:
        getDocumentationUri in interface PublishingOrBuilder
        Returns:
        The documentationUri.
      • getDocumentationUriBytes

        public com.google.protobuf.ByteString getDocumentationUriBytes()
         Link to product home page.  Example:
         https://cloud.google.com/asset-inventory/docs/overview
         
        string documentation_uri = 102;
        Specified by:
        getDocumentationUriBytes in interface PublishingOrBuilder
        Returns:
        The bytes for documentationUri.
      • getApiShortName

        public String getApiShortName()
         Used as a tracking tag when collecting data about the APIs developer
         relations artifacts like docs, packages delivered to package managers,
         etc.  Example: "speech".
         
        string api_short_name = 103;
        Specified by:
        getApiShortName in interface PublishingOrBuilder
        Returns:
        The apiShortName.
      • getApiShortNameBytes

        public com.google.protobuf.ByteString getApiShortNameBytes()
         Used as a tracking tag when collecting data about the APIs developer
         relations artifacts like docs, packages delivered to package managers,
         etc.  Example: "speech".
         
        string api_short_name = 103;
        Specified by:
        getApiShortNameBytes in interface PublishingOrBuilder
        Returns:
        The bytes for apiShortName.
      • getGithubLabel

        public String getGithubLabel()
         GitHub label to apply to issues and pull requests opened for this API.
         
        string github_label = 104;
        Specified by:
        getGithubLabel in interface PublishingOrBuilder
        Returns:
        The githubLabel.
      • getGithubLabelBytes

        public com.google.protobuf.ByteString getGithubLabelBytes()
         GitHub label to apply to issues and pull requests opened for this API.
         
        string github_label = 104;
        Specified by:
        getGithubLabelBytes in interface PublishingOrBuilder
        Returns:
        The bytes for githubLabel.
      • getCodeownerGithubTeamsList

        public com.google.protobuf.ProtocolStringList getCodeownerGithubTeamsList()
         GitHub teams to be added to CODEOWNERS in the directory in GitHub
         containing source code for the client libraries for this API.
         
        repeated string codeowner_github_teams = 105;
        Specified by:
        getCodeownerGithubTeamsList in interface PublishingOrBuilder
        Returns:
        A list containing the codeownerGithubTeams.
      • getCodeownerGithubTeamsCount

        public int getCodeownerGithubTeamsCount()
         GitHub teams to be added to CODEOWNERS in the directory in GitHub
         containing source code for the client libraries for this API.
         
        repeated string codeowner_github_teams = 105;
        Specified by:
        getCodeownerGithubTeamsCount in interface PublishingOrBuilder
        Returns:
        The count of codeownerGithubTeams.
      • getCodeownerGithubTeams

        public String getCodeownerGithubTeams​(int index)
         GitHub teams to be added to CODEOWNERS in the directory in GitHub
         containing source code for the client libraries for this API.
         
        repeated string codeowner_github_teams = 105;
        Specified by:
        getCodeownerGithubTeams in interface PublishingOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The codeownerGithubTeams at the given index.
      • getCodeownerGithubTeamsBytes

        public com.google.protobuf.ByteString getCodeownerGithubTeamsBytes​(int index)
         GitHub teams to be added to CODEOWNERS in the directory in GitHub
         containing source code for the client libraries for this API.
         
        repeated string codeowner_github_teams = 105;
        Specified by:
        getCodeownerGithubTeamsBytes in interface PublishingOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the codeownerGithubTeams at the given index.
      • getDocTagPrefix

        public String getDocTagPrefix()
         A prefix used in sample code when demarking regions to be included in
         documentation.
         
        string doc_tag_prefix = 106;
        Specified by:
        getDocTagPrefix in interface PublishingOrBuilder
        Returns:
        The docTagPrefix.
      • getDocTagPrefixBytes

        public com.google.protobuf.ByteString getDocTagPrefixBytes()
         A prefix used in sample code when demarking regions to be included in
         documentation.
         
        string doc_tag_prefix = 106;
        Specified by:
        getDocTagPrefixBytes in interface PublishingOrBuilder
        Returns:
        The bytes for docTagPrefix.
      • getOrganizationValue

        public int getOrganizationValue()
         For whom the client library is being published.
         
        .google.api.ClientLibraryOrganization organization = 107;
        Specified by:
        getOrganizationValue in interface PublishingOrBuilder
        Returns:
        The enum numeric value on the wire for organization.
      • getLibrarySettingsList

        public List<ClientLibrarySettings> getLibrarySettingsList()
         Client library settings.  If the same version string appears multiple
         times in this list, then the last one wins.  Settings from earlier
         settings with the same version string are discarded.
         
        repeated .google.api.ClientLibrarySettings library_settings = 109;
        Specified by:
        getLibrarySettingsList in interface PublishingOrBuilder
      • getLibrarySettingsOrBuilderList

        public List<? extends ClientLibrarySettingsOrBuilder> getLibrarySettingsOrBuilderList()
         Client library settings.  If the same version string appears multiple
         times in this list, then the last one wins.  Settings from earlier
         settings with the same version string are discarded.
         
        repeated .google.api.ClientLibrarySettings library_settings = 109;
        Specified by:
        getLibrarySettingsOrBuilderList in interface PublishingOrBuilder
      • getLibrarySettingsCount

        public int getLibrarySettingsCount()
         Client library settings.  If the same version string appears multiple
         times in this list, then the last one wins.  Settings from earlier
         settings with the same version string are discarded.
         
        repeated .google.api.ClientLibrarySettings library_settings = 109;
        Specified by:
        getLibrarySettingsCount in interface PublishingOrBuilder
      • getLibrarySettings

        public ClientLibrarySettings getLibrarySettings​(int index)
         Client library settings.  If the same version string appears multiple
         times in this list, then the last one wins.  Settings from earlier
         settings with the same version string are discarded.
         
        repeated .google.api.ClientLibrarySettings library_settings = 109;
        Specified by:
        getLibrarySettings in interface PublishingOrBuilder
      • getLibrarySettingsOrBuilder

        public ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder​(int index)
         Client library settings.  If the same version string appears multiple
         times in this list, then the last one wins.  Settings from earlier
         settings with the same version string are discarded.
         
        repeated .google.api.ClientLibrarySettings library_settings = 109;
        Specified by:
        getLibrarySettingsOrBuilder in interface PublishingOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Publishing parseFrom​(ByteBuffer data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Publishing parseFrom​(ByteBuffer data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Publishing parseFrom​(com.google.protobuf.ByteString data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Publishing parseFrom​(com.google.protobuf.ByteString data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Publishing parseFrom​(byte[] data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Publishing parseFrom​(byte[] data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Publishing parseFrom​(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Publishing.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Publishing.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Publishing.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Publishing getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Publishing> parser()
      • getParserForType

        public com.google.protobuf.Parser<Publishing> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Publishing getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder