Class Publishing.Builder (2.39.1)

public static final class Publishing.Builder extends GeneratedMessageV3.Builder<Publishing.Builder> 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 Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllCodeownerGithubTeams(Iterable<String> values)

public Publishing.Builder addAllCodeownerGithubTeams(Iterable<String> values)

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
values Iterable<String>

The codeownerGithubTeams to add.

Returns
Type Description
Publishing.Builder

This builder for chaining.

addAllLibrarySettings(Iterable<? extends ClientLibrarySettings> values)

public Publishing.Builder addAllLibrarySettings(Iterable<? extends ClientLibrarySettings> values)

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
Name Description
values Iterable<? extends com.google.api.ClientLibrarySettings>
Returns
Type Description
Publishing.Builder

addAllMethodSettings(Iterable<? extends MethodSettings> values)

public Publishing.Builder addAllMethodSettings(Iterable<? extends MethodSettings> values)

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
Name Description
values Iterable<? extends com.google.api.MethodSettings>
Returns
Type Description
Publishing.Builder

addCodeownerGithubTeams(String value)

public Publishing.Builder addCodeownerGithubTeams(String value)

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
value String

The codeownerGithubTeams to add.

Returns
Type Description
Publishing.Builder

This builder for chaining.

addCodeownerGithubTeamsBytes(ByteString value)

public Publishing.Builder addCodeownerGithubTeamsBytes(ByteString value)

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
value ByteString

The bytes of the codeownerGithubTeams to add.

Returns
Type Description
Publishing.Builder

This builder for chaining.

addLibrarySettings(ClientLibrarySettings value)

public Publishing.Builder addLibrarySettings(ClientLibrarySettings value)

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
Name Description
value ClientLibrarySettings
Returns
Type Description
Publishing.Builder

addLibrarySettings(ClientLibrarySettings.Builder builderForValue)

public Publishing.Builder addLibrarySettings(ClientLibrarySettings.Builder builderForValue)

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
Name Description
builderForValue ClientLibrarySettings.Builder
Returns
Type Description
Publishing.Builder

addLibrarySettings(int index, ClientLibrarySettings value)

public Publishing.Builder addLibrarySettings(int index, ClientLibrarySettings value)

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;

Parameters
Name Description
index int
value ClientLibrarySettings
Returns
Type Description
Publishing.Builder

addLibrarySettings(int index, ClientLibrarySettings.Builder builderForValue)

public Publishing.Builder addLibrarySettings(int index, ClientLibrarySettings.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ClientLibrarySettings.Builder
Returns
Type Description
Publishing.Builder

addLibrarySettingsBuilder()

public ClientLibrarySettings.Builder addLibrarySettingsBuilder()

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
ClientLibrarySettings.Builder

addLibrarySettingsBuilder(int index)

public ClientLibrarySettings.Builder addLibrarySettingsBuilder(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
Name Description
index int
Returns
Type Description
ClientLibrarySettings.Builder

addMethodSettings(MethodSettings value)

public Publishing.Builder addMethodSettings(MethodSettings value)

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
Name Description
value MethodSettings
Returns
Type Description
Publishing.Builder

addMethodSettings(MethodSettings.Builder builderForValue)

public Publishing.Builder addMethodSettings(MethodSettings.Builder builderForValue)

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
Name Description
builderForValue MethodSettings.Builder
Returns
Type Description
Publishing.Builder

addMethodSettings(int index, MethodSettings value)

public Publishing.Builder addMethodSettings(int index, MethodSettings value)

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;

Parameters
Name Description
index int
value MethodSettings
Returns
Type Description
Publishing.Builder

addMethodSettings(int index, MethodSettings.Builder builderForValue)

public Publishing.Builder addMethodSettings(int index, MethodSettings.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue MethodSettings.Builder
Returns
Type Description
Publishing.Builder

addMethodSettingsBuilder()

public MethodSettings.Builder addMethodSettingsBuilder()

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
MethodSettings.Builder

addMethodSettingsBuilder(int index)

public MethodSettings.Builder addMethodSettingsBuilder(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
Name Description
index int
Returns
Type Description
MethodSettings.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Publishing.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Publishing.Builder
Overrides

build()

public Publishing build()
Returns
Type Description
Publishing

buildPartial()

public Publishing buildPartial()
Returns
Type Description
Publishing

clear()

public Publishing.Builder clear()
Returns
Type Description
Publishing.Builder
Overrides

clearApiShortName()

public Publishing.Builder clearApiShortName()

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
Publishing.Builder

This builder for chaining.

clearCodeownerGithubTeams()

public Publishing.Builder clearCodeownerGithubTeams()

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
Publishing.Builder

This builder for chaining.

clearDocTagPrefix()

public Publishing.Builder clearDocTagPrefix()

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

string doc_tag_prefix = 106;

Returns
Type Description
Publishing.Builder

This builder for chaining.

clearDocumentationUri()

public Publishing.Builder clearDocumentationUri()

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

string documentation_uri = 102;

Returns
Type Description
Publishing.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Publishing.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Publishing.Builder
Overrides

clearGithubLabel()

public Publishing.Builder clearGithubLabel()

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

string github_label = 104;

Returns
Type Description
Publishing.Builder

This builder for chaining.

clearLibrarySettings()

public Publishing.Builder clearLibrarySettings()

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
Publishing.Builder

clearMethodSettings()

public Publishing.Builder clearMethodSettings()

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
Publishing.Builder

clearNewIssueUri()

public Publishing.Builder clearNewIssueUri()

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
Type Description
Publishing.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Publishing.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Publishing.Builder
Overrides

clearOrganization()

public Publishing.Builder clearOrganization()

For whom the client library is being published.

.google.api.ClientLibraryOrganization organization = 107;

Returns
Type Description
Publishing.Builder

This builder for chaining.

clearProtoReferenceDocumentationUri()

public Publishing.Builder clearProtoReferenceDocumentationUri()

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

string proto_reference_documentation_uri = 110;

Returns
Type Description
Publishing.Builder

This builder for chaining.

clearRestReferenceDocumentationUri()

public Publishing.Builder clearRestReferenceDocumentationUri()

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

string rest_reference_documentation_uri = 111;

Returns
Type Description
Publishing.Builder

This builder for chaining.

clone()

public Publishing.Builder clone()
Returns
Type Description
Publishing.Builder
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
Type Description
ProtocolStringList

A list containing the codeownerGithubTeams.

getDefaultInstanceForType()

public Publishing getDefaultInstanceForType()
Returns
Type Description
Publishing

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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()

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

string documentation_uri = 102;

Returns
Type Description
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
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
Name Description
index int
Returns
Type Description
ClientLibrarySettings

getLibrarySettingsBuilder(int index)

public ClientLibrarySettings.Builder getLibrarySettingsBuilder(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
Name Description
index int
Returns
Type Description
ClientLibrarySettings.Builder

getLibrarySettingsBuilderList()

public List<ClientLibrarySettings.Builder> getLibrarySettingsBuilderList()

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<Builder>

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
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
Name Description
index int
Returns
Type Description
MethodSettings

getMethodSettingsBuilder(int index)

public MethodSettings.Builder getMethodSettingsBuilder(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
Name Description
index int
Returns
Type Description
MethodSettings.Builder

getMethodSettingsBuilderList()

public List<MethodSettings.Builder> getMethodSettingsBuilderList()

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<Builder>

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
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
Type Description
ClientLibraryOrganization

The organization.

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.

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
Type Description
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
Type Description
ByteString

The bytes for protoReferenceDocumentationUri.

getRestReferenceDocumentationUri()

public String getRestReferenceDocumentationUri()

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

string rest_reference_documentation_uri = 111;

Returns
Type Description
String

The restReferenceDocumentationUri.

getRestReferenceDocumentationUriBytes()

public ByteString getRestReferenceDocumentationUriBytes()

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

string rest_reference_documentation_uri = 111;

Returns
Type Description
ByteString

The bytes for restReferenceDocumentationUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Publishing other)

public Publishing.Builder mergeFrom(Publishing other)
Parameter
Name Description
other Publishing
Returns
Type Description
Publishing.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Publishing.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Publishing.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Publishing.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Publishing.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Publishing.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Publishing.Builder
Overrides

removeLibrarySettings(int index)

public Publishing.Builder removeLibrarySettings(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
Name Description
index int
Returns
Type Description
Publishing.Builder

removeMethodSettings(int index)

public Publishing.Builder removeMethodSettings(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
Name Description
index int
Returns
Type Description
Publishing.Builder

setApiShortName(String value)

public Publishing.Builder setApiShortName(String value)

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;

Parameter
Name Description
value String

The apiShortName to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setApiShortNameBytes(ByteString value)

public Publishing.Builder setApiShortNameBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for apiShortName to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setCodeownerGithubTeams(int index, String value)

public Publishing.Builder setCodeownerGithubTeams(int index, String value)

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;

Parameters
Name Description
index int

The index to set the value at.

value String

The codeownerGithubTeams to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setDocTagPrefix(String value)

public Publishing.Builder setDocTagPrefix(String value)

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

string doc_tag_prefix = 106;

Parameter
Name Description
value String

The docTagPrefix to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setDocTagPrefixBytes(ByteString value)

public Publishing.Builder setDocTagPrefixBytes(ByteString value)

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

string doc_tag_prefix = 106;

Parameter
Name Description
value ByteString

The bytes for docTagPrefix to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setDocumentationUri(String value)

public Publishing.Builder setDocumentationUri(String value)

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

string documentation_uri = 102;

Parameter
Name Description
value String

The documentationUri to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setDocumentationUriBytes(ByteString value)

public Publishing.Builder setDocumentationUriBytes(ByteString value)

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

string documentation_uri = 102;

Parameter
Name Description
value ByteString

The bytes for documentationUri to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Publishing.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Publishing.Builder
Overrides

setGithubLabel(String value)

public Publishing.Builder setGithubLabel(String value)

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

string github_label = 104;

Parameter
Name Description
value String

The githubLabel to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setGithubLabelBytes(ByteString value)

public Publishing.Builder setGithubLabelBytes(ByteString value)

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

string github_label = 104;

Parameter
Name Description
value ByteString

The bytes for githubLabel to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setLibrarySettings(int index, ClientLibrarySettings value)

public Publishing.Builder setLibrarySettings(int index, ClientLibrarySettings value)

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;

Parameters
Name Description
index int
value ClientLibrarySettings
Returns
Type Description
Publishing.Builder

setLibrarySettings(int index, ClientLibrarySettings.Builder builderForValue)

public Publishing.Builder setLibrarySettings(int index, ClientLibrarySettings.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ClientLibrarySettings.Builder
Returns
Type Description
Publishing.Builder

setMethodSettings(int index, MethodSettings value)

public Publishing.Builder setMethodSettings(int index, MethodSettings value)

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;

Parameters
Name Description
index int
value MethodSettings
Returns
Type Description
Publishing.Builder

setMethodSettings(int index, MethodSettings.Builder builderForValue)

public Publishing.Builder setMethodSettings(int index, MethodSettings.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue MethodSettings.Builder
Returns
Type Description
Publishing.Builder

setNewIssueUri(String value)

public Publishing.Builder setNewIssueUri(String value)

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;

Parameter
Name Description
value String

The newIssueUri to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setNewIssueUriBytes(ByteString value)

public Publishing.Builder setNewIssueUriBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for newIssueUri to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setOrganization(ClientLibraryOrganization value)

public Publishing.Builder setOrganization(ClientLibraryOrganization value)

For whom the client library is being published.

.google.api.ClientLibraryOrganization organization = 107;

Parameter
Name Description
value ClientLibraryOrganization

The organization to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setOrganizationValue(int value)

public Publishing.Builder setOrganizationValue(int value)

For whom the client library is being published.

.google.api.ClientLibraryOrganization organization = 107;

Parameter
Name Description
value int

The enum numeric value on the wire for organization to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setProtoReferenceDocumentationUri(String value)

public Publishing.Builder setProtoReferenceDocumentationUri(String value)

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

string proto_reference_documentation_uri = 110;

Parameter
Name Description
value String

The protoReferenceDocumentationUri to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setProtoReferenceDocumentationUriBytes(ByteString value)

public Publishing.Builder setProtoReferenceDocumentationUriBytes(ByteString value)

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

string proto_reference_documentation_uri = 110;

Parameter
Name Description
value ByteString

The bytes for protoReferenceDocumentationUri to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Publishing.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Publishing.Builder
Overrides

setRestReferenceDocumentationUri(String value)

public Publishing.Builder setRestReferenceDocumentationUri(String value)

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

string rest_reference_documentation_uri = 111;

Parameter
Name Description
value String

The restReferenceDocumentationUri to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setRestReferenceDocumentationUriBytes(ByteString value)

public Publishing.Builder setRestReferenceDocumentationUriBytes(ByteString value)

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

string rest_reference_documentation_uri = 111;

Parameter
Name Description
value ByteString

The bytes for restReferenceDocumentationUri to set.

Returns
Type Description
Publishing.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Publishing.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Publishing.Builder
Overrides