Class SourceInfo (2.37.1)

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

Static Methods

getDefaultInstance()

public static SourceInfo getDefaultInstance()
Returns
TypeDescription
SourceInfo

getDescriptor()

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

newBuilder()

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

newBuilder(SourceInfo prototype)

public static SourceInfo.Builder newBuilder(SourceInfo prototype)
Parameter
NameDescription
prototypeSourceInfo
Returns
TypeDescription
SourceInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SourceInfo getDefaultInstanceForType()
Returns
TypeDescription
SourceInfo

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceFiles(int index)

public Any getSourceFiles(int index)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Any

getSourceFilesCount()

public int getSourceFilesCount()

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Returns
TypeDescription
int

getSourceFilesList()

public List<Any> getSourceFilesList()

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Returns
TypeDescription
List<Any>

getSourceFilesOrBuilder(int index)

public AnyOrBuilder getSourceFilesOrBuilder(int index)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnyOrBuilder

getSourceFilesOrBuilderList()

public List<? extends AnyOrBuilder> getSourceFilesOrBuilderList()

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Returns
TypeDescription
List<? extends com.google.protobuf.AnyOrBuilder>

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 SourceInfo.Builder newBuilderForType()
Returns
TypeDescription
SourceInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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