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