Class TransitTable.TransitTimeRow.Builder (0.5.0)

public static final class TransitTable.TransitTimeRow.Builder extends GeneratedMessageV3.Builder<TransitTable.TransitTimeRow.Builder> implements TransitTable.TransitTimeRowOrBuilder

If there's only one dimension set of postal_code_group_names or transit_time_labels, there are multiple rows each with one value for that dimension. If there are two dimensions, each row corresponds to a postal_code_group_names, and columns (values) to a transit_time_labels.

Protobuf type google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<? extends TransitTable.TransitTimeRow.TransitTimeValue> values)

public TransitTable.TransitTimeRow.Builder addAllValues(Iterable<? extends TransitTable.TransitTimeRow.TransitTimeValue> values)

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue>
Returns
Type Description
TransitTable.TransitTimeRow.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValues(TransitTable.TransitTimeRow.TransitTimeValue value)

public TransitTable.TransitTimeRow.Builder addValues(TransitTable.TransitTimeRow.TransitTimeValue value)

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TransitTable.TransitTimeRow.TransitTimeValue
Returns
Type Description
TransitTable.TransitTimeRow.Builder

addValues(TransitTable.TransitTimeRow.TransitTimeValue.Builder builderForValue)

public TransitTable.TransitTimeRow.Builder addValues(TransitTable.TransitTimeRow.TransitTimeValue.Builder builderForValue)

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TransitTable.TransitTimeRow.TransitTimeValue.Builder
Returns
Type Description
TransitTable.TransitTimeRow.Builder

addValues(int index, TransitTable.TransitTimeRow.TransitTimeValue value)

public TransitTable.TransitTimeRow.Builder addValues(int index, TransitTable.TransitTimeRow.TransitTimeValue value)

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value TransitTable.TransitTimeRow.TransitTimeValue
Returns
Type Description
TransitTable.TransitTimeRow.Builder

addValues(int index, TransitTable.TransitTimeRow.TransitTimeValue.Builder builderForValue)

public TransitTable.TransitTimeRow.Builder addValues(int index, TransitTable.TransitTimeRow.TransitTimeValue.Builder builderForValue)

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue TransitTable.TransitTimeRow.TransitTimeValue.Builder
Returns
Type Description
TransitTable.TransitTimeRow.Builder

addValuesBuilder()

public TransitTable.TransitTimeRow.TransitTimeValue.Builder addValuesBuilder()

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransitTable.TransitTimeRow.TransitTimeValue.Builder

addValuesBuilder(int index)

public TransitTable.TransitTimeRow.TransitTimeValue.Builder addValuesBuilder(int index)

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
TransitTable.TransitTimeRow.TransitTimeValue.Builder

build()

public TransitTable.TransitTimeRow build()
Returns
Type Description
TransitTable.TransitTimeRow

buildPartial()

public TransitTable.TransitTimeRow buildPartial()
Returns
Type Description
TransitTable.TransitTimeRow

clear()

public TransitTable.TransitTimeRow.Builder clear()
Returns
Type Description
TransitTable.TransitTimeRow.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValues()

public TransitTable.TransitTimeRow.Builder clearValues()

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransitTable.TransitTimeRow.Builder

clone()

public TransitTable.TransitTimeRow.Builder clone()
Returns
Type Description
TransitTable.TransitTimeRow.Builder
Overrides

getDefaultInstanceForType()

public TransitTable.TransitTimeRow getDefaultInstanceForType()
Returns
Type Description
TransitTable.TransitTimeRow

getDescriptorForType()

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

getValues(int index)

public TransitTable.TransitTimeRow.TransitTimeValue getValues(int index)

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
TransitTable.TransitTimeRow.TransitTimeValue

getValuesBuilder(int index)

public TransitTable.TransitTimeRow.TransitTimeValue.Builder getValuesBuilder(int index)

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
TransitTable.TransitTimeRow.TransitTimeValue.Builder

getValuesBuilderList()

public List<TransitTable.TransitTimeRow.TransitTimeValue.Builder> getValuesBuilderList()

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getValuesCount()

public int getValuesCount()

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getValuesList()

public List<TransitTable.TransitTimeRow.TransitTimeValue> getValuesList()

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<TransitTimeValue>

getValuesOrBuilder(int index)

public TransitTable.TransitTimeRow.TransitTimeValueOrBuilder getValuesOrBuilder(int index)

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
TransitTable.TransitTimeRow.TransitTimeValueOrBuilder

getValuesOrBuilderList()

public List<? extends TransitTable.TransitTimeRow.TransitTimeValueOrBuilder> getValuesOrBuilderList()

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValueOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(TransitTable.TransitTimeRow other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeValues(int index)

public TransitTable.TransitTimeRow.Builder removeValues(int index)

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
TransitTable.TransitTimeRow.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValues(int index, TransitTable.TransitTimeRow.TransitTimeValue value)

public TransitTable.TransitTimeRow.Builder setValues(int index, TransitTable.TransitTimeRow.TransitTimeValue value)

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value TransitTable.TransitTimeRow.TransitTimeValue
Returns
Type Description
TransitTable.TransitTimeRow.Builder

setValues(int index, TransitTable.TransitTimeRow.TransitTimeValue.Builder builderForValue)

public TransitTable.TransitTimeRow.Builder setValues(int index, TransitTable.TransitTimeRow.TransitTimeValue.Builder builderForValue)

Required. Transit time range (min-max) in business days.

repeated .google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue values = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue TransitTable.TransitTimeRow.TransitTimeValue.Builder
Returns
Type Description
TransitTable.TransitTimeRow.Builder