Class DayPackageMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DayPackageMetadata.Builder>
-
- app.coronawarn.server.common.protocols.internal.v2.DayPackageMetadata.Builder
-
- All Implemented Interfaces:
DayPackageMetadataOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DayPackageMetadata
public static final class DayPackageMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DayPackageMetadata.Builder> implements DayPackageMetadataOrBuilder
Protobuf typeapp.coronawarn.server.common.protocols.internal.v2.DayPackageMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DayPackageMetadata.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DayPackageMetadata
build()
DayPackageMetadata
buildPartial()
DayPackageMetadata.Builder
clear()
DayPackageMetadata.Builder
clearDate()
string date = 2;
DayPackageMetadata.Builder
clearEtag()
string etag = 3;
DayPackageMetadata.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DayPackageMetadata.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DayPackageMetadata.Builder
clearRegion()
string region = 1;
DayPackageMetadata.Builder
clone()
String
getDate()
string date = 2;
com.google.protobuf.ByteString
getDateBytes()
string date = 2;
DayPackageMetadata
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEtag()
string etag = 3;
com.google.protobuf.ByteString
getEtagBytes()
string etag = 3;
String
getRegion()
string region = 1;
com.google.protobuf.ByteString
getRegionBytes()
string region = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DayPackageMetadata.Builder
mergeFrom(DayPackageMetadata other)
DayPackageMetadata.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DayPackageMetadata.Builder
mergeFrom(com.google.protobuf.Message other)
DayPackageMetadata.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DayPackageMetadata.Builder
setDate(String value)
string date = 2;
DayPackageMetadata.Builder
setDateBytes(com.google.protobuf.ByteString value)
string date = 2;
DayPackageMetadata.Builder
setEtag(String value)
string etag = 3;
DayPackageMetadata.Builder
setEtagBytes(com.google.protobuf.ByteString value)
string etag = 3;
DayPackageMetadata.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DayPackageMetadata.Builder
setRegion(String value)
string region = 1;
DayPackageMetadata.Builder
setRegionBytes(com.google.protobuf.ByteString value)
string region = 1;
DayPackageMetadata.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DayPackageMetadata.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<DayPackageMetadata.Builder>
-
clear
public DayPackageMetadata.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<DayPackageMetadata.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<DayPackageMetadata.Builder>
-
getDefaultInstanceForType
public DayPackageMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DayPackageMetadata build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DayPackageMetadata buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DayPackageMetadata.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<DayPackageMetadata.Builder>
-
setField
public DayPackageMetadata.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<DayPackageMetadata.Builder>
-
clearField
public DayPackageMetadata.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<DayPackageMetadata.Builder>
-
clearOneof
public DayPackageMetadata.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<DayPackageMetadata.Builder>
-
setRepeatedField
public DayPackageMetadata.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<DayPackageMetadata.Builder>
-
addRepeatedField
public DayPackageMetadata.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<DayPackageMetadata.Builder>
-
mergeFrom
public DayPackageMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DayPackageMetadata.Builder>
-
mergeFrom
public DayPackageMetadata.Builder mergeFrom(DayPackageMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DayPackageMetadata.Builder>
-
mergeFrom
public DayPackageMetadata.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<DayPackageMetadata.Builder>
- Throws:
IOException
-
getRegion
public String getRegion()
string region = 1;
- Specified by:
getRegion
in interfaceDayPackageMetadataOrBuilder
- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
string region = 1;
- Specified by:
getRegionBytes
in interfaceDayPackageMetadataOrBuilder
- Returns:
- The bytes for region.
-
setRegion
public DayPackageMetadata.Builder setRegion(String value)
string region = 1;
- Parameters:
value
- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public DayPackageMetadata.Builder clearRegion()
string region = 1;
- Returns:
- This builder for chaining.
-
setRegionBytes
public DayPackageMetadata.Builder setRegionBytes(com.google.protobuf.ByteString value)
string region = 1;
- Parameters:
value
- The bytes for region to set.- Returns:
- This builder for chaining.
-
getDate
public String getDate()
string date = 2;
- Specified by:
getDate
in interfaceDayPackageMetadataOrBuilder
- Returns:
- The date.
-
getDateBytes
public com.google.protobuf.ByteString getDateBytes()
string date = 2;
- Specified by:
getDateBytes
in interfaceDayPackageMetadataOrBuilder
- Returns:
- The bytes for date.
-
setDate
public DayPackageMetadata.Builder setDate(String value)
string date = 2;
- Parameters:
value
- The date to set.- Returns:
- This builder for chaining.
-
clearDate
public DayPackageMetadata.Builder clearDate()
string date = 2;
- Returns:
- This builder for chaining.
-
setDateBytes
public DayPackageMetadata.Builder setDateBytes(com.google.protobuf.ByteString value)
string date = 2;
- Parameters:
value
- The bytes for date to set.- Returns:
- This builder for chaining.
-
getEtag
public String getEtag()
string etag = 3;
- Specified by:
getEtag
in interfaceDayPackageMetadataOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
string etag = 3;
- Specified by:
getEtagBytes
in interfaceDayPackageMetadataOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
public DayPackageMetadata.Builder setEtag(String value)
string etag = 3;
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public DayPackageMetadata.Builder clearEtag()
string etag = 3;
- Returns:
- This builder for chaining.
-
setEtagBytes
public DayPackageMetadata.Builder setEtagBytes(com.google.protobuf.ByteString value)
string etag = 3;
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DayPackageMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DayPackageMetadata.Builder>
-
mergeUnknownFields
public final DayPackageMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DayPackageMetadata.Builder>
-
-