Class Column.Builder (3.53.0)

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

Implements

ColumnOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Column.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Column.Builder
Overrides

build()

public Column build()
Returns
Type Description
Column

buildPartial()

public Column buildPartial()
Returns
Type Description
Column

clear()

public Column.Builder clear()
Returns
Type Description
Column.Builder
Overrides

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. To see all reports and their columns, call CloudChannelReportsService.ListReports.

string column_id = 1;

Returns
Type Description
Column.Builder

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
Type Description
Column.Builder

This builder for chaining.

clearDisplayName()

public Column.Builder clearDisplayName()

The column's display name.

string display_name = 2;

Returns
Type Description
Column.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Column.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Column.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Column.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Column.Builder
Overrides

clone()

public Column.Builder clone()
Returns
Type Description
Column.Builder
Overrides

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. To see all reports and their columns, call CloudChannelReportsService.ListReports.

string column_id = 1;

Returns
Type Description
String

The columnId.

getColumnIdBytes()

public ByteString getColumnIdBytes()

The unique name of the column (for example, customer_domain, channel_partner, customer_cost). You can use column IDs in RunReportJobRequest.filter. To see all reports and their columns, call CloudChannelReportsService.ListReports.

string column_id = 1;

Returns
Type Description
ByteString

The bytes for columnId.

getDataType()

public Column.DataType getDataType()

The type of the values for this column.

.google.cloud.channel.v1.Column.DataType data_type = 3;

Returns
Type Description
Column.DataType

The dataType.

getDataTypeValue()

public int getDataTypeValue()

The type of the values for this column.

.google.cloud.channel.v1.Column.DataType data_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for dataType.

getDefaultInstanceForType()

public Column getDefaultInstanceForType()
Returns
Type Description
Column

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The column's display name.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The column's display name.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Column other)

public Column.Builder mergeFrom(Column other)
Parameter
Name Description
other Column
Returns
Type Description
Column.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Column.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Column.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Column.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Column.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Column.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Column.Builder
Overrides

setColumnId(String value)

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. To see all reports and their columns, call CloudChannelReportsService.ListReports.

string column_id = 1;

Parameter
Name Description
value String

The columnId to set.

Returns
Type Description
Column.Builder

This builder for chaining.

setColumnIdBytes(ByteString value)

public Column.Builder setColumnIdBytes(ByteString value)

The unique name of the column (for example, customer_domain, channel_partner, customer_cost). You can use column IDs in RunReportJobRequest.filter. To see all reports and their columns, call CloudChannelReportsService.ListReports.

string column_id = 1;

Parameter
Name Description
value ByteString

The bytes for columnId to set.

Returns
Type Description
Column.Builder

This builder for chaining.

setDataType(Column.DataType value)

public Column.Builder setDataType(Column.DataType value)

The type of the values for this column.

.google.cloud.channel.v1.Column.DataType data_type = 3;

Parameter
Name Description
value Column.DataType

The dataType to set.

Returns
Type Description
Column.Builder

This builder for chaining.

setDataTypeValue(int value)

public Column.Builder setDataTypeValue(int value)

The type of the values for this column.

.google.cloud.channel.v1.Column.DataType data_type = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for dataType to set.

Returns
Type Description
Column.Builder

This builder for chaining.

setDisplayName(String value)

public Column.Builder setDisplayName(String value)

The column's display name.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Column.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Column.Builder setDisplayNameBytes(ByteString value)

The column's display name.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Column.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Column.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Column.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Column.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Column.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Column.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Column.Builder
Overrides