Class BusinessDayConfig (0.7.0)

public final class BusinessDayConfig extends GeneratedMessageV3 implements BusinessDayConfigOrBuilder

Business days of the warehouse.

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

Static Fields

BUSINESS_DAYS_FIELD_NUMBER

public static final int BUSINESS_DAYS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BusinessDayConfig getDefaultInstance()
Returns
Type Description
BusinessDayConfig

getDescriptor()

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

newBuilder()

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

newBuilder(BusinessDayConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBusinessDays(int index)

public BusinessDayConfig.Weekday getBusinessDays(int index)

Required. Regular business days. May not be empty.

repeated .google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
BusinessDayConfig.Weekday

The businessDays at the given index.

getBusinessDaysCount()

public int getBusinessDaysCount()

Required. Regular business days. May not be empty.

repeated .google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of businessDays.

getBusinessDaysList()

public List<BusinessDayConfig.Weekday> getBusinessDaysList()

Required. Regular business days. May not be empty.

repeated .google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Weekday>

A list containing the businessDays.

getBusinessDaysValue(int index)

public int getBusinessDaysValue(int index)

Required. Regular business days. May not be empty.

repeated .google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of businessDays at the given index.

getBusinessDaysValueList()

public List<Integer> getBusinessDaysValueList()

Required. Regular business days. May not be empty.

repeated .google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for businessDays.

getDefaultInstanceForType()

public BusinessDayConfig getDefaultInstanceForType()
Returns
Type Description
BusinessDayConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 BusinessDayConfig.Builder newBuilderForType()
Returns
Type Description
BusinessDayConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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