Class Column (3.32.0)

public final class Column extends GeneratedMessageV3 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 Fields

COLUMN_ID_FIELD_NUMBER

public static final int COLUMN_ID_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_TYPE_FIELD_NUMBER

public static final int DATA_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Column getDefaultInstance()
Returns
TypeDescription
Column

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Column.Builder newBuilder()
Returns
TypeDescription
Column.Builder

newBuilder(Column prototype)

public static Column.Builder newBuilder(Column prototype)
Parameter
NameDescription
prototypeColumn
Returns
TypeDescription
Column.Builder

parseDelimitedFrom(InputStream input)

public static Column parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Column
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Column parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Column
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Column parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Column
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Column parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Column
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Column parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Column
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Column parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Column
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Column parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Column
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Column parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Column
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Column parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Column
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Column parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Column
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Column parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Column
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Column parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Column
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Column> parser()
Returns
TypeDescription
Parser<Column>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<Column> getParserForType()
Returns
TypeDescription
Parser<Column>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Column.Builder newBuilderForType()
Returns
TypeDescription
Column.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Column.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Column.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Column.Builder toBuilder()
Returns
TypeDescription
Column.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException