Class ConfigSource (3.34.0)

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
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConfigSource getDefaultInstance()
Returns
TypeDescription
ConfigSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ConfigSource.Builder newBuilder()
Returns
TypeDescription
ConfigSource.Builder

newBuilder(ConfigSource prototype)

public static ConfigSource.Builder newBuilder(ConfigSource prototype)
Parameter
NameDescription
prototypeConfigSource
Returns
TypeDescription
ConfigSource.Builder

parseDelimitedFrom(InputStream input)

public static ConfigSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConfigSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ConfigSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ConfigSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConfigSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConfigSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ConfigSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConfigSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConfigSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ConfigSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ConfigSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConfigSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ConfigSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ConfigSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConfigSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ConfigSource> parser()
Returns
TypeDescription
Parser<ConfigSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ConfigSource getDefaultInstanceForType()
Returns
TypeDescription
ConfigSource

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
NameDescription
indexint
Returns
TypeDescription
ConfigFile

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
TypeDescription
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;

Returns
TypeDescription
List<ConfigFile>

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
NameDescription
indexint
Returns
TypeDescription
ConfigFileOrBuilder

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
TypeDescription
List<? extends com.google.api.servicemanagement.v1.ConfigFileOrBuilder>

getId()

public String 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
TypeDescription
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
TypeDescription
ByteString

The bytes for id.

getParserForType()

public Parser<ConfigSource> getParserForType()
Returns
TypeDescription
Parser<ConfigSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ConfigSource.Builder newBuilderForType()
Returns
TypeDescription
ConfigSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConfigSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ConfigSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ConfigSource.Builder toBuilder()
Returns
TypeDescription
ConfigSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException