Class Column.Builder (3.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Column.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Column.Builder
Overrides

build()

public Column build()
Returns
TypeDescription
Column

buildPartial()

public Column buildPartial()
Returns
TypeDescription
Column

clear()

public Column.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Column.Builder

This builder for chaining.

clearDisplayName()

public Column.Builder clearDisplayName()

The column's display name.

string display_name = 2;

Returns
TypeDescription
Column.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Column.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Column.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Column.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Column.Builder
Overrides

clone()

public Column.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for dataType.

getDefaultInstanceForType()

public Column getDefaultInstanceForType()
Returns
TypeDescription
Column

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The column's display name.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The column's display name.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Column other)

public Column.Builder mergeFrom(Column other)
Parameter
NameDescription
otherColumn
Returns
TypeDescription
Column.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Column.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Column.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Column.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Column.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Column.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The columnId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for columnId to set.

Returns
TypeDescription
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
NameDescription
valueColumn.DataType

The dataType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Column.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Column.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Column.Builder
Overrides

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

public Column.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Column.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Column.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Column.Builder
Overrides