- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
public static final class DateRange.Builder extends GeneratedMessageV3.Builder<DateRange.Builder> implements DateRangeOrBuilder
A representation of usage or invoice date ranges.
Protobuf type google.cloud.channel.v1.DateRange
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DateRange.BuilderImplements
DateRangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DateRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DateRange.Builder |
build()
public DateRange build()
Type | Description |
DateRange |
buildPartial()
public DateRange buildPartial()
Type | Description |
DateRange |
clear()
public DateRange.Builder clear()
Type | Description |
DateRange.Builder |
clearField(Descriptors.FieldDescriptor field)
public DateRange.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DateRange.Builder |
clearInvoiceEndDate()
public DateRange.Builder clearInvoiceEndDate()
The latest invoice date (exclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the following month.
.google.type.Date invoice_end_date = 4;
Type | Description |
DateRange.Builder |
clearInvoiceStartDate()
public DateRange.Builder clearInvoiceStartDate()
The earliest invoice date (inclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Type | Description |
DateRange.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DateRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DateRange.Builder |
clearUsageEndDateTime()
public DateRange.Builder clearUsageEndDateTime()
The latest usage date time (exclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage end date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_end_date_time = 2;
Type | Description |
DateRange.Builder |
clearUsageStartDateTime()
public DateRange.Builder clearUsageStartDateTime()
The earliest usage date time (inclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage start date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_start_date_time = 1;
Type | Description |
DateRange.Builder |
clone()
public DateRange.Builder clone()
Type | Description |
DateRange.Builder |
getDefaultInstanceForType()
public DateRange getDefaultInstanceForType()
Type | Description |
DateRange |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getInvoiceEndDate()
public Date getInvoiceEndDate()
The latest invoice date (exclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the following month.
.google.type.Date invoice_end_date = 4;
Type | Description |
com.google.type.Date | The invoiceEndDate. |
getInvoiceEndDateBuilder()
public Date.Builder getInvoiceEndDateBuilder()
The latest invoice date (exclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the following month.
.google.type.Date invoice_end_date = 4;
Type | Description |
com.google.type.Date.Builder |
getInvoiceEndDateOrBuilder()
public DateOrBuilder getInvoiceEndDateOrBuilder()
The latest invoice date (exclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the following month.
.google.type.Date invoice_end_date = 4;
Type | Description |
com.google.type.DateOrBuilder |
getInvoiceStartDate()
public Date getInvoiceStartDate()
The earliest invoice date (inclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Type | Description |
com.google.type.Date | The invoiceStartDate. |
getInvoiceStartDateBuilder()
public Date.Builder getInvoiceStartDateBuilder()
The earliest invoice date (inclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Type | Description |
com.google.type.Date.Builder |
getInvoiceStartDateOrBuilder()
public DateOrBuilder getInvoiceStartDateOrBuilder()
The earliest invoice date (inclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Type | Description |
com.google.type.DateOrBuilder |
getUsageEndDateTime()
public DateTime getUsageEndDateTime()
The latest usage date time (exclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage end date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_end_date_time = 2;
Type | Description |
com.google.type.DateTime | The usageEndDateTime. |
getUsageEndDateTimeBuilder()
public DateTime.Builder getUsageEndDateTimeBuilder()
The latest usage date time (exclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage end date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_end_date_time = 2;
Type | Description |
com.google.type.DateTime.Builder |
getUsageEndDateTimeOrBuilder()
public DateTimeOrBuilder getUsageEndDateTimeOrBuilder()
The latest usage date time (exclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage end date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_end_date_time = 2;
Type | Description |
com.google.type.DateTimeOrBuilder |
getUsageStartDateTime()
public DateTime getUsageStartDateTime()
The earliest usage date time (inclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage start date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_start_date_time = 1;
Type | Description |
com.google.type.DateTime | The usageStartDateTime. |
getUsageStartDateTimeBuilder()
public DateTime.Builder getUsageStartDateTimeBuilder()
The earliest usage date time (inclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage start date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_start_date_time = 1;
Type | Description |
com.google.type.DateTime.Builder |
getUsageStartDateTimeOrBuilder()
public DateTimeOrBuilder getUsageStartDateTimeOrBuilder()
The earliest usage date time (inclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage start date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_start_date_time = 1;
Type | Description |
com.google.type.DateTimeOrBuilder |
hasInvoiceEndDate()
public boolean hasInvoiceEndDate()
The latest invoice date (exclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the following month.
.google.type.Date invoice_end_date = 4;
Type | Description |
boolean | Whether the invoiceEndDate field is set. |
hasInvoiceStartDate()
public boolean hasInvoiceStartDate()
The earliest invoice date (inclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Type | Description |
boolean | Whether the invoiceStartDate field is set. |
hasUsageEndDateTime()
public boolean hasUsageEndDateTime()
The latest usage date time (exclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage end date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_end_date_time = 2;
Type | Description |
boolean | Whether the usageEndDateTime field is set. |
hasUsageStartDateTime()
public boolean hasUsageStartDateTime()
The earliest usage date time (inclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage start date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_start_date_time = 1;
Type | Description |
boolean | Whether the usageStartDateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DateRange other)
public DateRange.Builder mergeFrom(DateRange other)
Name | Description |
other | DateRange |
Type | Description |
DateRange.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DateRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DateRange.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DateRange.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DateRange.Builder |
mergeInvoiceEndDate(Date value)
public DateRange.Builder mergeInvoiceEndDate(Date value)
The latest invoice date (exclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the following month.
.google.type.Date invoice_end_date = 4;
Name | Description |
value | com.google.type.Date |
Type | Description |
DateRange.Builder |
mergeInvoiceStartDate(Date value)
public DateRange.Builder mergeInvoiceStartDate(Date value)
The earliest invoice date (inclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Name | Description |
value | com.google.type.Date |
Type | Description |
DateRange.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DateRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DateRange.Builder |
mergeUsageEndDateTime(DateTime value)
public DateRange.Builder mergeUsageEndDateTime(DateTime value)
The latest usage date time (exclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage end date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_end_date_time = 2;
Name | Description |
value | com.google.type.DateTime |
Type | Description |
DateRange.Builder |
mergeUsageStartDateTime(DateTime value)
public DateRange.Builder mergeUsageStartDateTime(DateTime value)
The earliest usage date time (inclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage start date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_start_date_time = 1;
Name | Description |
value | com.google.type.DateTime |
Type | Description |
DateRange.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DateRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DateRange.Builder |
setInvoiceEndDate(Date value)
public DateRange.Builder setInvoiceEndDate(Date value)
The latest invoice date (exclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the following month.
.google.type.Date invoice_end_date = 4;
Name | Description |
value | com.google.type.Date |
Type | Description |
DateRange.Builder |
setInvoiceEndDate(Date.Builder builderForValue)
public DateRange.Builder setInvoiceEndDate(Date.Builder builderForValue)
The latest invoice date (exclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the following month.
.google.type.Date invoice_end_date = 4;
Name | Description |
builderForValue | com.google.type.Date.Builder |
Type | Description |
DateRange.Builder |
setInvoiceStartDate(Date value)
public DateRange.Builder setInvoiceStartDate(Date value)
The earliest invoice date (inclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Name | Description |
value | com.google.type.Date |
Type | Description |
DateRange.Builder |
setInvoiceStartDate(Date.Builder builderForValue)
public DateRange.Builder setInvoiceStartDate(Date.Builder builderForValue)
The earliest invoice date (inclusive). If your product uses monthly invoices, and this value is not the beginning of a month, this will adjust the date to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Name | Description |
builderForValue | com.google.type.Date.Builder |
Type | Description |
DateRange.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DateRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DateRange.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DateRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DateRange.Builder |
setUsageEndDateTime(DateTime value)
public DateRange.Builder setUsageEndDateTime(DateTime value)
The latest usage date time (exclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage end date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_end_date_time = 2;
Name | Description |
value | com.google.type.DateTime |
Type | Description |
DateRange.Builder |
setUsageEndDateTime(DateTime.Builder builderForValue)
public DateRange.Builder setUsageEndDateTime(DateTime.Builder builderForValue)
The latest usage date time (exclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage end date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_end_date_time = 2;
Name | Description |
builderForValue | com.google.type.DateTime.Builder |
Type | Description |
DateRange.Builder |
setUsageStartDateTime(DateTime value)
public DateRange.Builder setUsageStartDateTime(DateTime value)
The earliest usage date time (inclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage start date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_start_date_time = 1;
Name | Description |
value | com.google.type.DateTime |
Type | Description |
DateRange.Builder |
setUsageStartDateTime(DateTime.Builder builderForValue)
public DateRange.Builder setUsageStartDateTime(DateTime.Builder builderForValue)
The earliest usage date time (inclusive).
If you use time groupings (daily, weekly, etc), each group uses
midnight to midnight (Pacific time). The usage start date is
rounded down to include all usage from the specified date. We recommend
that clients pass usage_start_date_time
in Pacific time.
.google.type.DateTime usage_start_date_time = 1;
Name | Description |
builderForValue | com.google.type.DateTime.Builder |
Type | Description |
DateRange.Builder |