Class ConfigSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConfigSource.Builder>
com.google.api.servicemanagement.v1.ConfigSource.Builder
- All Implemented Interfaces:
ConfigSourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConfigSource
public static final class ConfigSource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConfigSource.Builder>
implements ConfigSourceOrBuilder
Represents a source file which is used to generate the service configuration defined by `google.api.Service`.Protobuf type
google.api.servicemanagement.v1.ConfigSource-
Method Summary
Modifier and TypeMethodDescriptionaddAllFiles(Iterable<? extends ConfigFile> values) Set of source configuration files that are used to generate a service configuration (`google.api.Service`).addFiles(int index, ConfigFile value) Set of source configuration files that are used to generate a service configuration (`google.api.Service`).addFiles(int index, ConfigFile.Builder builderForValue) Set of source configuration files that are used to generate a service configuration (`google.api.Service`).addFiles(ConfigFile value) Set of source configuration files that are used to generate a service configuration (`google.api.Service`).addFiles(ConfigFile.Builder builderForValue) Set of source configuration files that are used to generate a service configuration (`google.api.Service`).Set of source configuration files that are used to generate a service configuration (`google.api.Service`).addFilesBuilder(int index) Set of source configuration files that are used to generate a service configuration (`google.api.Service`).build()clear()Set of source configuration files that are used to generate a service configuration (`google.api.Service`).clearId()A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFiles(int index) Set of source configuration files that are used to generate a service configuration (`google.api.Service`).getFilesBuilder(int index) Set of source configuration files that are used to generate a service configuration (`google.api.Service`).Set of source configuration files that are used to generate a service configuration (`google.api.Service`).intSet of source configuration files that are used to generate a service configuration (`google.api.Service`).Set of source configuration files that are used to generate a service configuration (`google.api.Service`).getFilesOrBuilder(int index) Set of source configuration files that are used to generate a service configuration (`google.api.Service`).List<? extends ConfigFileOrBuilder>Set of source configuration files that are used to generate a service configuration (`google.api.Service`).getId()A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose.com.google.protobuf.ByteStringA unique ID for a specific instance of this message, typically assigned by the client for tracking purpose.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ConfigSource other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFiles(int index) Set of source configuration files that are used to generate a service configuration (`google.api.Service`).setFiles(int index, ConfigFile value) Set of source configuration files that are used to generate a service configuration (`google.api.Service`).setFiles(int index, ConfigFile.Builder builderForValue) Set of source configuration files that are used to generate a service configuration (`google.api.Service`).A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose.setIdBytes(com.google.protobuf.ByteString value) A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConfigSource.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConfigSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConfigSource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConfigSource.Builder>
-
mergeFrom
public ConfigSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigSource.Builder>- Throws:
IOException
-
getId
A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead.
string id = 5;- Specified by:
getIdin interfaceConfigSourceOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead.
string id = 5;- Specified by:
getIdBytesin interfaceConfigSourceOrBuilder- Returns:
- The bytes for id.
-
setId
A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead.
string id = 5;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead.
string id = 5;- Returns:
- This builder for chaining.
-
setIdBytes
A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead.
string id = 5;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getFilesList
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;- Specified by:
getFilesListin interfaceConfigSourceOrBuilder
-
getFilesCount
public int getFilesCount()Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;- Specified by:
getFilesCountin interfaceConfigSourceOrBuilder
-
getFiles
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;- Specified by:
getFilesin interfaceConfigSourceOrBuilder
-
setFiles
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2; -
setFiles
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2; -
addFiles
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2; -
addFiles
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2; -
addFiles
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2; -
addFiles
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2; -
addAllFiles
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2; -
clearFiles
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2; -
removeFiles
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2; -
getFilesBuilder
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2; -
getFilesOrBuilder
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;- Specified by:
getFilesOrBuilderin interfaceConfigSourceOrBuilder
-
getFilesOrBuilderList
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;- Specified by:
getFilesOrBuilderListin interfaceConfigSourceOrBuilder
-
addFilesBuilder
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2; -
addFilesBuilder
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2; -
getFilesBuilderList
Set of source configuration files that are used to generate a service configuration (`google.api.Service`).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
-