public static final class Configpb.Version.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder> implements Configpb.VersionOrBuilder
The version is used to tell the configuration which can be shared or not apart. Global version represents the version of these configuration which can be shared, each kind of component only have one. For local version, every component will have one to represent the version of these configuration which cannot be shared.Protobuf type
configpb.Version
Modifier and Type | Method and Description |
---|---|
Configpb.Version.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Configpb.Version |
build() |
Configpb.Version |
buildPartial() |
Configpb.Version.Builder |
clear() |
Configpb.Version.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Configpb.Version.Builder |
clearGlobal()
uint64 global = 2; |
Configpb.Version.Builder |
clearLocal()
uint64 local = 1; |
Configpb.Version.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Configpb.Version.Builder |
clone() |
Configpb.Version |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getGlobal()
uint64 global = 2; |
long |
getLocal()
uint64 local = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Configpb.Version.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Configpb.Version.Builder |
mergeFrom(Configpb.Version other) |
Configpb.Version.Builder |
mergeFrom(com.google.protobuf.Message other) |
Configpb.Version.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Configpb.Version.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Configpb.Version.Builder |
setGlobal(long value)
uint64 global = 2; |
Configpb.Version.Builder |
setLocal(long value)
uint64 local = 1; |
Configpb.Version.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Configpb.Version.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder>
public Configpb.Version.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder>
public Configpb.Version getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Configpb.Version build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Configpb.Version buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Configpb.Version.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder>
public Configpb.Version.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder>
public Configpb.Version.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder>
public Configpb.Version.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder>
public Configpb.Version.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder>
public Configpb.Version.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder>
public Configpb.Version.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Configpb.Version.Builder>
public Configpb.Version.Builder mergeFrom(Configpb.Version other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder>
public Configpb.Version.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Configpb.Version.Builder>
IOException
public long getLocal()
uint64 local = 1;
getLocal
in interface Configpb.VersionOrBuilder
public Configpb.Version.Builder setLocal(long value)
uint64 local = 1;
value
- The local to set.public Configpb.Version.Builder clearLocal()
uint64 local = 1;
public long getGlobal()
uint64 global = 2;
getGlobal
in interface Configpb.VersionOrBuilder
public Configpb.Version.Builder setGlobal(long value)
uint64 global = 2;
value
- The global to set.public Configpb.Version.Builder clearGlobal()
uint64 global = 2;
public final Configpb.Version.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder>
public final Configpb.Version.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Configpb.Version.Builder>
Copyright © 2024 PingCAP. All rights reserved.