Class Publishing (2.15.0)

public sealed class Publishing : IMessage<Publishing>, IEquatable<Publishing>, IDeepCloneable<Publishing>, IBufferMessage, IMessage

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

Inheritance

object > Publishing

Namespace

Google.Api

Assembly

Google.Api.CommonProtos.dll

Constructors

Publishing()

public Publishing()

Publishing(Publishing)

public Publishing(Publishing other)
Parameter
Name Description
other Publishing

Fields

ApiShortNameFieldNumber

public const int ApiShortNameFieldNumber = 103

Field number for the "api_short_name" field.

Field Value
Type Description
int

CodeownerGithubTeamsFieldNumber

public const int CodeownerGithubTeamsFieldNumber = 105

Field number for the "codeowner_github_teams" field.

Field Value
Type Description
int

DocTagPrefixFieldNumber

public const int DocTagPrefixFieldNumber = 106

Field number for the "doc_tag_prefix" field.

Field Value
Type Description
int

DocumentationUriFieldNumber

public const int DocumentationUriFieldNumber = 102

Field number for the "documentation_uri" field.

Field Value
Type Description
int

GithubLabelFieldNumber

public const int GithubLabelFieldNumber = 104

Field number for the "github_label" field.

Field Value
Type Description
int

LibrarySettingsFieldNumber

public const int LibrarySettingsFieldNumber = 109

Field number for the "library_settings" field.

Field Value
Type Description
int

MethodSettingsFieldNumber

public const int MethodSettingsFieldNumber = 2

Field number for the "method_settings" field.

Field Value
Type Description
int

NewIssueUriFieldNumber

public const int NewIssueUriFieldNumber = 101

Field number for the "new_issue_uri" field.

Field Value
Type Description
int

OrganizationFieldNumber

public const int OrganizationFieldNumber = 107

Field number for the "organization" field.

Field Value
Type Description
int

ProtoReferenceDocumentationUriFieldNumber

public const int ProtoReferenceDocumentationUriFieldNumber = 110

Field number for the "proto_reference_documentation_uri" field.

Field Value
Type Description
int

RestReferenceDocumentationUriFieldNumber

public const int RestReferenceDocumentationUriFieldNumber = 111

Field number for the "rest_reference_documentation_uri" field.

Field Value
Type Description
int

Properties

ApiShortName

public string ApiShortName { get; set; }

Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc. Example: "speech".

Property Value
Type Description
string

CodeownerGithubTeams

public RepeatedField<string> CodeownerGithubTeams { get; }

GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.

Property Value
Type Description
RepeatedFieldstring

Descriptor

public static MessageDescriptor Descriptor { get; }
Property Value
Type Description
MessageDescriptor

DocTagPrefix

public string DocTagPrefix { get; set; }

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

Property Value
Type Description
string

DocumentationUri

public string DocumentationUri { get; set; }

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

Property Value
Type Description
string

GithubLabel

public string GithubLabel { get; set; }

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

Property Value
Type Description
string

LibrarySettings

public RepeatedField<ClientLibrarySettings> LibrarySettings { get; }

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.

Property Value
Type Description
RepeatedFieldClientLibrarySettings

MethodSettings

public RepeatedField<MethodSettings> MethodSettings { get; }

A list of API method settings, e.g. the behavior for methods that use the long-running operation pattern.

Property Value
Type Description
RepeatedFieldMethodSettings

NewIssueUri

public string NewIssueUri { get; set; }

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

Property Value
Type Description
string

Organization

public ClientLibraryOrganization Organization { get; set; }

For whom the client library is being published.

Property Value
Type Description
ClientLibraryOrganization

Parser

public static MessageParser<Publishing> Parser { get; }
Property Value
Type Description
MessageParserPublishing

ProtoReferenceDocumentationUri

public string ProtoReferenceDocumentationUri { get; set; }

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

Property Value
Type Description
string

RestReferenceDocumentationUri

public string RestReferenceDocumentationUri { get; set; }

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

Property Value
Type Description
string

Methods

CalculateSize()

public int CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

Returns
Type Description
int

The number of bytes required to write this message to a coded output stream.

Clone()

public Publishing Clone()

Creates a deep clone of this object.

Returns
Type Description
Publishing

A deep clone of this object.

Equals(Publishing)

public bool Equals(Publishing other)
Parameter
Name Description
other Publishing
Returns
Type Description
bool

Equals(object)

public override bool Equals(object other)
Parameter
Name Description
other object
Returns
Type Description
bool
Overrides

GetHashCode()

public override int GetHashCode()
Returns
Type Description
int
Overrides

MergeFrom(Publishing)

public void MergeFrom(Publishing other)

Merges the given message into this one.

Parameter
Name Description
other Publishing
Remarks

See the user guide for precise merge semantics.

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Merges the data from the specified coded input stream with the current message.

Parameter
Name Description
input CodedInputStream
Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()
Returns
Type Description
string
Overrides

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Writes the data to the given coded output stream.

Parameter
Name Description
output CodedOutputStream

Coded output stream to write the data to. Must not be null.