Class Migrate.FileMigrateAnnotation.Builder

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int bitField0_  
      private java.lang.Object moveToPackage_  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Builder()  
      private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)  
    • Field Detail

      • bitField0_

        private int bitField0_
      • moveToPackage_

        private java.lang.Object moveToPackage_
    • 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.FileMigrateAnnotation.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.FileMigrateAnnotation.Builder>
      • getDefaultInstanceForType

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

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

        public Migrate.FileMigrateAnnotation 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.FileMigrateAnnotation.Builder>
      • mergeFrom

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

        public java.lang.String getMoveToPackage()
         Move all types in the file to another package, this implies changing proto
         file path.
         
        string move_to_package = 2;
        Specified by:
        getMoveToPackage in interface Migrate.FileMigrateAnnotationOrBuilder
        Returns:
        The moveToPackage.
      • getMoveToPackageBytes

        public com.google.protobuf.ByteString getMoveToPackageBytes()
         Move all types in the file to another package, this implies changing proto
         file path.
         
        string move_to_package = 2;
        Specified by:
        getMoveToPackageBytes in interface Migrate.FileMigrateAnnotationOrBuilder
        Returns:
        The bytes for moveToPackage.
      • setMoveToPackage

        public Migrate.FileMigrateAnnotation.Builder setMoveToPackage​(java.lang.String value)
         Move all types in the file to another package, this implies changing proto
         file path.
         
        string move_to_package = 2;
        Parameters:
        value - The moveToPackage to set.
        Returns:
        This builder for chaining.
      • clearMoveToPackage

        public Migrate.FileMigrateAnnotation.Builder clearMoveToPackage()
         Move all types in the file to another package, this implies changing proto
         file path.
         
        string move_to_package = 2;
        Returns:
        This builder for chaining.
      • setMoveToPackageBytes

        public Migrate.FileMigrateAnnotation.Builder setMoveToPackageBytes​(com.google.protobuf.ByteString value)
         Move all types in the file to another package, this implies changing proto
         file path.
         
        string move_to_package = 2;
        Parameters:
        value - The bytes for moveToPackage to set.
        Returns:
        This builder for chaining.