public static final class Osmformat.Way.Builder extends proto4.GeneratedMessage.Builder<Osmformat.Way.Builder> implements Osmformat.WayOrBuilder
Way
Modifier and Type | Method and Description |
---|---|
Osmformat.Way.Builder |
addAllKeys(Iterable<? extends Integer> values)
Parallel arrays.
|
Osmformat.Way.Builder |
addAllRefs(Iterable<? extends Long> values)
DELTA coded
|
Osmformat.Way.Builder |
addAllVals(Iterable<? extends Integer> values)
repeated uint32 vals = 3 [packed = true]; |
Osmformat.Way.Builder |
addKeys(int value)
Parallel arrays.
|
Osmformat.Way.Builder |
addRefs(long value)
DELTA coded
|
Osmformat.Way.Builder |
addVals(int value)
repeated uint32 vals = 3 [packed = true]; |
Osmformat.Way |
build() |
Osmformat.Way |
buildPartial() |
Osmformat.Way.Builder |
clear() |
Osmformat.Way.Builder |
clearId()
required int64 id = 1; |
Osmformat.Way.Builder |
clearInfo()
optional .Info info = 4; |
Osmformat.Way.Builder |
clearKeys()
Parallel arrays.
|
Osmformat.Way.Builder |
clearRefs()
DELTA coded
|
Osmformat.Way.Builder |
clearVals()
repeated uint32 vals = 3 [packed = true]; |
Osmformat.Way |
getDefaultInstanceForType() |
static proto4.Descriptors.Descriptor |
getDescriptor() |
proto4.Descriptors.Descriptor |
getDescriptorForType() |
long |
getId()
required int64 id = 1; |
Osmformat.Info |
getInfo()
optional .Info info = 4; |
Osmformat.Info.Builder |
getInfoBuilder()
optional .Info info = 4; |
Osmformat.InfoOrBuilder |
getInfoOrBuilder()
optional .Info info = 4; |
int |
getKeys(int index)
Parallel arrays.
|
int |
getKeysCount()
Parallel arrays.
|
List<Integer> |
getKeysList()
Parallel arrays.
|
long |
getRefs(int index)
DELTA coded
|
int |
getRefsCount()
DELTA coded
|
List<Long> |
getRefsList()
DELTA coded
|
int |
getVals(int index)
repeated uint32 vals = 3 [packed = true]; |
int |
getValsCount()
repeated uint32 vals = 3 [packed = true]; |
List<Integer> |
getValsList()
repeated uint32 vals = 3 [packed = true]; |
boolean |
hasId()
required int64 id = 1; |
boolean |
hasInfo()
optional .Info info = 4; |
protected proto4.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Osmformat.Way.Builder |
mergeFrom(proto4.CodedInputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
Osmformat.Way.Builder |
mergeFrom(proto4.Message other) |
Osmformat.Way.Builder |
mergeFrom(Osmformat.Way other) |
Osmformat.Way.Builder |
mergeInfo(Osmformat.Info value)
optional .Info info = 4; |
Osmformat.Way.Builder |
setId(long value)
required int64 id = 1; |
Osmformat.Way.Builder |
setInfo(Osmformat.Info.Builder builderForValue)
optional .Info info = 4; |
Osmformat.Way.Builder |
setInfo(Osmformat.Info value)
optional .Info info = 4; |
Osmformat.Way.Builder |
setKeys(int index,
int value)
Parallel arrays.
|
Osmformat.Way.Builder |
setRefs(int index,
long value)
DELTA coded
|
Osmformat.Way.Builder |
setVals(int index,
int value)
repeated uint32 vals = 3 [packed = true]; |
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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final proto4.Descriptors.Descriptor getDescriptor()
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class proto4.GeneratedMessage.Builder<Osmformat.Way.Builder>
public Osmformat.Way.Builder clear()
clear
in interface proto4.Message.Builder
clear
in interface proto4.MessageLite.Builder
clear
in class proto4.GeneratedMessage.Builder<Osmformat.Way.Builder>
public proto4.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface proto4.Message.Builder
getDescriptorForType
in interface proto4.MessageOrBuilder
getDescriptorForType
in class proto4.GeneratedMessage.Builder<Osmformat.Way.Builder>
public Osmformat.Way getDefaultInstanceForType()
getDefaultInstanceForType
in interface proto4.MessageLiteOrBuilder
getDefaultInstanceForType
in interface proto4.MessageOrBuilder
public Osmformat.Way build()
build
in interface proto4.Message.Builder
build
in interface proto4.MessageLite.Builder
public Osmformat.Way buildPartial()
buildPartial
in interface proto4.Message.Builder
buildPartial
in interface proto4.MessageLite.Builder
public Osmformat.Way.Builder mergeFrom(proto4.Message other)
mergeFrom
in interface proto4.Message.Builder
mergeFrom
in class proto4.AbstractMessage.Builder<Osmformat.Way.Builder>
public Osmformat.Way.Builder mergeFrom(Osmformat.Way other)
public final boolean isInitialized()
isInitialized
in interface proto4.MessageLiteOrBuilder
isInitialized
in class proto4.GeneratedMessage.Builder<Osmformat.Way.Builder>
public Osmformat.Way.Builder mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface proto4.Message.Builder
mergeFrom
in interface proto4.MessageLite.Builder
mergeFrom
in class proto4.AbstractMessage.Builder<Osmformat.Way.Builder>
IOException
public boolean hasId()
required int64 id = 1;
hasId
in interface Osmformat.WayOrBuilder
public long getId()
required int64 id = 1;
getId
in interface Osmformat.WayOrBuilder
public Osmformat.Way.Builder setId(long value)
required int64 id = 1;
value
- The id to set.public Osmformat.Way.Builder clearId()
required int64 id = 1;
public List<Integer> getKeysList()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeysList
in interface Osmformat.WayOrBuilder
public int getKeysCount()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeysCount
in interface Osmformat.WayOrBuilder
public int getKeys(int index)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeys
in interface Osmformat.WayOrBuilder
index
- The index of the element to return.public Osmformat.Way.Builder setKeys(int index, int value)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
index
- The index to set the value at.value
- The keys to set.public Osmformat.Way.Builder addKeys(int value)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
value
- The keys to add.public Osmformat.Way.Builder addAllKeys(Iterable<? extends Integer> values)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
values
- The keys to add.public Osmformat.Way.Builder clearKeys()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
public List<Integer> getValsList()
repeated uint32 vals = 3 [packed = true];
getValsList
in interface Osmformat.WayOrBuilder
public int getValsCount()
repeated uint32 vals = 3 [packed = true];
getValsCount
in interface Osmformat.WayOrBuilder
public int getVals(int index)
repeated uint32 vals = 3 [packed = true];
getVals
in interface Osmformat.WayOrBuilder
index
- The index of the element to return.public Osmformat.Way.Builder setVals(int index, int value)
repeated uint32 vals = 3 [packed = true];
index
- The index to set the value at.value
- The vals to set.public Osmformat.Way.Builder addVals(int value)
repeated uint32 vals = 3 [packed = true];
value
- The vals to add.public Osmformat.Way.Builder addAllVals(Iterable<? extends Integer> values)
repeated uint32 vals = 3 [packed = true];
values
- The vals to add.public Osmformat.Way.Builder clearVals()
repeated uint32 vals = 3 [packed = true];
public boolean hasInfo()
optional .Info info = 4;
hasInfo
in interface Osmformat.WayOrBuilder
public Osmformat.Info getInfo()
optional .Info info = 4;
getInfo
in interface Osmformat.WayOrBuilder
public Osmformat.Way.Builder setInfo(Osmformat.Info value)
optional .Info info = 4;
public Osmformat.Way.Builder setInfo(Osmformat.Info.Builder builderForValue)
optional .Info info = 4;
public Osmformat.Way.Builder mergeInfo(Osmformat.Info value)
optional .Info info = 4;
public Osmformat.Way.Builder clearInfo()
optional .Info info = 4;
public Osmformat.Info.Builder getInfoBuilder()
optional .Info info = 4;
public Osmformat.InfoOrBuilder getInfoOrBuilder()
optional .Info info = 4;
getInfoOrBuilder
in interface Osmformat.WayOrBuilder
public List<Long> getRefsList()
DELTA coded
repeated sint64 refs = 8 [packed = true];
getRefsList
in interface Osmformat.WayOrBuilder
public int getRefsCount()
DELTA coded
repeated sint64 refs = 8 [packed = true];
getRefsCount
in interface Osmformat.WayOrBuilder
public long getRefs(int index)
DELTA coded
repeated sint64 refs = 8 [packed = true];
getRefs
in interface Osmformat.WayOrBuilder
index
- The index of the element to return.public Osmformat.Way.Builder setRefs(int index, long value)
DELTA coded
repeated sint64 refs = 8 [packed = true];
index
- The index to set the value at.value
- The refs to set.public Osmformat.Way.Builder addRefs(long value)
DELTA coded
repeated sint64 refs = 8 [packed = true];
value
- The refs to add.public Osmformat.Way.Builder addAllRefs(Iterable<? extends Long> values)
DELTA coded
repeated sint64 refs = 8 [packed = true];
values
- The refs to add.public Osmformat.Way.Builder clearRefs()
DELTA coded
repeated sint64 refs = 8 [packed = true];
Copyright © 2025 The Apache Software Foundation. All rights reserved.