Package flyteidl.core

Class Types.SchemaType.SchemaColumn.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<Types.SchemaType.SchemaColumn.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<Types.SchemaType.SchemaColumn.Builder>
      • getDefaultInstanceForType

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

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

        public Types.SchemaType.SchemaColumn buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public Types.SchemaType.SchemaColumn.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<Types.SchemaType.SchemaColumn.Builder>
      • addRepeatedField

        public Types.SchemaType.SchemaColumn.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<Types.SchemaType.SchemaColumn.Builder>
      • isInitialized

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

        public Types.SchemaType.SchemaColumn.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<Types.SchemaType.SchemaColumn.Builder>
        Throws:
        java.io.IOException
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         A unique name -within the schema type- for the column
         
        string name = 1;
        Specified by:
        getNameBytes in interface Types.SchemaType.SchemaColumnOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Types.SchemaType.SchemaColumn.Builder setName​(java.lang.String value)
         A unique name -within the schema type- for the column
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public Types.SchemaType.SchemaColumn.Builder setNameBytes​(com.google.protobuf.ByteString value)
         A unique name -within the schema type- for the column
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
         The column type. This allows a limited set of types currently.
         
        .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2;
        Specified by:
        getTypeValue in interface Types.SchemaType.SchemaColumnOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public Types.SchemaType.SchemaColumn.Builder setTypeValue​(int value)
         The column type. This allows a limited set of types currently.
         
        .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Types.SchemaType.SchemaColumn.Builder clearType()
         The column type. This allows a limited set of types currently.
         
        .flyteidl.core.SchemaType.SchemaColumn.SchemaColumnType type = 2;
        Returns:
        This builder for chaining.