Class Table (0.9.0)

public final class Table extends GeneratedMessageV3 implements TableOrBuilder

A table defining the rate group, when single_value is not expressive enough.

Protobuf type google.shopping.merchant.accounts.v1beta.Table

Implements

TableOrBuilder

Static Fields

COLUMN_HEADERS_FIELD_NUMBER

public static final int COLUMN_HEADERS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

ROWS_FIELD_NUMBER

public static final int ROWS_FIELD_NUMBER
Field Value
Type Description
int

ROW_HEADERS_FIELD_NUMBER

public static final int ROW_HEADERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Table getDefaultInstance()
Returns
Type Description
Table

getDescriptor()

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

newBuilder()

public static Table.Builder newBuilder()
Returns
Type Description
Table.Builder

newBuilder(Table prototype)

public static Table.Builder newBuilder(Table prototype)
Parameter
Name Description
prototype Table
Returns
Type Description
Table.Builder

parseDelimitedFrom(InputStream input)

public static Table parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Table
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Table parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Table
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Table parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Table
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Table parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Table
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Table parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Table
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Table parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Table
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Table parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Table
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Table parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Table
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Table parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Table
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Table parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Table
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Table parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Table
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Table parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Table
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Table> parser()
Returns
Type Description
Parser<Table>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getColumnHeaders()

public Headers getColumnHeaders()

Headers of the table's columns. Optional: if not set then the table has only one dimension.

optional .google.shopping.merchant.accounts.v1beta.Headers column_headers = 3;

Returns
Type Description
Headers

The columnHeaders.

getColumnHeadersOrBuilder()

public HeadersOrBuilder getColumnHeadersOrBuilder()

Headers of the table's columns. Optional: if not set then the table has only one dimension.

optional .google.shopping.merchant.accounts.v1beta.Headers column_headers = 3;

Returns
Type Description
HeadersOrBuilder

getDefaultInstanceForType()

public Table getDefaultInstanceForType()
Returns
Type Description
Table

getName()

public String getName()

Name of the table. Required for subtables, ignored for the main table.

optional string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the table. Required for subtables, ignored for the main table.

optional string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<Table> getParserForType()
Returns
Type Description
Parser<Table>
Overrides

getRowHeaders()

public Headers getRowHeaders()

Required. Headers of the table's rows.

optional .google.shopping.merchant.accounts.v1beta.Headers row_headers = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Headers

The rowHeaders.

getRowHeadersOrBuilder()

public HeadersOrBuilder getRowHeadersOrBuilder()

Required. Headers of the table's rows.

optional .google.shopping.merchant.accounts.v1beta.Headers row_headers = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HeadersOrBuilder

getRows(int index)

public Row getRows(int index)

Required. The list of rows that constitute the table. Must have the same length as row_headers.

repeated .google.shopping.merchant.accounts.v1beta.Row rows = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Row

getRowsCount()

public int getRowsCount()

Required. The list of rows that constitute the table. Must have the same length as row_headers.

repeated .google.shopping.merchant.accounts.v1beta.Row rows = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRowsList()

public List<Row> getRowsList()

Required. The list of rows that constitute the table. Must have the same length as row_headers.

repeated .google.shopping.merchant.accounts.v1beta.Row rows = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Row>

getRowsOrBuilder(int index)

public RowOrBuilder getRowsOrBuilder(int index)

Required. The list of rows that constitute the table. Must have the same length as row_headers.

repeated .google.shopping.merchant.accounts.v1beta.Row rows = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
RowOrBuilder

getRowsOrBuilderList()

public List<? extends RowOrBuilder> getRowsOrBuilderList()

Required. The list of rows that constitute the table. Must have the same length as row_headers.

repeated .google.shopping.merchant.accounts.v1beta.Row rows = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.RowOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasColumnHeaders()

public boolean hasColumnHeaders()

Headers of the table's columns. Optional: if not set then the table has only one dimension.

optional .google.shopping.merchant.accounts.v1beta.Headers column_headers = 3;

Returns
Type Description
boolean

Whether the columnHeaders field is set.

hasName()

public boolean hasName()

Name of the table. Required for subtables, ignored for the main table.

optional string name = 1;

Returns
Type Description
boolean

Whether the name field is set.

hasRowHeaders()

public boolean hasRowHeaders()

Required. Headers of the table's rows.

optional .google.shopping.merchant.accounts.v1beta.Headers row_headers = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the rowHeaders field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Table.Builder newBuilderForType()
Returns
Type Description
Table.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Table.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Table.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Table.Builder toBuilder()
Returns
Type Description
Table.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException