public static final class Column.Builder extends GeneratedMessage.Builder<Column.Builder> implements ColumnOrBuilderThe definition of a report column. Specifies the data properties in the corresponding position of the report rows.
Protobuf type google.cloud.channel.v1.Column
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Column.BuilderImplements
ColumnOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Column.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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.DataTypeThe 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 |
intThe 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 |
StringThe 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 |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Column.Builder |
This builder for chaining. |