Class AppFeature.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AppFeature.Builder>
-
- app.coronawarn.server.common.protocols.internal.AppFeature.Builder
-
- All Implemented Interfaces:
AppFeatureOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AppFeature
public static final class AppFeature.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AppFeature.Builder> implements AppFeatureOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.AppFeature
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AppFeature.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AppFeature
build()
AppFeature
buildPartial()
AppFeature.Builder
clear()
AppFeature.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AppFeature.Builder
clearLabel()
string label = 1;
AppFeature.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AppFeature.Builder
clearValue()
int32 value = 2;
AppFeature.Builder
clone()
AppFeature
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getLabel()
string label = 1;
com.google.protobuf.ByteString
getLabelBytes()
string label = 1;
int
getValue()
int32 value = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AppFeature.Builder
mergeFrom(AppFeature other)
AppFeature.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AppFeature.Builder
mergeFrom(com.google.protobuf.Message other)
AppFeature.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AppFeature.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AppFeature.Builder
setLabel(String value)
string label = 1;
AppFeature.Builder
setLabelBytes(com.google.protobuf.ByteString value)
string label = 1;
AppFeature.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AppFeature.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AppFeature.Builder
setValue(int value)
int32 value = 2;
-
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<AppFeature.Builder>
-
clear
public AppFeature.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<AppFeature.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<AppFeature.Builder>
-
getDefaultInstanceForType
public AppFeature getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AppFeature build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AppFeature buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AppFeature.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<AppFeature.Builder>
-
setField
public AppFeature.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<AppFeature.Builder>
-
clearField
public AppFeature.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<AppFeature.Builder>
-
clearOneof
public AppFeature.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<AppFeature.Builder>
-
setRepeatedField
public AppFeature.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<AppFeature.Builder>
-
addRepeatedField
public AppFeature.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<AppFeature.Builder>
-
mergeFrom
public AppFeature.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AppFeature.Builder>
-
mergeFrom
public AppFeature.Builder mergeFrom(AppFeature other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppFeature.Builder>
-
mergeFrom
public AppFeature.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<AppFeature.Builder>
- Throws:
IOException
-
getLabel
public String getLabel()
string label = 1;
- Specified by:
getLabel
in interfaceAppFeatureOrBuilder
- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()
string label = 1;
- Specified by:
getLabelBytes
in interfaceAppFeatureOrBuilder
- Returns:
- The bytes for label.
-
setLabel
public AppFeature.Builder setLabel(String value)
string label = 1;
- Parameters:
value
- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
public AppFeature.Builder clearLabel()
string label = 1;
- Returns:
- This builder for chaining.
-
setLabelBytes
public AppFeature.Builder setLabelBytes(com.google.protobuf.ByteString value)
string label = 1;
- Parameters:
value
- The bytes for label to set.- Returns:
- This builder for chaining.
-
getValue
public int getValue()
int32 value = 2;
- Specified by:
getValue
in interfaceAppFeatureOrBuilder
- Returns:
- The value.
-
setValue
public AppFeature.Builder setValue(int value)
int32 value = 2;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public AppFeature.Builder clearValue()
int32 value = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final AppFeature.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppFeature.Builder>
-
mergeUnknownFields
public final AppFeature.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppFeature.Builder>
-
-