Class Osmformat.Info.Builder
- java.lang.Object
- 
- proto4.AbstractMessageLite.Builder
- 
- proto4.AbstractMessage.Builder<BuilderT>
- 
- proto4.GeneratedMessage.Builder<Osmformat.Info.Builder>
- 
- org.apache.sedona.sql.datasources.osmpbf.build.Osmformat.Info.Builder
 
 
 
 
- 
- All Implemented Interfaces:
- Cloneable,- Osmformat.InfoOrBuilder,- proto4.Message.Builder,- proto4.MessageLite.Builder,- proto4.MessageLiteOrBuilder,- proto4.MessageOrBuilder
 - Enclosing class:
- Osmformat.Info
 
 public static final class Osmformat.Info.Builder extends proto4.GeneratedMessage.Builder<Osmformat.Info.Builder> implements Osmformat.InfoOrBuilder Optional metadata that may be included into each primitive. Protobuf type Info
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Osmformat.Infobuild()Osmformat.InfobuildPartial()Osmformat.Info.Builderclear()Osmformat.Info.BuilderclearChangeset()optional int64 changeset = 3;Osmformat.Info.BuilderclearTimestamp()optional int64 timestamp = 2;Osmformat.Info.BuilderclearUid()optional int32 uid = 4;Osmformat.Info.BuilderclearUserSid()String IDsOsmformat.Info.BuilderclearVersion()optional int32 version = 1 [default = -1];Osmformat.Info.BuilderclearVisible()The visible flag is used to store history information.longgetChangeset()optional int64 changeset = 3;Osmformat.InfogetDefaultInstanceForType()static proto4.Descriptors.DescriptorgetDescriptor()proto4.Descriptors.DescriptorgetDescriptorForType()longgetTimestamp()optional int64 timestamp = 2;intgetUid()optional int32 uid = 4;intgetUserSid()String IDsintgetVersion()optional int32 version = 1 [default = -1];booleangetVisible()The visible flag is used to store history information.booleanhasChangeset()optional int64 changeset = 3;booleanhasTimestamp()optional int64 timestamp = 2;booleanhasUid()optional int32 uid = 4;booleanhasUserSid()String IDsbooleanhasVersion()optional int32 version = 1 [default = -1];booleanhasVisible()The visible flag is used to store history information.protected proto4.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Osmformat.Info.BuildermergeFrom(Osmformat.Info other)Osmformat.Info.BuildermergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)Osmformat.Info.BuildermergeFrom(proto4.Message other)Osmformat.Info.BuildersetChangeset(long value)optional int64 changeset = 3;Osmformat.Info.BuildersetTimestamp(long value)optional int64 timestamp = 2;Osmformat.Info.BuildersetUid(int value)optional int32 uid = 4;Osmformat.Info.BuildersetUserSid(int value)String IDsOsmformat.Info.BuildersetVersion(int value)optional int32 version = 1 [default = -1];Osmformat.Info.BuildersetVisible(boolean value)The visible flag is used to store history information.- 
Methods inherited from class proto4.GeneratedMessage.BuilderaddRepeatedField, 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
 - 
Methods inherited from class proto4.AbstractMessage.BuilderfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
 - 
Methods inherited from class proto4.AbstractMessageLite.BuilderaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
 
- 
 
- 
- 
- 
Method Detail- 
getDescriptorpublic static final proto4.Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- proto4.GeneratedMessage.Builder<Osmformat.Info.Builder>
 
 - 
clearpublic Osmformat.Info.Builder clear() - Specified by:
- clearin interface- proto4.Message.Builder
- Specified by:
- clearin interface- proto4.MessageLite.Builder
- Overrides:
- clearin class- proto4.GeneratedMessage.Builder<Osmformat.Info.Builder>
 
 - 
getDescriptorForTypepublic proto4.Descriptors.Descriptor getDescriptorForType() - Specified by:
- getDescriptorForTypein interface- proto4.Message.Builder
- Specified by:
- getDescriptorForTypein interface- proto4.MessageOrBuilder
- Overrides:
- getDescriptorForTypein class- proto4.GeneratedMessage.Builder<Osmformat.Info.Builder>
 
 - 
getDefaultInstanceForTypepublic Osmformat.Info getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- proto4.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- proto4.MessageOrBuilder
 
 - 
buildpublic Osmformat.Info build() - Specified by:
- buildin interface- proto4.Message.Builder
- Specified by:
- buildin interface- proto4.MessageLite.Builder
 
 - 
buildPartialpublic Osmformat.Info buildPartial() - Specified by:
- buildPartialin interface- proto4.Message.Builder
- Specified by:
- buildPartialin interface- proto4.MessageLite.Builder
 
 - 
mergeFrompublic Osmformat.Info.Builder mergeFrom(proto4.Message other) - Specified by:
- mergeFromin interface- proto4.Message.Builder
- Overrides:
- mergeFromin class- proto4.AbstractMessage.Builder<Osmformat.Info.Builder>
 
 - 
mergeFrompublic Osmformat.Info.Builder mergeFrom(Osmformat.Info other) 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- proto4.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- proto4.GeneratedMessage.Builder<Osmformat.Info.Builder>
 
 - 
