Class SubmissionPayload.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SubmissionPayload.Builder>
      • clear

        public SubmissionPayload.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<SubmissionPayload.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SubmissionPayload.Builder>
      • getDefaultInstanceForType

        public SubmissionPayload getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SubmissionPayload build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SubmissionPayload buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public SubmissionPayload.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<SubmissionPayload.Builder>
      • setField

        public SubmissionPayload.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<SubmissionPayload.Builder>
      • clearField

        public SubmissionPayload.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SubmissionPayload.Builder>
      • clearOneof

        public SubmissionPayload.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SubmissionPayload.Builder>
      • setRepeatedField

        public SubmissionPayload.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SubmissionPayload.Builder>
      • addRepeatedField

        public SubmissionPayload.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SubmissionPayload.Builder>
      • mergeFrom

        public SubmissionPayload.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SubmissionPayload.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SubmissionPayload.Builder>
      • mergeFrom

        public SubmissionPayload.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SubmissionPayload.Builder>
        Throws:
        IOException
      • getKeysCount

        public int getKeysCount()
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.TemporaryExposureKey keys = 1;
        Specified by:
        getKeysCount in interface SubmissionPayloadOrBuilder
      • clearKeys

        public SubmissionPayload.Builder clearKeys()
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.TemporaryExposureKey keys = 1;
      • removeKeys

        public SubmissionPayload.Builder removeKeys​(int index)
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.TemporaryExposureKey keys = 1;
      • getKeysBuilder

        public TemporaryExposureKey.Builder getKeysBuilder​(int index)
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.TemporaryExposureKey keys = 1;
      • addKeysBuilder

        public TemporaryExposureKey.Builder addKeysBuilder()
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.TemporaryExposureKey keys = 1;
      • addKeysBuilder

        public TemporaryExposureKey.Builder addKeysBuilder​(int index)
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.TemporaryExposureKey keys = 1;
      • getKeysBuilderList

        public List<TemporaryExposureKey.Builder> getKeysBuilderList()
        repeated .app.coronawarn.server.common.protocols.external.exposurenotification.TemporaryExposureKey keys = 1;
      • hasRequestPadding

        public boolean hasRequestPadding()
        optional bytes requestPadding = 2;
        Specified by:
        hasRequestPadding in interface SubmissionPayloadOrBuilder
        Returns:
        Whether the requestPadding field is set.
      • getRequestPadding

        public com.google.protobuf.ByteString getRequestPadding()
        optional bytes requestPadding = 2;
        Specified by:
        getRequestPadding in interface SubmissionPayloadOrBuilder
        Returns:
        The requestPadding.
      • setRequestPadding

        public SubmissionPayload.Builder setRequestPadding​(com.google.protobuf.ByteString value)
        optional bytes requestPadding = 2;
        Parameters:
        value - The requestPadding to set.
        Returns:
        This builder for chaining.
      • clearRequestPadding

        public SubmissionPayload.Builder clearRequestPadding()
        optional bytes requestPadding = 2;
        Returns:
        This builder for chaining.
      • getVisitedCountriesList

        public com.google.protobuf.ProtocolStringList getVisitedCountriesList()
        repeated string visitedCountries = 3;
        Specified by:
        getVisitedCountriesList in interface SubmissionPayloadOrBuilder
        Returns:
        A list containing the visitedCountries.
      • getVisitedCountries

        public String getVisitedCountries​(int index)
        repeated string visitedCountries = 3;
        Specified by:
        getVisitedCountries in interface SubmissionPayloadOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The visitedCountries at the given index.
      • getVisitedCountriesBytes

        public com.google.protobuf.ByteString getVisitedCountriesBytes​(int index)
        repeated string visitedCountries = 3;
        Specified by:
        getVisitedCountriesBytes in interface SubmissionPayloadOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the visitedCountries at the given index.
      • setVisitedCountries

        public SubmissionPayload.Builder setVisitedCountries​(int index,
                                                             String value)
        repeated string visitedCountries = 3;
        Parameters:
        index - The index to set the value at.
        value - The visitedCountries to set.
        Returns:
        This builder for chaining.
      • addVisitedCountries

        public SubmissionPayload.Builder addVisitedCountries​(String value)
        repeated string visitedCountries = 3;
        Parameters:
        value - The visitedCountries to add.
        Returns:
        This builder for chaining.
      • addAllVisitedCountries

        public SubmissionPayload.Builder addAllVisitedCountries​(Iterable<String> values)
        repeated string visitedCountries = 3;
        Parameters:
        values - The visitedCountries to add.
        Returns:
        This builder for chaining.
      • clearVisitedCountries

        public SubmissionPayload.Builder clearVisitedCountries()
        repeated string visitedCountries = 3;
        Returns:
        This builder for chaining.
      • addVisitedCountriesBytes

        public SubmissionPayload.Builder addVisitedCountriesBytes​(com.google.protobuf.ByteString value)
        repeated string visitedCountries = 3;
        Parameters:
        value - The bytes of the visitedCountries to add.
        Returns:
        This builder for chaining.
      • hasOrigin

        public boolean hasOrigin()
        optional string origin = 4;
        Specified by:
        hasOrigin in interface SubmissionPayloadOrBuilder
        Returns:
        Whether the origin field is set.
      • getOriginBytes

        public com.google.protobuf.ByteString getOriginBytes()
        optional string origin = 4;
        Specified by:
        getOriginBytes in interface SubmissionPayloadOrBuilder
        Returns:
        The bytes for origin.
      • setOrigin

        public SubmissionPayload.Builder setOrigin​(String value)
        optional string origin = 4;
        Parameters:
        value - The origin to set.
        Returns:
        This builder for chaining.
      • clearOrigin

        public SubmissionPayload.Builder clearOrigin()
        optional string origin = 4;
        Returns:
        This builder for chaining.
      • setOriginBytes

        public SubmissionPayload.Builder setOriginBytes​(com.google.protobuf.ByteString value)
        optional string origin = 4;
        Parameters:
        value - The bytes for origin to set.
        Returns:
        This builder for chaining.
      • setConsentToFederation

        public SubmissionPayload.Builder setConsentToFederation​(boolean value)
        optional bool consentToFederation = 5;
        Parameters:
        value - The consentToFederation to set.
        Returns:
        This builder for chaining.
      • clearConsentToFederation

        public SubmissionPayload.Builder clearConsentToFederation()
        optional bool consentToFederation = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final SubmissionPayload.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SubmissionPayload.Builder>
      • mergeUnknownFields

        public final SubmissionPayload.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SubmissionPayload.Builder>