public static final class ConfigSource.Builder extends GeneratedMessageV3.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllFiles(Iterable<? extends ConfigFile> values)
public ConfigSource.Builder addAllFiles(Iterable<? extends ConfigFile> values)
Set of source configuration files that are used to generate a service
configuration (google.api.Service
).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.api.servicemanagement.v1.ConfigFile>
|
Returns
addFiles(ConfigFile value)
public ConfigSource.Builder addFiles(ConfigFile value)
Set of source configuration files that are used to generate a service
configuration (google.api.Service
).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
Parameter
Returns
addFiles(ConfigFile.Builder builderForValue)
public ConfigSource.Builder addFiles(ConfigFile.Builder builderForValue)
Set of source configuration files that are used to generate a service
configuration (google.api.Service
).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
Parameter
Returns
addFiles(int index, ConfigFile value)
public ConfigSource.Builder addFiles(int index, ConfigFile value)
Set of source configuration files that are used to generate a service
configuration (google.api.Service
).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
Parameters
Returns
addFiles(int index, ConfigFile.Builder builderForValue)
public ConfigSource.Builder addFiles(int index, ConfigFile.Builder builderForValue)
Set of source configuration files that are used to generate a service
configuration (google.api.Service
).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
Parameters
Returns
addFilesBuilder()
public ConfigFile.Builder 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;
Returns
addFilesBuilder(int index)
public ConfigFile.Builder addFilesBuilder(int index)
Set of source configuration files that are used to generate a service
configuration (google.api.Service
).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConfigSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ConfigSource build()
Returns
buildPartial()
public ConfigSource buildPartial()
Returns
clear()
public ConfigSource.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConfigSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFiles()
public ConfigSource.Builder 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;
Returns
clearId()
public ConfigSource.Builder 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
clearOneof(Descriptors.OneofDescriptor oneof)
public ConfigSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ConfigSource.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ConfigSource getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFiles(int index)
public ConfigFile getFiles(int index)
Set of source configuration files that are used to generate a service
configuration (google.api.Service
).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
Parameter
Returns
getFilesBuilder(int index)
public ConfigFile.Builder getFilesBuilder(int index)
Set of source configuration files that are used to generate a service
configuration (google.api.Service
).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
Parameter
Returns
getFilesBuilderList()
public List<ConfigFile.Builder> 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;
Returns
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;
Returns
getFilesList()
public List<ConfigFile> 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;
Returns
getFilesOrBuilder(int index)
public ConfigFileOrBuilder getFilesOrBuilder(int index)
Set of source configuration files that are used to generate a service
configuration (google.api.Service
).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
Parameter
Returns
getFilesOrBuilderList()
public List<? extends ConfigFileOrBuilder> 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;
Returns
Type | Description |
List<? extends com.google.api.servicemanagement.v1.ConfigFileOrBuilder> | |
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;
Returns
getIdBytes()
public 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;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ConfigSource other)
public ConfigSource.Builder mergeFrom(ConfigSource other)
Parameter
Returns
public ConfigSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ConfigSource.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConfigSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeFiles(int index)
public ConfigSource.Builder removeFiles(int index)
Set of source configuration files that are used to generate a service
configuration (google.api.Service
).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ConfigSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFiles(int index, ConfigFile value)
public ConfigSource.Builder setFiles(int index, ConfigFile value)
Set of source configuration files that are used to generate a service
configuration (google.api.Service
).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
Parameters
Returns
setFiles(int index, ConfigFile.Builder builderForValue)
public ConfigSource.Builder setFiles(int index, ConfigFile.Builder builderForValue)
Set of source configuration files that are used to generate a service
configuration (google.api.Service
).
repeated .google.api.servicemanagement.v1.ConfigFile files = 2;
Parameters
Returns
setId(String value)
public ConfigSource.Builder setId(String value)
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;
Parameter
Name | Description |
value | String
The id to set.
|
Returns
setIdBytes(ByteString value)
public ConfigSource.Builder setIdBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for id to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConfigSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConfigSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides