Class SourceInfo (2.39.0)

public final class SourceInfo extends GeneratedMessageV3 implements SourceInfoOrBuilder

Source information used to create a Service Config

Protobuf type google.api.SourceInfo

Implements

SourceInfoOrBuilder

Static Fields

SOURCE_FILES_FIELD_NUMBER

public static final int SOURCE_FILES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SourceInfo getDefaultInstance()
Returns
Type Description
SourceInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SourceInfo.Builder newBuilder()
Returns
Type Description
SourceInfo.Builder

newBuilder(SourceInfo prototype)

public static SourceInfo.Builder newBuilder(SourceInfo prototype)
Parameter
Name Description
prototype SourceInfo
Returns
Type Description
SourceInfo.Builder

parseDelimitedFrom(InputStream input)

public static SourceInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SourceInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SourceInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SourceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SourceInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SourceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SourceInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SourceInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SourceInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SourceInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SourceInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SourceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SourceInfo> parser()
Returns
Type Description
Parser<SourceInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SourceInfo getDefaultInstanceForType()
Returns
Type Description
SourceInfo

getParserForType()

public Parser<SourceInfo> getParserForType()
Returns
Type Description
Parser<SourceInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceFiles(int index)

public Any getSourceFiles(int index)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameter
Name Description
index int
Returns
Type Description
Any

getSourceFilesCount()

public int getSourceFilesCount()

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Returns
Type Description
int

getSourceFilesList()

public List<Any> getSourceFilesList()

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Returns
Type Description
List<Any>

getSourceFilesOrBuilder(int index)

public AnyOrBuilder getSourceFilesOrBuilder(int index)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameter
Name Description
index int
Returns
Type Description
AnyOrBuilder

getSourceFilesOrBuilderList()

public List<? extends AnyOrBuilder> getSourceFilesOrBuilderList()

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Returns
Type Description
List<? extends com.google.protobuf.AnyOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SourceInfo.Builder newBuilderForType()
Returns
Type Description
SourceInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SourceInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SourceInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SourceInfo.Builder toBuilder()
Returns
Type Description
SourceInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException