public static final class BusinessDayConfig.Builder extends GeneratedMessage.Builder<BusinessDayConfig.Builder> implements BusinessDayConfigOrBuilderBusiness days of the warehouse.
Protobuf type google.shopping.merchant.accounts.v1.BusinessDayConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BusinessDayConfig.BuilderImplements
BusinessDayConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBusinessDays(Iterable<? extends BusinessDayConfig.Weekday> values)
public BusinessDayConfig.Builder addAllBusinessDays(Iterable<? extends BusinessDayConfig.Weekday> values)Required. Regular business days. May not be empty.
repeated .google.shopping.merchant.accounts.v1.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.accounts.v1.BusinessDayConfig.Weekday>The businessDays to add. |
| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig.Builder |
This builder for chaining. |
addAllBusinessDaysValue(Iterable<Integer> values)
public BusinessDayConfig.Builder addAllBusinessDaysValue(Iterable<Integer> values)Required. Regular business days. May not be empty.
repeated .google.shopping.merchant.accounts.v1.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<Integer>The enum numeric values on the wire for businessDays to add. |
| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig.Builder |
This builder for chaining. |
addBusinessDays(BusinessDayConfig.Weekday value)
public BusinessDayConfig.Builder addBusinessDays(BusinessDayConfig.Weekday value)Required. Regular business days. May not be empty.
repeated .google.shopping.merchant.accounts.v1.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
BusinessDayConfig.WeekdayThe businessDays to add. |
| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig.Builder |
This builder for chaining. |
addBusinessDaysValue(int value)
public BusinessDayConfig.Builder addBusinessDaysValue(int value)Required. Regular business days. May not be empty.
repeated .google.shopping.merchant.accounts.v1.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for businessDays to add. |
| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig.Builder |
This builder for chaining. |
build()
public BusinessDayConfig build()| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig |
|
buildPartial()
public BusinessDayConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig |
|
clear()
public BusinessDayConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig.Builder |
|
clearBusinessDays()
public BusinessDayConfig.Builder clearBusinessDays()Required. Regular business days. May not be empty.
repeated .google.shopping.merchant.accounts.v1.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig.Builder |
This builder for chaining. |
getBusinessDays(int index)
public BusinessDayConfig.Weekday getBusinessDays(int index)Required. Regular business days. May not be empty.
repeated .google.shopping.merchant.accounts.v1.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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.v1.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.v1.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.v1.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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.v1.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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BusinessDayConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BusinessDayConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig.Builder |
|
mergeFrom(BusinessDayConfig other)
public BusinessDayConfig.Builder mergeFrom(BusinessDayConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
BusinessDayConfig |
| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig.Builder |
|
setBusinessDays(int index, BusinessDayConfig.Weekday value)
public BusinessDayConfig.Builder setBusinessDays(int index, BusinessDayConfig.Weekday value)Required. Regular business days. May not be empty.
repeated .google.shopping.merchant.accounts.v1.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
BusinessDayConfig.WeekdayThe businessDays to set. |
| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig.Builder |
This builder for chaining. |
setBusinessDaysValue(int index, int value)
public BusinessDayConfig.Builder setBusinessDaysValue(int index, int value)Required. Regular business days. May not be empty.
repeated .google.shopping.merchant.accounts.v1.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for businessDays to set. |
| Returns | |
|---|---|
| Type | Description |
BusinessDayConfig.Builder |
This builder for chaining. |