Class SemanticVersion.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
- app.coronawarn.server.common.protocols.internal.SemanticVersion.Builder
-
- All Implemented Interfaces:
SemanticVersionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- SemanticVersion
public static final class SemanticVersion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder> implements SemanticVersionOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.SemanticVersion
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SemanticVersion.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SemanticVersion
build()
SemanticVersion
buildPartial()
SemanticVersion.Builder
clear()
SemanticVersion.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SemanticVersion.Builder
clearMajor()
uint32 major = 1;
SemanticVersion.Builder
clearMinor()
uint32 minor = 2;
SemanticVersion.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SemanticVersion.Builder
clearPatch()
uint32 patch = 3;
SemanticVersion.Builder
clone()
SemanticVersion
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getMajor()
uint32 major = 1;
int
getMinor()
uint32 minor = 2;
int
getPatch()
uint32 patch = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SemanticVersion.Builder
mergeFrom(SemanticVersion other)
SemanticVersion.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SemanticVersion.Builder
mergeFrom(com.google.protobuf.Message other)
SemanticVersion.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SemanticVersion.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SemanticVersion.Builder
setMajor(int value)
uint32 major = 1;
SemanticVersion.Builder
setMinor(int value)
uint32 minor = 2;
SemanticVersion.Builder
setPatch(int value)
uint32 patch = 3;
SemanticVersion.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SemanticVersion.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
clear
public SemanticVersion.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
getDefaultInstanceForType
public SemanticVersion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SemanticVersion build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SemanticVersion buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SemanticVersion.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
setField
public SemanticVersion.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
clearField
public SemanticVersion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
clearOneof
public SemanticVersion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
setRepeatedField
public SemanticVersion.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
addRepeatedField
public SemanticVersion.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
mergeFrom
public SemanticVersion.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SemanticVersion.Builder>
-
mergeFrom
public SemanticVersion.Builder mergeFrom(SemanticVersion other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
mergeFrom
public SemanticVersion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SemanticVersion.Builder>
- Throws:
IOException
-
getMajor
public int getMajor()
uint32 major = 1;
- Specified by:
getMajor
in interfaceSemanticVersionOrBuilder
- Returns:
- The major.
-
setMajor
public SemanticVersion.Builder setMajor(int value)
uint32 major = 1;
- Parameters:
value
- The major to set.- Returns:
- This builder for chaining.
-
clearMajor
public SemanticVersion.Builder clearMajor()
uint32 major = 1;
- Returns:
- This builder for chaining.
-
getMinor
public int getMinor()
uint32 minor = 2;
- Specified by:
getMinor
in interfaceSemanticVersionOrBuilder
- Returns:
- The minor.
-
setMinor
public SemanticVersion.Builder setMinor(int value)
uint32 minor = 2;
- Parameters:
value
- The minor to set.- Returns:
- This builder for chaining.
-
clearMinor
public SemanticVersion.Builder clearMinor()
uint32 minor = 2;
- Returns:
- This builder for chaining.
-
getPatch
public int getPatch()
uint32 patch = 3;
- Specified by:
getPatch
in interfaceSemanticVersionOrBuilder
- Returns:
- The patch.
-
setPatch
public SemanticVersion.Builder setPatch(int value)
uint32 patch = 3;
- Parameters:
value
- The patch to set.- Returns:
- This builder for chaining.
-
clearPatch
public SemanticVersion.Builder clearPatch()
uint32 patch = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final SemanticVersion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
mergeUnknownFields
public final SemanticVersion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SemanticVersion.Builder>
-
-