public final class ConfigSource extends GeneratedMessageV3 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
Static Fields
FILES_FIELD_NUMBER
public static final int FILES_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ConfigSource getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ConfigSource.Builder newBuilder()
Returns
newBuilder(ConfigSource prototype)
public static ConfigSource.Builder newBuilder(ConfigSource prototype)
Parameter
Returns
public static ConfigSource parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConfigSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ConfigSource parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConfigSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ConfigSource parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConfigSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConfigSource parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ConfigSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ConfigSource parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ConfigSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ConfigSource parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConfigSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ConfigSource> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ConfigSource getDefaultInstanceForType()
Returns
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
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
getParserForType()
public Parser<ConfigSource> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ConfigSource.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConfigSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ConfigSource.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions