public static final class BusinessDayConfig.Builder extends GeneratedMessageV3.Builder<BusinessDayConfig.Builder> implements BusinessDayConfigOrBuilder
Business days of the warehouse.
Protobuf type google.shopping.merchant.accounts.v1beta.BusinessDayConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public BusinessDayConfig.Builder addAllBusinessDays(Iterable<? extends BusinessDayConfig.Weekday> values)
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 |
values |
Iterable<? extends com.google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Weekday>
The businessDays to add.
|
public BusinessDayConfig.Builder addAllBusinessDaysValue(Iterable<Integer> values)
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 |
values |
Iterable<Integer>
The enum numeric values on the wire for businessDays to add.
|
public BusinessDayConfig.Builder addBusinessDays(BusinessDayConfig.Weekday value)
Required. Regular business days.
May not be empty.
repeated .google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
public BusinessDayConfig.Builder addBusinessDaysValue(int value)
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 |
value |
int
The enum numeric value on the wire for businessDays to add.
|
public BusinessDayConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BusinessDayConfig build()
public BusinessDayConfig buildPartial()
public BusinessDayConfig.Builder clear()
Overrides
public BusinessDayConfig.Builder clearBusinessDays()
Required. Regular business days.
May not be empty.
repeated .google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
public BusinessDayConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BusinessDayConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BusinessDayConfig.Builder clone()
Overrides
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.
|
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.
|
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.
|
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.
|
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.
|
public BusinessDayConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BusinessDayConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BusinessDayConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public BusinessDayConfig.Builder mergeFrom(BusinessDayConfig other)
public final BusinessDayConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BusinessDayConfig.Builder setBusinessDays(int index, BusinessDayConfig.Weekday value)
Required. Regular business days.
May not be empty.
repeated .google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
public BusinessDayConfig.Builder setBusinessDaysValue(int index, int value)
Required. Regular business days.
May not be empty.
repeated .google.shopping.merchant.accounts.v1beta.BusinessDayConfig.Weekday business_days = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters |
Name |
Description |
index |
int
The index to set the value at.
|
value |
int
The enum numeric value on the wire for businessDays to set.
|
public BusinessDayConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BusinessDayConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BusinessDayConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides