Package com.google.api
Class Publishing.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Publishing.Builder>
-
- com.google.api.Publishing.Builder
-
- All Implemented Interfaces:
PublishingOrBuilder
,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Publishing
public static final class Publishing.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Publishing.Builder> 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 typegoogle.api.Publishing
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Publishing.Builder
addAllCodeownerGithubTeams(java.lang.Iterable<java.lang.String> values)
GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.Publishing.Builder
addAllLibrarySettings(java.lang.Iterable<? extends ClientLibrarySettings> values)
Client library settings.Publishing.Builder
addAllMethodSettings(java.lang.Iterable<? extends MethodSettings> values)
A list of API method settings, e.g.Publishing.Builder
addCodeownerGithubTeams(java.lang.String value)
GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.Publishing.Builder
addCodeownerGithubTeamsBytes(com.google.protobuf.ByteString value)
GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.Publishing.Builder
addLibrarySettings(int index, ClientLibrarySettings value)
Client library settings.Publishing.Builder
addLibrarySettings(int index, ClientLibrarySettings.Builder builderForValue)
Client library settings.Publishing.Builder
addLibrarySettings(ClientLibrarySettings value)
Client library settings.Publishing.Builder
addLibrarySettings(ClientLibrarySettings.Builder builderForValue)
Client library settings.ClientLibrarySettings.Builder
addLibrarySettingsBuilder()
Client library settings.ClientLibrarySettings.Builder
addLibrarySettingsBuilder(int index)
Client library settings.Publishing.Builder
addMethodSettings(int index, MethodSettings value)
A list of API method settings, e.g.Publishing.Builder
addMethodSettings(int index, MethodSettings.Builder builderForValue)
A list of API method settings, e.g.Publishing.Builder
addMethodSettings(MethodSettings value)
A list of API method settings, e.g.Publishing.Builder
addMethodSettings(MethodSettings.Builder builderForValue)
A list of API method settings, e.g.MethodSettings.Builder
addMethodSettingsBuilder()
A list of API method settings, e.g.MethodSettings.Builder
addMethodSettingsBuilder(int index)
A list of API method settings, e.g.Publishing.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Publishing
build()
Publishing
buildPartial()
Publishing.Builder
clear()
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.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.Publishing.Builder
clearDocTagPrefix()
A prefix used in sample code when demarking regions to be included in documentation.Publishing.Builder
clearDocumentationUri()
Link to product home page.Publishing.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Publishing.Builder
clearGithubLabel()
GitHub label to apply to issues and pull requests opened for this API.Publishing.Builder
clearLibrarySettings()
Client library settings.Publishing.Builder
clearMethodSettings()
A list of API method settings, e.g.Publishing.Builder
clearNewIssueUri()
Link to a *public* URI where users can report issues.Publishing.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Publishing.Builder
clearOrganization()
For whom the client library is being published.Publishing.Builder
clearProtoReferenceDocumentationUri()
Optional link to proto reference documentation.Publishing.Builder
clearRestReferenceDocumentationUri()
Optional link to REST reference documentation.Publishing.Builder
clone()
java.lang.String
getApiShortName()
Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc.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.java.lang.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.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.int
getCodeownerGithubTeamsCount()
GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.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.Publishing
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getDocTagPrefix()
A prefix used in sample code when demarking regions to be included in documentation.com.google.protobuf.ByteString
getDocTagPrefixBytes()
A prefix used in sample code when demarking regions to be included in documentation.java.lang.String
getDocumentationUri()
Link to product home page.com.google.protobuf.ByteString
getDocumentationUriBytes()
Link to product home page.java.lang.String
getGithubLabel()
GitHub label to apply to issues and pull requests opened for this API.com.google.protobuf.ByteString
getGithubLabelBytes()
GitHub label to apply to issues and pull requests opened for this API.ClientLibrarySettings
getLibrarySettings(int index)
Client library settings.ClientLibrarySettings.Builder
getLibrarySettingsBuilder(int index)
Client library settings.java.util.List<ClientLibrarySettings.Builder>
getLibrarySettingsBuilderList()
Client library settings.int
getLibrarySettingsCount()
Client library settings.java.util.List<ClientLibrarySettings>
getLibrarySettingsList()
Client library settings.ClientLibrarySettingsOrBuilder
getLibrarySettingsOrBuilder(int index)
Client library settings.java.util.List<? extends ClientLibrarySettingsOrBuilder>
getLibrarySettingsOrBuilderList()
Client library settings.MethodSettings
getMethodSettings(int index)
A list of API method settings, e.g.MethodSettings.Builder
getMethodSettingsBuilder(int index)
A list of API method settings, e.g.java.util.List<MethodSettings.Builder>
getMethodSettingsBuilderList()
A list of API method settings, e.g.int
getMethodSettingsCount()
A list of API method settings, e.g.java.util.List<MethodSettings>
getMethodSettingsList()
A list of API method settings, e.g.MethodSettingsOrBuilder
getMethodSettingsOrBuilder(int index)
A list of API method settings, e.g.java.util.List<? extends MethodSettingsOrBuilder>
getMethodSettingsOrBuilderList()
A list of API method settings, e.g.java.lang.String
getNewIssueUri()
Link to a *public* URI where users can report issues.com.google.protobuf.ByteString
getNewIssueUriBytes()
Link to a *public* URI where users can report issues.ClientLibraryOrganization
getOrganization()
For whom the client library is being published.int
getOrganizationValue()
For whom the client library is being published.java.lang.String
getProtoReferenceDocumentationUri()
Optional link to proto reference documentation.com.google.protobuf.ByteString
getProtoReferenceDocumentationUriBytes()
Optional link to proto reference documentation.java.lang.String
getRestReferenceDocumentationUri()
Optional link to REST reference documentation.com.google.protobuf.ByteString
getRestReferenceDocumentationUriBytes()
Optional link to REST reference documentation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Publishing.Builder
mergeFrom(Publishing other)
Publishing.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Publishing.Builder
mergeFrom(com.google.protobuf.Message other)
Publishing.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Publishing.Builder
removeLibrarySettings(int index)
Client library settings.Publishing.Builder
removeMethodSettings(int index)
A list of API method settings, e.g.Publishing.Builder
setApiShortName(java.lang.String value)
Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc.Publishing.Builder
setApiShortNameBytes(com.google.protobuf.ByteString value)
Used as a tracking tag when collecting data about the APIs developer relations artifacts like docs, packages delivered to package managers, etc.Publishing.Builder
setCodeownerGithubTeams(int index, java.lang.String value)
GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for the client libraries for this API.Publishing.Builder
setDocTagPrefix(java.lang.String value)
A prefix used in sample code when demarking regions to be included in documentation.Publishing.Builder
setDocTagPrefixBytes(com.google.protobuf.ByteString value)
A prefix used in sample code when demarking regions to be included in documentation.Publishing.Builder
setDocumentationUri(java.lang.String value)
Link to product home page.Publishing.Builder
setDocumentationUriBytes(com.google.protobuf.ByteString value)
Link to product home page.Publishing.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Publishing.Builder
setGithubLabel(java.lang.String value)
GitHub label to apply to issues and pull requests opened for this API.Publishing.Builder
setGithubLabelBytes(com.google.protobuf.ByteString value)
GitHub label to apply to issues and pull requests opened for this API.Publishing.Builder
setLibrarySettings(int index, ClientLibrarySettings value)
Client library settings.Publishing.Builder
setLibrarySettings(int index, ClientLibrarySettings.Builder builderForValue)
Client library settings.Publishing.Builder
setMethodSettings(int index, MethodSettings value)
A list of API method settings, e.g.Publishing.Builder
setMethodSettings(int index, MethodSettings.Builder builderForValue)
A list of API method settings, e.g.Publishing.Builder
setNewIssueUri(java.lang.String value)
Link to a *public* URI where users can report issues.Publishing.Builder
setNewIssueUriBytes(com.google.protobuf.ByteString value)
Link to a *public* URI where users can report issues.Publishing.Builder
setOrganization(ClientLibraryOrganization value)
For whom the client library is being published.Publishing.Builder
setOrganizationValue(int value)
For whom the client library is being published.Publishing.Builder
setProtoReferenceDocumentationUri(java.lang.String value)
Optional link to proto reference documentation.Publishing.Builder
setProtoReferenceDocumentationUriBytes(com.google.protobuf.ByteString value)
Optional link to proto reference documentation.Publishing.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Publishing.Builder
setRestReferenceDocumentationUri(java.lang.String value)
Optional link to REST reference documentation.Publishing.Builder
setRestReferenceDocumentationUriBytes(com.google.protobuf.ByteString value)
Optional link to REST reference documentation.Publishing.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Overrides:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Publishing.Builder>
-
clear
public Publishing.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Publishing.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Publishing.Builder>
-
getDefaultInstanceForType
public Publishing getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Publishing build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Publishing buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Publishing.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Publishing.Builder>
-
setField
public Publishing.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Publishing.Builder>
-
clearField
public Publishing.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Publishing.Builder>
-
clearOneof
public Publishing.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Publishing.Builder>
-
setRepeatedField
public Publishing.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Publishing.Builder>
-
addRepeatedField
public Publishing.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Publishing.Builder>
-
mergeFrom
public Publishing.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Publishing.Builder>
-
mergeFrom
public Publishing.Builder mergeFrom(Publishing other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,Publishing.Builder>
-
mergeFrom
public Publishing.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Publishing.Builder>
- Throws:
java.io.IOException
-
getMethodSettingsList
public java.util.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 interfacePublishingOrBuilder
-
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 interfacePublishingOrBuilder
-
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 interfacePublishingOrBuilder
-
setMethodSettings
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;
-
setMethodSettings
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;
-
addMethodSettings
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;
-
addMethodSettings
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;
-
addMethodSettings
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;
-
addMethodSettings
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;
-
addAllMethodSettings
public Publishing.Builder addAllMethodSettings(java.lang.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;
-
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;
-
removeMethodSettings
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;
-
getMethodSettingsBuilder
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;
-
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 interfacePublishingOrBuilder
-
getMethodSettingsOrBuilderList
public java.util.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;
- Specified by:
getMethodSettingsOrBuilderList
in interfacePublishingOrBuilder
-
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;
-
addMethodSettingsBuilder
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;
-
getMethodSettingsBuilderList
public java.util.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;
-
getNewIssueUri
public java.lang.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;
- Specified by:
getNewIssueUri
in interfacePublishingOrBuilder
- Returns:
- The newIssueUri.
-
getNewIssueUriBytes
public com.google.protobuf.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;
- Specified by:
getNewIssueUriBytes
in interfacePublishingOrBuilder
- Returns:
- The bytes for newIssueUri.
-
setNewIssueUri
public Publishing.Builder setNewIssueUri(java.lang.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;
- Parameters:
value
- The newIssueUri to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNewIssueUriBytes
public Publishing.Builder setNewIssueUriBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for newIssueUri to set.- Returns:
- This builder for chaining.
-
getDocumentationUri
public java.lang.String getDocumentationUri()
Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview
string documentation_uri = 102;
- Specified by:
getDocumentationUri
in interfacePublishingOrBuilder
- 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 interfacePublishingOrBuilder
- Returns:
- The bytes for documentationUri.
-
setDocumentationUri
public Publishing.Builder setDocumentationUri(java.lang.String value)
Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview
string documentation_uri = 102;
- Parameters:
value
- The documentationUri to set.- Returns:
- 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:
- This builder for chaining.
-
setDocumentationUriBytes
public Publishing.Builder setDocumentationUriBytes(com.google.protobuf.ByteString value)
Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview
string documentation_uri = 102;
- Parameters:
value
- The bytes for documentationUri to set.- Returns:
- This builder for chaining.
-
getApiShortName
public java.lang.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 interfacePublishingOrBuilder
- 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 interfacePublishingOrBuilder
- Returns:
- The bytes for apiShortName.
-
setApiShortName
public Publishing.Builder setApiShortName(java.lang.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;
- Parameters:
value
- The apiShortName to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setApiShortNameBytes
public Publishing.Builder setApiShortNameBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for apiShortName to set.- Returns:
- This builder for chaining.
-
getGithubLabel
public java.lang.String getGithubLabel()
GitHub label to apply to issues and pull requests opened for this API.
string github_label = 104;
- Specified by:
getGithubLabel
in interfacePublishingOrBuilder
- 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 interfacePublishingOrBuilder
- Returns:
- The bytes for githubLabel.
-
setGithubLabel
public Publishing.Builder setGithubLabel(java.lang.String value)
GitHub label to apply to issues and pull requests opened for this API.
string github_label = 104;
- Parameters:
value
- The githubLabel to set.- Returns:
- This builder for chaining.
-
clearGithubLabel
public Publishing.Builder clearGithubLabel()
GitHub label to apply to issues and pull requests opened for this API.
string github_label = 104;
- Returns:
- This builder for chaining.
-
setGithubLabelBytes
public Publishing.Builder setGithubLabelBytes(com.google.protobuf.ByteString value)
GitHub label to apply to issues and pull requests opened for this API.
string github_label = 104;
- Parameters:
value
- The bytes for githubLabel to set.- Returns:
- This builder for chaining.
-
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 interfacePublishingOrBuilder
- 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 interfacePublishingOrBuilder
- Returns:
- The count of codeownerGithubTeams.
-
getCodeownerGithubTeams
public java.lang.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 interfacePublishingOrBuilder
- 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 interfacePublishingOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the codeownerGithubTeams at the given index.
-
setCodeownerGithubTeams
public Publishing.Builder setCodeownerGithubTeams(int index, java.lang.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:
index
- The index to set the value at.value
- The codeownerGithubTeams to set.- Returns:
- This builder for chaining.
-
addCodeownerGithubTeams
public Publishing.Builder addCodeownerGithubTeams(java.lang.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:
value
- The codeownerGithubTeams to add.- Returns:
- This builder for chaining.
-
addAllCodeownerGithubTeams
public Publishing.Builder addAllCodeownerGithubTeams(java.lang.Iterable<java.lang.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;
- Parameters:
values
- The codeownerGithubTeams to add.- Returns:
- 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:
- This builder for chaining.
-
addCodeownerGithubTeamsBytes
public Publishing.Builder addCodeownerGithubTeamsBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes of the codeownerGithubTeams to add.- Returns:
- This builder for chaining.
-
getDocTagPrefix
public java.lang.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 interfacePublishingOrBuilder
- 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 interfacePublishingOrBuilder
- Returns:
- The bytes for docTagPrefix.
-
setDocTagPrefix
public Publishing.Builder setDocTagPrefix(java.lang.String value)
A prefix used in sample code when demarking regions to be included in documentation.
string doc_tag_prefix = 106;
- Parameters:
value
- The docTagPrefix to set.- Returns:
- 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:
- This builder for chaining.
-
setDocTagPrefixBytes
public Publishing.Builder setDocTagPrefixBytes(com.google.protobuf.ByteString value)
A prefix used in sample code when demarking regions to be included in documentation.
string doc_tag_prefix = 106;
- Parameters:
value
- The bytes for docTagPrefix to set.- Returns:
- This builder for chaining.
-
getOrganizationValue
public int getOrganizationValue()
For whom the client library is being published.
.google.api.ClientLibraryOrganization organization = 107;
- Specified by:
getOrganizationValue
in interfacePublishingOrBuilder
- Returns:
- The enum numeric value on the wire for organization.
-
setOrganizationValue
public Publishing.Builder setOrganizationValue(int value)
For whom the client library is being published.
.google.api.ClientLibraryOrganization organization = 107;
- Parameters:
value
- The enum numeric value on the wire for organization to set.- Returns:
- This builder for chaining.
-
getOrganization
public ClientLibraryOrganization getOrganization()
For whom the client library is being published.
.google.api.ClientLibraryOrganization organization = 107;
- Specified by:
getOrganization
in interfacePublishingOrBuilder
- Returns:
- The organization.
-
setOrganization
public Publishing.Builder setOrganization(ClientLibraryOrganization value)
For whom the client library is being published.
.google.api.ClientLibraryOrganization organization = 107;
- Parameters:
value
- The organization to set.- Returns:
- This builder for chaining.
-
clearOrganization
public Publishing.Builder clearOrganization()
For whom the client library is being published.
.google.api.ClientLibraryOrganization organization = 107;
- Returns:
- This builder for chaining.
-
getLibrarySettingsList
public java.util.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 interfacePublishingOrBuilder
-
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 interfacePublishingOrBuilder
-
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 interfacePublishingOrBuilder
-
setLibrarySettings
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;
-
setLibrarySettings
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;
-
addLibrarySettings
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;
-
addLibrarySettings
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;
-
addLibrarySettings
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;
-
addLibrarySettings
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;
-
addAllLibrarySettings
public Publishing.Builder addAllLibrarySettings(java.lang.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;
-
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;
-
removeLibrarySettings
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;
-
getLibrarySettingsBuilder
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;
-
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 interfacePublishingOrBuilder
-
getLibrarySettingsOrBuilderList
public java.util.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 interfacePublishingOrBuilder
-
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;
-
addLibrarySettingsBuilder
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;
-
getLibrarySettingsBuilderList
public java.util.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;
-
getProtoReferenceDocumentationUri
public java.lang.String getProtoReferenceDocumentationUri()
Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc
string proto_reference_documentation_uri = 110;
- Specified by:
getProtoReferenceDocumentationUri
in interfacePublishingOrBuilder
- Returns:
- The protoReferenceDocumentationUri.
-
getProtoReferenceDocumentationUriBytes
public com.google.protobuf.ByteString getProtoReferenceDocumentationUriBytes()
Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc
string proto_reference_documentation_uri = 110;
- Specified by:
getProtoReferenceDocumentationUriBytes
in interfacePublishingOrBuilder
- Returns:
- The bytes for protoReferenceDocumentationUri.
-
setProtoReferenceDocumentationUri
public Publishing.Builder setProtoReferenceDocumentationUri(java.lang.String value)
Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc
string proto_reference_documentation_uri = 110;
- Parameters:
value
- The protoReferenceDocumentationUri to set.- Returns:
- 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:
- This builder for chaining.
-
setProtoReferenceDocumentationUriBytes
public Publishing.Builder setProtoReferenceDocumentationUriBytes(com.google.protobuf.ByteString value)
Optional link to proto reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rpc
string proto_reference_documentation_uri = 110;
- Parameters:
value
- The bytes for protoReferenceDocumentationUri to set.- Returns:
- This builder for chaining.
-
getRestReferenceDocumentationUri
public java.lang.String getRestReferenceDocumentationUri()
Optional link to REST reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rest
string rest_reference_documentation_uri = 111;
- Specified by:
getRestReferenceDocumentationUri
in interfacePublishingOrBuilder
- Returns:
- The restReferenceDocumentationUri.
-
getRestReferenceDocumentationUriBytes
public com.google.protobuf.ByteString getRestReferenceDocumentationUriBytes()
Optional link to REST reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rest
string rest_reference_documentation_uri = 111;
- Specified by:
getRestReferenceDocumentationUriBytes
in interfacePublishingOrBuilder
- Returns:
- The bytes for restReferenceDocumentationUri.
-
setRestReferenceDocumentationUri
public Publishing.Builder setRestReferenceDocumentationUri(java.lang.String value)
Optional link to REST reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rest
string rest_reference_documentation_uri = 111;
- Parameters:
value
- The restReferenceDocumentationUri to set.- Returns:
- 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:
- This builder for chaining.
-
setRestReferenceDocumentationUriBytes
public Publishing.Builder setRestReferenceDocumentationUriBytes(com.google.protobuf.ByteString value)
Optional link to REST reference documentation. Example: https://cloud.google.com/pubsub/lite/docs/reference/rest
string rest_reference_documentation_uri = 111;
- Parameters:
value
- The bytes for restReferenceDocumentationUri to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Publishing.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Publishing.Builder>
-
mergeUnknownFields
public final Publishing.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Publishing.Builder>
-
-