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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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;
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;
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;
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;
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;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConfigSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConfigSource build()
buildPartial()
public ConfigSource buildPartial()
clear()
public ConfigSource.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConfigSource.Builder clearField(Descriptors.FieldDescriptor field)
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;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ConfigSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ConfigSource.Builder clone()
Overrides
getDefaultInstanceForType()
public ConfigSource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
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;
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 |
Type |
Description |
int |
|
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;
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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
String |
The id.
|
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 |
Type |
Description |
ByteString |
The bytes for id.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ConfigSource other)
public ConfigSource.Builder mergeFrom(ConfigSource other)
public ConfigSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConfigSource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConfigSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ConfigSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConfigSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConfigSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides