Class FillData.Builder

  • All Implemented Interfaces:
    FillDataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    FillData

    public static final class FillData.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FillData.Builder>
    implements FillDataOrBuilder
    Protobuf type cern.nxcals.api.extraction.thin.FillData
    • 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<FillData.Builder>
      • clear

        public FillData.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<FillData.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<FillData.Builder>
      • getDefaultInstanceForType

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

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

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

        public FillData.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<FillData.Builder>
      • setField

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

        public FillData.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<FillData.Builder>
      • clearOneof

        public FillData.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<FillData.Builder>
      • setRepeatedField

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

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

        public FillData.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<FillData.Builder>
      • isInitialized

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

        public FillData.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws java.io.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<FillData.Builder>
        Throws:
        java.io.IOException
      • getNumber

        public int getNumber()
        int32 number = 1;
        Specified by:
        getNumber in interface FillDataOrBuilder
        Returns:
        The number.
      • setNumber

        public FillData.Builder setNumber​(int value)
        int32 number = 1;
        Parameters:
        value - The number to set.
        Returns:
        This builder for chaining.
      • clearNumber

        public FillData.Builder clearNumber()
        int32 number = 1;
        Returns:
        This builder for chaining.
      • hasValidity

        public boolean hasValidity()
        .cern.nxcals.api.extraction.thin.TimeWindow validity = 2;
        Specified by:
        hasValidity in interface FillDataOrBuilder
        Returns:
        Whether the validity field is set.
      • setValidity

        public FillData.Builder setValidity​(TimeWindow value)
        .cern.nxcals.api.extraction.thin.TimeWindow validity = 2;
      • mergeValidity

        public FillData.Builder mergeValidity​(TimeWindow value)
        .cern.nxcals.api.extraction.thin.TimeWindow validity = 2;
      • clearValidity

        public FillData.Builder clearValidity()
        .cern.nxcals.api.extraction.thin.TimeWindow validity = 2;
      • getValidityBuilder

        public TimeWindow.Builder getValidityBuilder()
        .cern.nxcals.api.extraction.thin.TimeWindow validity = 2;
      • getBeamModesCount

        public int getBeamModesCount()
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
        Specified by:
        getBeamModesCount in interface FillDataOrBuilder
      • getBeamModes

        public BeamMode getBeamModes​(int index)
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
        Specified by:
        getBeamModes in interface FillDataOrBuilder
      • setBeamModes

        public FillData.Builder setBeamModes​(int index,
                                             BeamMode value)
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
      • setBeamModes

        public FillData.Builder setBeamModes​(int index,
                                             BeamMode.Builder builderForValue)
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
      • addBeamModes

        public FillData.Builder addBeamModes​(BeamMode value)
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
      • addBeamModes

        public FillData.Builder addBeamModes​(int index,
                                             BeamMode value)
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
      • addBeamModes

        public FillData.Builder addBeamModes​(int index,
                                             BeamMode.Builder builderForValue)
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
      • addAllBeamModes

        public FillData.Builder addAllBeamModes​(java.lang.Iterable<? extends BeamMode> values)
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
      • clearBeamModes

        public FillData.Builder clearBeamModes()
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
      • removeBeamModes

        public FillData.Builder removeBeamModes​(int index)
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
      • getBeamModesBuilder

        public BeamMode.Builder getBeamModesBuilder​(int index)
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
      • addBeamModesBuilder

        public BeamMode.Builder addBeamModesBuilder()
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
      • addBeamModesBuilder

        public BeamMode.Builder addBeamModesBuilder​(int index)
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
      • getBeamModesBuilderList

        public java.util.List<BeamMode.Builder> getBeamModesBuilderList()
        repeated .cern.nxcals.api.extraction.thin.BeamMode beamModes = 3;
      • setUnknownFields

        public final FillData.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<FillData.Builder>
      • mergeUnknownFields

        public final FillData.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<FillData.Builder>