Class Publishing (2.32.0)

public final class Publishing extends GeneratedMessageV3 implements PublishingOrBuilder

This message configures the settings for publishing Google Cloud Client libraries generated from the service config.

Protobuf type google.api.Publishing

Implements

PublishingOrBuilder

Static Fields

API_SHORT_NAME_FIELD_NUMBER

public static final int API_SHORT_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

CODEOWNER_GITHUB_TEAMS_FIELD_NUMBER

public static final int CODEOWNER_GITHUB_TEAMS_FIELD_NUMBER
Field Value
TypeDescription
int

DOCUMENTATION_URI_FIELD_NUMBER

public static final int DOCUMENTATION_URI_FIELD_NUMBER
Field Value
TypeDescription
int

DOC_TAG_PREFIX_FIELD_NUMBER

public static final int DOC_TAG_PREFIX_FIELD_NUMBER
Field Value
TypeDescription
int

GITHUB_LABEL_FIELD_NUMBER

public static final int GITHUB_LABEL_FIELD_NUMBER
Field Value
TypeDescription
int

LIBRARY_SETTINGS_FIELD_NUMBER

public static final int LIBRARY_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

METHOD_SETTINGS_FIELD_NUMBER

public static final int METHOD_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

NEW_ISSUE_URI_FIELD_NUMBER

public static final int NEW_ISSUE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

ORGANIZATION_FIELD_NUMBER

public static final int ORGANIZATION_FIELD_NUMBER
Field Value
TypeDescription
int

PROTO_REFERENCE_DOCUMENTATION_URI_FIELD_NUMBER

public static final int PROTO_REFERENCE_DOCUMENTATION_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Publishing getDefaultInstance()
Returns
TypeDescription
Publishing

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Publishing.Builder newBuilder()
Returns
TypeDescription
Publishing.Builder

newBuilder(Publishing prototype)

public static Publishing.Builder newBuilder(Publishing prototype)
Parameter
NameDescription
prototypePublishing
Returns
TypeDescription
Publishing.Builder

parseDelimitedFrom(InputStream input)

public static Publishing parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Publishing
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Publishing parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Publishing
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Publishing parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Publishing
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Publishing parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Publishing
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Publishing parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Publishing
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Publishing parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Publishing
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Publishing parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Publishing
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Publishing parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Publishing
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Publishing parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Publishing
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Publishing parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Publishing
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Publishing parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Publishing
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Publishing parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Publishing
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Publishing> parser()
Returns
TypeDescription
Parser<Publishing>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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;

Returns
TypeDescription
String

The apiShortName.

getApiShortNameBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for apiShortName.

getCodeownerGithubTeams(int index)

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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The codeownerGithubTeams at the given index.

getCodeownerGithubTeamsBytes(int index)

public 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the codeownerGithubTeams at the given index.

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;

Returns
TypeDescription
int

The count of codeownerGithubTeams.

getCodeownerGithubTeamsList()

public 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;

Returns
TypeDescription
ProtocolStringList

A list containing the codeownerGithubTeams.

getDefaultInstanceForType()

public Publishing getDefaultInstanceForType()
Returns
TypeDescription
Publishing

getDocTagPrefix()

public String getDocTagPrefix()

A prefix used in sample code when demarking regions to be included in documentation.

string doc_tag_prefix = 106;

Returns
TypeDescription
String

The docTagPrefix.

getDocTagPrefixBytes()

public ByteString getDocTagPrefixBytes()

A prefix used in sample code when demarking regions to be included in documentation.

string doc_tag_prefix = 106;

Returns
TypeDescription
ByteString

The bytes for docTagPrefix.

getDocumentationUri()

public String getDocumentationUri()

Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview

string documentation_uri = 102;

Returns
TypeDescription
String

The documentationUri.

getDocumentationUriBytes()

public ByteString getDocumentationUriBytes()

Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview

string documentation_uri = 102;

Returns
TypeDescription
ByteString

The bytes for documentationUri.

getGithubLabel()

public String getGithubLabel()

GitHub label to apply to issues and pull requests opened for this API.

string github_label = 104;

Returns
TypeDescription
String

The githubLabel.

getGithubLabelBytes()

public ByteString getGithubLabelBytes()

GitHub label to apply to issues and pull requests opened for this API.

string github_label = 104;

Returns
TypeDescription
ByteString

The bytes for githubLabel.

getLibrarySettings(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
ClientLibrarySettings

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;

Returns
TypeDescription
int

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;

Returns
TypeDescription
List<ClientLibrarySettings>

getLibrarySettingsOrBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
ClientLibrarySettingsOrBuilder

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;

Returns
TypeDescription
List<? extends com.google.api.ClientLibrarySettingsOrBuilder>

getMethodSettings(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
MethodSettings

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;

Returns
TypeDescription
int

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;

Returns
TypeDescription
List<MethodSettings>

getMethodSettingsOrBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
MethodSettingsOrBuilder

getMethodSettingsOrBuilderList()

public List<? extends MethodSettingsOrBuilder> getMethodSettingsOrBuilderList()

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;

Returns
TypeDescription
List<? extends com.google.api.MethodSettingsOrBuilder>

getNewIssueUri()

public String getNewIssueUri()

Link to a public URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103

string new_issue_uri = 101;

Returns
TypeDescription
String

The newIssueUri.

getNewIssueUriBytes()

public ByteString getNewIssueUriBytes()

Link to a public URI where users can report issues. Example: https://issuetracker.google.com/issues/new?component=190865&template=1161103

string new_issue_uri = 101;

Returns
TypeDescription
ByteString

The bytes for newIssueUri.

getOrganization()

public ClientLibraryOrganization getOrganization()

For whom the client library is being published.

.google.api.ClientLibraryOrganization organization = 107;

Returns
TypeDescription
ClientLibraryOrganization

The organization.

getOrganizationValue()

public int getOrganizationValue()

For whom the client library is being published.

.google.api.ClientLibraryOrganization organization = 107;

Returns
TypeDescription
int

The enum numeric value on the wire for organization.

getParserForType()

public Parser<Publishing> getParserForType()
Returns
TypeDescription
Parser<Publishing>
Overrides

getProtoReferenceDocumentationUri()

public String getProtoReferenceDocumentationUri()

Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc

string proto_reference_documentation_uri = 110;

Returns
TypeDescription
String

The protoReferenceDocumentationUri.

getProtoReferenceDocumentationUriBytes()

public ByteString getProtoReferenceDocumentationUriBytes()

Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc

string proto_reference_documentation_uri = 110;

Returns
TypeDescription
ByteString

The bytes for protoReferenceDocumentationUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Publishing.Builder newBuilderForType()
Returns
TypeDescription
Publishing.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Publishing.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Publishing.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Publishing.Builder toBuilder()
Returns
TypeDescription
Publishing.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException