Class Migrate.FieldMigrateAnnotation.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • rename_

        private java.lang.Object rename_
      • oneofPromotion_

        private java.lang.Object oneofPromotion_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Migrate.FieldMigrateAnnotation.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.GeneratedMessage.Builder<Migrate.FieldMigrateAnnotation.Builder>
      • getDefaultInstanceForType

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

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

        public Migrate.FieldMigrateAnnotation buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public Migrate.FieldMigrateAnnotation.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<Migrate.FieldMigrateAnnotation.Builder>
        Throws:
        java.io.IOException
      • setRename

        public Migrate.FieldMigrateAnnotation.Builder setRename​(java.lang.String value)
         Rename the field in next version.
         
        string rename = 1;
        Parameters:
        value - The rename to set.
        Returns:
        This builder for chaining.
      • setRenameBytes

        public Migrate.FieldMigrateAnnotation.Builder setRenameBytes​(com.google.protobuf.ByteString value)
         Rename the field in next version.
         
        string rename = 1;
        Parameters:
        value - The bytes for rename to set.
        Returns:
        This builder for chaining.
      • getOneofPromotion

        public java.lang.String getOneofPromotion()
         Add the field to a named oneof in next version. If this already exists, the
         field will join its siblings under the oneof, otherwise a new oneof will be
         created with the given name.
         
        string oneof_promotion = 2;
        Specified by:
        getOneofPromotion in interface Migrate.FieldMigrateAnnotationOrBuilder
        Returns:
        The oneofPromotion.
      • getOneofPromotionBytes

        public com.google.protobuf.ByteString getOneofPromotionBytes()
         Add the field to a named oneof in next version. If this already exists, the
         field will join its siblings under the oneof, otherwise a new oneof will be
         created with the given name.
         
        string oneof_promotion = 2;
        Specified by:
        getOneofPromotionBytes in interface Migrate.FieldMigrateAnnotationOrBuilder
        Returns:
        The bytes for oneofPromotion.
      • setOneofPromotion

        public Migrate.FieldMigrateAnnotation.Builder setOneofPromotion​(java.lang.String value)
         Add the field to a named oneof in next version. If this already exists, the
         field will join its siblings under the oneof, otherwise a new oneof will be
         created with the given name.
         
        string oneof_promotion = 2;
        Parameters:
        value - The oneofPromotion to set.
        Returns:
        This builder for chaining.
      • clearOneofPromotion

        public Migrate.FieldMigrateAnnotation.Builder clearOneofPromotion()
         Add the field to a named oneof in next version. If this already exists, the
         field will join its siblings under the oneof, otherwise a new oneof will be
         created with the given name.
         
        string oneof_promotion = 2;
        Returns:
        This builder for chaining.
      • setOneofPromotionBytes

        public Migrate.FieldMigrateAnnotation.Builder setOneofPromotionBytes​(com.google.protobuf.ByteString value)
         Add the field to a named oneof in next version. If this already exists, the
         field will join its siblings under the oneof, otherwise a new oneof will be
         created with the given name.
         
        string oneof_promotion = 2;
        Parameters:
        value - The bytes for oneofPromotion to set.
        Returns:
        This builder for chaining.