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
Static Fields
API_SHORT_NAME_FIELD_NUMBER
public static final int API_SHORT_NAME_FIELD_NUMBER
Field Value
CODEOWNER_GITHUB_TEAMS_FIELD_NUMBER
public static final int CODEOWNER_GITHUB_TEAMS_FIELD_NUMBER
Field Value
DOCUMENTATION_URI_FIELD_NUMBER
public static final int DOCUMENTATION_URI_FIELD_NUMBER
Field Value
DOC_TAG_PREFIX_FIELD_NUMBER
public static final int DOC_TAG_PREFIX_FIELD_NUMBER
Field Value
GITHUB_LABEL_FIELD_NUMBER
public static final int GITHUB_LABEL_FIELD_NUMBER
Field Value
LIBRARY_SETTINGS_FIELD_NUMBER
public static final int LIBRARY_SETTINGS_FIELD_NUMBER
Field Value
METHOD_SETTINGS_FIELD_NUMBER
public static final int METHOD_SETTINGS_FIELD_NUMBER
Field Value
NEW_ISSUE_URI_FIELD_NUMBER
public static final int NEW_ISSUE_URI_FIELD_NUMBER
Field Value
ORGANIZATION_FIELD_NUMBER
public static final int ORGANIZATION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Publishing getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Publishing.Builder newBuilder()
Returns
newBuilder(Publishing prototype)
public static Publishing.Builder newBuilder(Publishing prototype)
Parameter
Returns
public static Publishing parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Publishing parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Publishing parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Publishing parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Publishing parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Publishing parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Publishing parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Publishing parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Publishing parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Publishing parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Publishing parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Publishing parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Publishing> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Type | Description |
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
Type | Description |
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
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
Type | Description |
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
getDefaultInstanceForType()
public Publishing getDefaultInstanceForType()
Returns
getDocTagPrefix()
public String getDocTagPrefix()
A prefix used in sample code when demarking regions to be included in
documentation.
string doc_tag_prefix = 106;
Returns
Type | Description |
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
Type | Description |
ByteString | The bytes for docTagPrefix.
|
getDocumentationUri()
public String getDocumentationUri()
Returns
Type | Description |
String | The documentationUri.
|
getDocumentationUriBytes()
public ByteString getDocumentationUriBytes()
Returns
Type | Description |
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
Type | Description |
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
Type | Description |
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
Returns
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
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
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
Returns
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
Type | Description |
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
Returns
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
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
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
Returns
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
Type | Description |
List<? extends com.google.api.MethodSettingsOrBuilder> | |
getNewIssueUri()
public String getNewIssueUri()
Returns
Type | Description |
String | The newIssueUri.
|
getNewIssueUriBytes()
public ByteString getNewIssueUriBytes()
Returns
Type | Description |
ByteString | The bytes for newIssueUri.
|
getOrganization()
public ClientLibraryOrganization getOrganization()
For whom the client library is being published.
.google.api.ClientLibraryOrganization organization = 107;
Returns
getOrganizationValue()
public int getOrganizationValue()
For whom the client library is being published.
.google.api.ClientLibraryOrganization organization = 107;
Returns
Type | Description |
int | The enum numeric value on the wire for organization.
|
getParserForType()
public Parser<Publishing> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Publishing.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Publishing.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Publishing.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions