Package dev.cel.expr
Class SourceInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- dev.cel.expr.SourceInfo
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,SourceInfoOrBuilder
,java.io.Serializable
public final class SourceInfo extends com.google.protobuf.GeneratedMessageV3 implements SourceInfoOrBuilder
Source information collected at parse time.
Protobuf typecel.expr.SourceInfo
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SourceInfo.Builder
Source information collected at parse time.static class
SourceInfo.Extension
An extension that was requested for the source expression.static interface
SourceInfo.ExtensionOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
EXTENSIONS_FIELD_NUMBER
static int
LINE_OFFSETS_FIELD_NUMBER
static int
LOCATION_FIELD_NUMBER
static int
MACRO_CALLS_FIELD_NUMBER
static int
POSITIONS_FIELD_NUMBER
static int
SYNTAX_VERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsMacroCalls(long key)
A map from the parse node id where a macro replacement was made to the call `Expr` that resulted in a macro expansion.boolean
containsPositions(long key)
A map from the parse node id (e.g.boolean
equals(java.lang.Object obj)
static SourceInfo
getDefaultInstance()
SourceInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
SourceInfo.Extension
getExtensions(int index)
A list of tags for extensions that were used while parsing or type checking the source expression.int
getExtensionsCount()
A list of tags for extensions that were used while parsing or type checking the source expression.java.util.List<SourceInfo.Extension>
getExtensionsList()
A list of tags for extensions that were used while parsing or type checking the source expression.SourceInfo.ExtensionOrBuilder
getExtensionsOrBuilder(int index)
A list of tags for extensions that were used while parsing or type checking the source expression.java.util.List<? extends SourceInfo.ExtensionOrBuilder>
getExtensionsOrBuilderList()
A list of tags for extensions that were used while parsing or type checking the source expression.int
getLineOffsets(int index)
Monotonically increasing list of code point offsets where newlines `\n` appear.int
getLineOffsetsCount()
Monotonically increasing list of code point offsets where newlines `\n` appear.java.util.List<java.lang.Integer>
getLineOffsetsList()
Monotonically increasing list of code point offsets where newlines `\n` appear.java.lang.String
getLocation()
The location name.com.google.protobuf.ByteString
getLocationBytes()
The location name.java.util.Map<java.lang.Long,Expr>
getMacroCalls()
Deprecated.int
getMacroCallsCount()
A map from the parse node id where a macro replacement was made to the call `Expr` that resulted in a macro expansion.java.util.Map<java.lang.Long,Expr>
getMacroCallsMap()
A map from the parse node id where a macro replacement was made to the call `Expr` that resulted in a macro expansion.Expr
getMacroCallsOrDefault(long key, Expr defaultValue)
A map from the parse node id where a macro replacement was made to the call `Expr` that resulted in a macro expansion.Expr
getMacroCallsOrThrow(long key)
A map from the parse node id where a macro replacement was made to the call `Expr` that resulted in a macro expansion.com.google.protobuf.Parser<SourceInfo>
getParserForType()
java.util.Map<java.lang.Long,java.lang.Integer>
getPositions()
Deprecated.int
getPositionsCount()
A map from the parse node id (e.g.java.util.Map<java.lang.Long,java.lang.Integer>
getPositionsMap()
A map from the parse node id (e.g.int
getPositionsOrDefault(long key, int defaultValue)
A map from the parse node id (e.g.int
getPositionsOrThrow(long key)
A map from the parse node id (e.g.int
getSerializedSize()
java.lang.String
getSyntaxVersion()
The syntax version of the source, e.g.com.google.protobuf.ByteString
getSyntaxVersionBytes()
The syntax version of the source, e.g.com.google.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static SourceInfo.Builder
newBuilder()
static SourceInfo.Builder
newBuilder(SourceInfo prototype)
SourceInfo.Builder
newBuilderForType()
protected SourceInfo.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static SourceInfo
parseDelimitedFrom(java.io.InputStream input)
static SourceInfo
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SourceInfo
parseFrom(byte[] data)
static SourceInfo
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SourceInfo
parseFrom(com.google.protobuf.ByteString data)
static SourceInfo
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SourceInfo
parseFrom(com.google.protobuf.CodedInputStream input)
static SourceInfo
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SourceInfo
parseFrom(java.io.InputStream input)
static SourceInfo
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SourceInfo
parseFrom(java.nio.ByteBuffer data)
static SourceInfo
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<SourceInfo>
parser()
SourceInfo.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SYNTAX_VERSION_FIELD_NUMBER
public static final int SYNTAX_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINE_OFFSETS_FIELD_NUMBER
public static final int LINE_OFFSETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSITIONS_FIELD_NUMBER
public static final int POSITIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MACRO_CALLS_FIELD_NUMBER
public static final int MACRO_CALLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTENSIONS_FIELD_NUMBER
public static final int EXTENSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getSyntaxVersion
public java.lang.String getSyntaxVersion()
The syntax version of the source, e.g. `cel1`.
string syntax_version = 1;
- Specified by:
getSyntaxVersion
in interfaceSourceInfoOrBuilder
- Returns:
- The syntaxVersion.
-
getSyntaxVersionBytes
public com.google.protobuf.ByteString getSyntaxVersionBytes()
The syntax version of the source, e.g. `cel1`.
string syntax_version = 1;
- Specified by:
getSyntaxVersionBytes
in interfaceSourceInfoOrBuilder
- Returns:
- The bytes for syntaxVersion.
-
getLocation
public java.lang.String getLocation()
The location name. All position information attached to an expression is relative to this location. The location could be a file, UI element, or similar. For example, `acme/app/AnvilPolicy.cel`.
string location = 2;
- Specified by:
getLocation
in interfaceSourceInfoOrBuilder
- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
The location name. All position information attached to an expression is relative to this location. The location could be a file, UI element, or similar. For example, `acme/app/AnvilPolicy.cel`.
string location = 2;
- Specified by:
getLocationBytes
in interfaceSourceInfoOrBuilder
- Returns:
- The bytes for location.
-
getLineOffsetsList
public java.util.List<java.lang.Integer> getLineOffsetsList()
Monotonically increasing list of code point offsets where newlines `\n` appear. The line number of a given position is the index `i` where for a given `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The column may be derived from `id_positions[id] - line_offsets[i]`.
repeated int32 line_offsets = 3;
- Specified by:
getLineOffsetsList
in interfaceSourceInfoOrBuilder
- Returns:
- A list containing the lineOffsets.
-
getLineOffsetsCount
public int getLineOffsetsCount()
Monotonically increasing list of code point offsets where newlines `\n` appear. The line number of a given position is the index `i` where for a given `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The column may be derived from `id_positions[id] - line_offsets[i]`.
repeated int32 line_offsets = 3;
- Specified by:
getLineOffsetsCount
in interfaceSourceInfoOrBuilder
- Returns:
- The count of lineOffsets.
-
getLineOffsets
public int getLineOffsets(int index)
Monotonically increasing list of code point offsets where newlines `\n` appear. The line number of a given position is the index `i` where for a given `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The column may be derived from `id_positions[id] - line_offsets[i]`.
repeated int32 line_offsets = 3;
- Specified by:
getLineOffsets
in interfaceSourceInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The lineOffsets at the given index.
-
getPositionsCount
public int getPositionsCount()
Description copied from interface:SourceInfoOrBuilder
A map from the parse node id (e.g. `Expr.id`) to the code point offset within the source.
map<int64, int32> positions = 4;
- Specified by:
getPositionsCount
in interfaceSourceInfoOrBuilder
-
containsPositions
public boolean containsPositions(long key)
A map from the parse node id (e.g. `Expr.id`) to the code point offset within the source.
map<int64, int32> positions = 4;
- Specified by:
containsPositions
in interfaceSourceInfoOrBuilder
-
getPositions
@Deprecated public java.util.Map<java.lang.Long,java.lang.Integer> getPositions()
Deprecated.UsegetPositionsMap()
instead.- Specified by:
getPositions
in interfaceSourceInfoOrBuilder
-
getPositionsMap
public java.util.Map<java.lang.Long,java.lang.Integer> getPositionsMap()
A map from the parse node id (e.g. `Expr.id`) to the code point offset within the source.
map<int64, int32> positions = 4;
- Specified by:
getPositionsMap
in interfaceSourceInfoOrBuilder
-
getPositionsOrDefault
public int getPositionsOrDefault(long key, int defaultValue)
A map from the parse node id (e.g. `Expr.id`) to the code point offset within the source.
map<int64, int32> positions = 4;
- Specified by:
getPositionsOrDefault
in interfaceSourceInfoOrBuilder
-
getPositionsOrThrow
public int getPositionsOrThrow(long key)
A map from the parse node id (e.g. `Expr.id`) to the code point offset within the source.
map<int64, int32> positions = 4;
- Specified by:
getPositionsOrThrow
in interfaceSourceInfoOrBuilder
-
getMacroCallsCount
public int getMacroCallsCount()
Description copied from interface:SourceInfoOrBuilder
A map from the parse node id where a macro replacement was made to the call `Expr` that resulted in a macro expansion. For example, `has(value.field)` is a function call that is replaced by a `test_only` field selection in the AST. Likewise, the call `list.exists(e, e > 10)` translates to a comprehension expression. The key in the map corresponds to the expression id of the expanded macro, and the value is the call `Expr` that was replaced.
map<int64, .cel.expr.Expr> macro_calls = 5;
- Specified by:
getMacroCallsCount
in interfaceSourceInfoOrBuilder
-
containsMacroCalls
public boolean containsMacroCalls(long key)
A map from the parse node id where a macro replacement was made to the call `Expr` that resulted in a macro expansion. For example, `has(value.field)` is a function call that is replaced by a `test_only` field selection in the AST. Likewise, the call `list.exists(e, e > 10)` translates to a comprehension expression. The key in the map corresponds to the expression id of the expanded macro, and the value is the call `Expr` that was replaced.
map<int64, .cel.expr.Expr> macro_calls = 5;
- Specified by:
containsMacroCalls
in interfaceSourceInfoOrBuilder
-
getMacroCalls
@Deprecated public java.util.Map<java.lang.Long,Expr> getMacroCalls()
Deprecated.UsegetMacroCallsMap()
instead.- Specified by:
getMacroCalls
in interfaceSourceInfoOrBuilder
-
getMacroCallsMap
public java.util.Map<java.lang.Long,Expr> getMacroCallsMap()
A map from the parse node id where a macro replacement was made to the call `Expr` that resulted in a macro expansion. For example, `has(value.field)` is a function call that is replaced by a `test_only` field selection in the AST. Likewise, the call `list.exists(e, e > 10)` translates to a comprehension expression. The key in the map corresponds to the expression id of the expanded macro, and the value is the call `Expr` that was replaced.
map<int64, .cel.expr.Expr> macro_calls = 5;
- Specified by:
getMacroCallsMap
in interfaceSourceInfoOrBuilder
-
getMacroCallsOrDefault
public Expr getMacroCallsOrDefault(long key, Expr defaultValue)
A map from the parse node id where a macro replacement was made to the call `Expr` that resulted in a macro expansion. For example, `has(value.field)` is a function call that is replaced by a `test_only` field selection in the AST. Likewise, the call `list.exists(e, e > 10)` translates to a comprehension expression. The key in the map corresponds to the expression id of the expanded macro, and the value is the call `Expr` that was replaced.
map<int64, .cel.expr.Expr> macro_calls = 5;
- Specified by:
getMacroCallsOrDefault
in interfaceSourceInfoOrBuilder
-
getMacroCallsOrThrow
public Expr getMacroCallsOrThrow(long key)
A map from the parse node id where a macro replacement was made to the call `Expr` that resulted in a macro expansion. For example, `has(value.field)` is a function call that is replaced by a `test_only` field selection in the AST. Likewise, the call `list.exists(e, e > 10)` translates to a comprehension expression. The key in the map corresponds to the expression id of the expanded macro, and the value is the call `Expr` that was replaced.
map<int64, .cel.expr.Expr> macro_calls = 5;
- Specified by:
getMacroCallsOrThrow
in interfaceSourceInfoOrBuilder
-
getExtensionsList
public java.util.List<SourceInfo.Extension> getExtensionsList()
A list of tags for extensions that were used while parsing or type checking the source expression. For example, optimizations that require special runtime support may be specified. These are used to check feature support between components in separate implementations. This can be used to either skip redundant work or report an error if the extension is unsupported.
repeated .cel.expr.SourceInfo.Extension extensions = 6;
- Specified by:
getExtensionsList
in interfaceSourceInfoOrBuilder
-
getExtensionsOrBuilderList
public java.util.List<? extends SourceInfo.ExtensionOrBuilder> getExtensionsOrBuilderList()
A list of tags for extensions that were used while parsing or type checking the source expression. For example, optimizations that require special runtime support may be specified. These are used to check feature support between components in separate implementations. This can be used to either skip redundant work or report an error if the extension is unsupported.
repeated .cel.expr.SourceInfo.Extension extensions = 6;
- Specified by:
getExtensionsOrBuilderList
in interfaceSourceInfoOrBuilder
-
getExtensionsCount
public int getExtensionsCount()
A list of tags for extensions that were used while parsing or type checking the source expression. For example, optimizations that require special runtime support may be specified. These are used to check feature support between components in separate implementations. This can be used to either skip redundant work or report an error if the extension is unsupported.
repeated .cel.expr.SourceInfo.Extension extensions = 6;
- Specified by:
getExtensionsCount
in interfaceSourceInfoOrBuilder
-
getExtensions
public SourceInfo.Extension getExtensions(int index)
A list of tags for extensions that were used while parsing or type checking the source expression. For example, optimizations that require special runtime support may be specified. These are used to check feature support between components in separate implementations. This can be used to either skip redundant work or report an error if the extension is unsupported.
repeated .cel.expr.SourceInfo.Extension extensions = 6;
- Specified by:
getExtensions
in interfaceSourceInfoOrBuilder
-
getExtensionsOrBuilder
public SourceInfo.ExtensionOrBuilder getExtensionsOrBuilder(int index)
A list of tags for extensions that were used while parsing or type checking the source expression. For example, optimizations that require special runtime support may be specified. These are used to check feature support between components in separate implementations. This can be used to either skip redundant work or report an error if the extension is unsupported.
repeated .cel.expr.SourceInfo.Extension extensions = 6;
- Specified by:
getExtensionsOrBuilder
in interfaceSourceInfoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SourceInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SourceInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SourceInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SourceInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SourceInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SourceInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public SourceInfo.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SourceInfo.Builder newBuilder()
-
newBuilder
public static SourceInfo.Builder newBuilder(SourceInfo prototype)
-
toBuilder
public SourceInfo.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SourceInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SourceInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SourceInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<SourceInfo> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SourceInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-