public static final class TransitTable.TransitTimeRow.TransitTimeValue extends GeneratedMessage implements TransitTable.TransitTimeRow.TransitTimeValueOrBuilderTransit time range (min-max) in business days.
Protobuf type
google.shopping.merchant.accounts.v1.TransitTable.TransitTimeRow.TransitTimeValue
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > TransitTable.TransitTimeRow.TransitTimeValueStatic Fields
MAX_TRANSIT_DAYS_FIELD_NUMBER
public static final int MAX_TRANSIT_DAYS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MIN_TRANSIT_DAYS_FIELD_NUMBER
public static final int MIN_TRANSIT_DAYS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static TransitTable.TransitTimeRow.TransitTimeValue getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static TransitTable.TransitTimeRow.TransitTimeValue.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue.Builder |
|
newBuilder(TransitTable.TransitTimeRow.TransitTimeValue prototype)
public static TransitTable.TransitTimeRow.TransitTimeValue.Builder newBuilder(TransitTable.TransitTimeRow.TransitTimeValue prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
TransitTable.TransitTimeRow.TransitTimeValue |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue.Builder |
|
parseDelimitedFrom(InputStream input)
public static TransitTable.TransitTimeRow.TransitTimeValue parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransitTable.TransitTimeRow.TransitTimeValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static TransitTable.TransitTimeRow.TransitTimeValue parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransitTable.TransitTimeRow.TransitTimeValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static TransitTable.TransitTimeRow.TransitTimeValue parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransitTable.TransitTimeRow.TransitTimeValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static TransitTable.TransitTimeRow.TransitTimeValue parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransitTable.TransitTimeRow.TransitTimeValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static TransitTable.TransitTimeRow.TransitTimeValue parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransitTable.TransitTimeRow.TransitTimeValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static TransitTable.TransitTimeRow.TransitTimeValue parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransitTable.TransitTimeRow.TransitTimeValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<TransitTable.TransitTimeRow.TransitTimeValue> parser()| Returns | |
|---|---|
| Type | Description |
Parser<TransitTimeValue> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public TransitTable.TransitTimeRow.TransitTimeValue getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue |
|
getMaxTransitDays()
public int getMaxTransitDays() Must be greater than or equal to min_transit_days.
optional int32 max_transit_days = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The maxTransitDays. |
getMinTransitDays()
public int getMinTransitDays()Minimum transit time range in business days. 0 means same day delivery, 1 means next day delivery.
optional int32 min_transit_days = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The minTransitDays. |
getParserForType()
public Parser<TransitTable.TransitTimeRow.TransitTimeValue> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<TransitTimeValue> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasMaxTransitDays()
public boolean hasMaxTransitDays() Must be greater than or equal to min_transit_days.
optional int32 max_transit_days = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maxTransitDays field is set. |
hasMinTransitDays()
public boolean hasMinTransitDays()Minimum transit time range in business days. 0 means same day delivery, 1 means next day delivery.
optional int32 min_transit_days = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minTransitDays field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public TransitTable.TransitTimeRow.TransitTimeValue.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected TransitTable.TransitTimeRow.TransitTimeValue.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue.Builder |
|
toBuilder()
public TransitTable.TransitTimeRow.TransitTimeValue.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
TransitTable.TransitTimeRow.TransitTimeValue.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|