Class Column.Builder

  • All Implemented Interfaces:
    ColumnOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Column

    public static final class Column.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Column.Builder>
    implements ColumnOrBuilder
     The definition of a report column. Specifies the data properties
     in the corresponding position of the report rows.
     
    Protobuf type google.cloud.channel.v1.Column
    • 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<Column.Builder>
      • clear

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

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

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

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

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

        public Column.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<Column.Builder>
      • clearField

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

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

        public Column.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<Column.Builder>
      • addRepeatedField

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

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

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

        public Column.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<Column.Builder>
        Throws:
        IOException
      • getColumnId

        public String getColumnId()
         The unique name of the column (for example, customer_domain,
         channel_partner, customer_cost). You can use column IDs in
         [RunReportJobRequest.filter][google.cloud.channel.v1.RunReportJobRequest.filter].
         To see all reports and their columns, call
         [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
         
        string column_id = 1;
        Specified by:
        getColumnId in interface ColumnOrBuilder
        Returns:
        The columnId.
      • getColumnIdBytes

        public com.google.protobuf.ByteString getColumnIdBytes()
         The unique name of the column (for example, customer_domain,
         channel_partner, customer_cost). You can use column IDs in
         [RunReportJobRequest.filter][google.cloud.channel.v1.RunReportJobRequest.filter].
         To see all reports and their columns, call
         [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
         
        string column_id = 1;
        Specified by:
        getColumnIdBytes in interface ColumnOrBuilder
        Returns:
        The bytes for columnId.
      • setColumnId

        public Column.Builder setColumnId​(String value)
         The unique name of the column (for example, customer_domain,
         channel_partner, customer_cost). You can use column IDs in
         [RunReportJobRequest.filter][google.cloud.channel.v1.RunReportJobRequest.filter].
         To see all reports and their columns, call
         [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
         
        string column_id = 1;
        Parameters:
        value - The columnId to set.
        Returns:
        This builder for chaining.
      • clearColumnId

        public Column.Builder clearColumnId()
         The unique name of the column (for example, customer_domain,
         channel_partner, customer_cost). You can use column IDs in
         [RunReportJobRequest.filter][google.cloud.channel.v1.RunReportJobRequest.filter].
         To see all reports and their columns, call
         [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
         
        string column_id = 1;
        Returns:
        This builder for chaining.
      • setColumnIdBytes

        public Column.Builder setColumnIdBytes​(com.google.protobuf.ByteString value)
         The unique name of the column (for example, customer_domain,
         channel_partner, customer_cost). You can use column IDs in
         [RunReportJobRequest.filter][google.cloud.channel.v1.RunReportJobRequest.filter].
         To see all reports and their columns, call
         [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports].
         
        string column_id = 1;
        Parameters:
        value - The bytes for columnId to set.
        Returns:
        This builder for chaining.
      • getDisplayName

        public String getDisplayName()
         The column's display name.
         
        string display_name = 2;
        Specified by:
        getDisplayName in interface ColumnOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         The column's display name.
         
        string display_name = 2;
        Specified by:
        getDisplayNameBytes in interface ColumnOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public Column.Builder setDisplayName​(String value)
         The column's display name.
         
        string display_name = 2;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public Column.Builder clearDisplayName()
         The column's display name.
         
        string display_name = 2;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public Column.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         The column's display name.
         
        string display_name = 2;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getDataTypeValue

        public int getDataTypeValue()
         The type of the values for this column.
         
        .google.cloud.channel.v1.Column.DataType data_type = 3;
        Specified by:
        getDataTypeValue in interface ColumnOrBuilder
        Returns:
        The enum numeric value on the wire for dataType.
      • setDataTypeValue

        public Column.Builder setDataTypeValue​(int value)
         The type of the values for this column.
         
        .google.cloud.channel.v1.Column.DataType data_type = 3;
        Parameters:
        value - The enum numeric value on the wire for dataType to set.
        Returns:
        This builder for chaining.
      • getDataType

        public Column.DataType getDataType()
         The type of the values for this column.
         
        .google.cloud.channel.v1.Column.DataType data_type = 3;
        Specified by:
        getDataType in interface ColumnOrBuilder
        Returns:
        The dataType.
      • setDataType

        public Column.Builder setDataType​(Column.DataType value)
         The type of the values for this column.
         
        .google.cloud.channel.v1.Column.DataType data_type = 3;
        Parameters:
        value - The dataType to set.
        Returns:
        This builder for chaining.
      • clearDataType

        public Column.Builder clearDataType()
         The type of the values for this column.
         
        .google.cloud.channel.v1.Column.DataType data_type = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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