mergeFrompublic Osmformat.Info.Builder mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
- mergeFromin interface- proto4.Message.Builder
- Specified by:
- mergeFromin interface- proto4.MessageLite.Builder
- Overrides:
- mergeFromin class- proto4.AbstractMessage.Builder<Osmformat.Info.Builder>
- Throws:
- IOException
 
 - 
hasVersionpublic boolean hasVersion() optional int32 version = 1 [default = -1];- Specified by:
- hasVersionin interface- Osmformat.InfoOrBuilder
- Returns:
- Whether the version field is set.
 
 - 
getVersionpublic int getVersion() optional int32 version = 1 [default = -1];- Specified by:
- getVersionin interface- Osmformat.InfoOrBuilder
- Returns:
- The version.
 
 - 
setVersionpublic Osmformat.Info.Builder setVersion(int value) optional int32 version = 1 [default = -1];- Parameters:
- value- The version to set.
- Returns:
- This builder for chaining.
 
 - 
clearVersionpublic Osmformat.Info.Builder clearVersion() optional int32 version = 1 [default = -1];- Returns:
- This builder for chaining.
 
 - 
hasTimestamppublic boolean hasTimestamp() optional int64 timestamp = 2;- Specified by:
- hasTimestampin interface- Osmformat.InfoOrBuilder
- Returns:
- Whether the timestamp field is set.
 
 - 
getTimestamppublic long getTimestamp() optional int64 timestamp = 2;- Specified by:
- getTimestampin interface- Osmformat.InfoOrBuilder
- Returns:
- The timestamp.
 
 - 
setTimestamppublic Osmformat.Info.Builder setTimestamp(long value) optional int64 timestamp = 2;- Parameters:
- value- The timestamp to set.
- Returns:
- This builder for chaining.
 
 - 
clearTimestamppublic Osmformat.Info.Builder clearTimestamp() optional int64 timestamp = 2;- Returns:
- This builder for chaining.
 
 - 
hasChangesetpublic boolean hasChangeset() optional int64 changeset = 3;- Specified by:
- hasChangesetin interface- Osmformat.InfoOrBuilder
- Returns:
- Whether the changeset field is set.
 
 - 
getChangesetpublic long getChangeset() optional int64 changeset = 3;- Specified by:
- getChangesetin interface- Osmformat.InfoOrBuilder
- Returns:
- The changeset.
 
 - 
setChangesetpublic Osmformat.Info.Builder setChangeset(long value) optional int64 changeset = 3;- Parameters:
- value- The changeset to set.
- Returns:
- This builder for chaining.
 
 - 
clearChangesetpublic Osmformat.Info.Builder clearChangeset() optional int64 changeset = 3;- Returns:
- This builder for chaining.
 
 - 
hasUidpublic boolean hasUid() optional int32 uid = 4;- Specified by:
- hasUidin interface- Osmformat.InfoOrBuilder
- Returns:
- Whether the uid field is set.
 
 - 
getUidpublic int getUid() optional int32 uid = 4;- Specified by:
- getUidin interface- Osmformat.InfoOrBuilder
- Returns:
- The uid.
 
 - 
setUidpublic Osmformat.Info.Builder setUid(int value) optional int32 uid = 4;- Parameters:
- value- The uid to set.
- Returns:
- This builder for chaining.
 
 - 
clearUidpublic Osmformat.Info.Builder clearUid() optional int32 uid = 4;- Returns:
- This builder for chaining.
 
 - 
hasUserSidpublic boolean hasUserSid() String IDs optional uint32 user_sid = 5;- Specified by:
- hasUserSidin interface- Osmformat.InfoOrBuilder
- Returns:
- Whether the userSid field is set.
 
 - 
getUserSidpublic int getUserSid() String IDs optional uint32 user_sid = 5;- Specified by:
- getUserSidin interface- Osmformat.InfoOrBuilder
- Returns:
- The userSid.
 
 - 
setUserSidpublic Osmformat.Info.Builder setUserSid(int value) String IDs optional uint32 user_sid = 5;- Parameters:
- value- The userSid to set.
- Returns:
- This builder for chaining.
 
 - 
clearUserSidpublic Osmformat.Info.Builder clearUserSid() String IDs optional uint32 user_sid = 5;- Returns:
- This builder for chaining.
 
 - 
hasVisiblepublic boolean hasVisible() The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set. optional bool visible = 6;- Specified by:
- hasVisiblein interface- Osmformat.InfoOrBuilder
- Returns:
- Whether the visible field is set.
 
 - 
getVisiblepublic boolean getVisible() The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set. optional bool visible = 6;- Specified by:
- getVisiblein interface- Osmformat.InfoOrBuilder
- Returns:
- The visible.
 
 - 
setVisiblepublic Osmformat.Info.Builder setVisible(boolean value) The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set. optional bool visible = 6;- Parameters:
- value- The visible to set.
- Returns:
- This builder for chaining.
 
 - 
clearVisiblepublic Osmformat.Info.Builder clearVisible() The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set. optional bool visible = 6;- Returns:
- This builder for chaining.
 
 
- 
 
-