Package p4.config.v1
Class P4Types.SourceLocation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<P4Types.SourceLocation.Builder>
com.google.protobuf.GeneratedMessage.Builder<P4Types.SourceLocation.Builder>
p4.config.v1.P4Types.SourceLocation.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,P4Types.SourceLocationOrBuilder
- Enclosing class:
P4Types.SourceLocation
public static final class P4Types.SourceLocation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<P4Types.SourceLocation.Builder>
implements P4Types.SourceLocationOrBuilder
Location of code relative to a given source file.Protobuf type
p4.config.v1.SourceLocation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()int32 column = 3;Path to the source file (absolute or relative to the working directory).Line and column numbers within the source file, 1-based.intint32 column = 3;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFile()Path to the source file (absolute or relative to the working directory).com.google.protobuf.ByteStringPath to the source file (absolute or relative to the working directory).intgetLine()Line and column numbers within the source file, 1-based.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(P4Types.SourceLocation other) setColumn(int value) int32 column = 3;Path to the source file (absolute or relative to the working directory).setFileBytes(com.google.protobuf.ByteString value) Path to the source file (absolute or relative to the working directory).setLine(int value) Line and column numbers within the source file, 1-based.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<P4Types.SourceLocation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<P4Types.SourceLocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<P4Types.SourceLocation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<P4Types.SourceLocation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<P4Types.SourceLocation.Builder>
-
mergeFrom
public P4Types.SourceLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<P4Types.SourceLocation.Builder>- Throws:
IOException
-
getFile
Path to the source file (absolute or relative to the working directory).
string file = 1;- Specified by:
getFilein interfaceP4Types.SourceLocationOrBuilder- Returns:
- The file.
-
getFileBytes
public com.google.protobuf.ByteString getFileBytes()Path to the source file (absolute or relative to the working directory).
string file = 1;- Specified by:
getFileBytesin interfaceP4Types.SourceLocationOrBuilder- Returns:
- The bytes for file.
-
setFile
Path to the source file (absolute or relative to the working directory).
string file = 1;- Parameters:
value- The file to set.- Returns:
- This builder for chaining.
-
clearFile
Path to the source file (absolute or relative to the working directory).
string file = 1;- Returns:
- This builder for chaining.
-
setFileBytes
Path to the source file (absolute or relative to the working directory).
string file = 1;- Parameters:
value- The bytes for file to set.- Returns:
- This builder for chaining.
-
getLine
public int getLine()Line and column numbers within the source file, 1-based.
int32 line = 2;- Specified by:
getLinein interfaceP4Types.SourceLocationOrBuilder- Returns:
- The line.
-
setLine
Line and column numbers within the source file, 1-based.
int32 line = 2;- Parameters:
value- The line to set.- Returns:
- This builder for chaining.
-
clearLine
Line and column numbers within the source file, 1-based.
int32 line = 2;- Returns:
- This builder for chaining.
-
getColumn
public int getColumn()int32 column = 3;- Specified by:
getColumnin interfaceP4Types.SourceLocationOrBuilder- Returns:
- The column.
-
setColumn
int32 column = 3;- Parameters:
value- The column to set.- Returns:
- This builder for chaining.
-
clearColumn
int32 column = 3;- Returns:
- This builder for chaining.
-