- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DateRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
build()
public DateRange build()
Returns | |
---|---|
Type | Description |
DateRange |
buildPartial()
public DateRange buildPartial()
Returns | |
---|---|
Type | Description |
DateRange |
clear()
public DateRange.Builder clear()
Returns | |
---|---|
Type | Description |
DateRange.Builder |
clearField(Descriptors.FieldDescriptor field)
public DateRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
clearInvoiceEndDate()
public DateRange.Builder clearInvoiceEndDate()
The latest invoice date (inclusive).
If this value is not the last day of a month, this will move it forward to the last day of the given month.
.google.type.Date invoice_end_date = 4;
Returns | |
---|---|
Type | Description |
DateRange.Builder |
clearInvoiceStartDate()
public DateRange.Builder clearInvoiceStartDate()
The earliest invoice date (inclusive).
If this value is not the first day of a month, this will move it back to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Returns | |
---|---|
Type | Description |
DateRange.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DateRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
DateRange.Builder |
clone()
public DateRange.Builder clone()
Returns | |
---|---|
Type | Description |
DateRange.Builder |
getDefaultInstanceForType()
public DateRange getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DateRange |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInvoiceEndDate()
public Date getInvoiceEndDate()
The latest invoice date (inclusive).
If this value is not the last day of a month, this will move it forward to the last day of the given month.
.google.type.Date invoice_end_date = 4;
Returns | |
---|---|
Type | Description |
com.google.type.Date | The invoiceEndDate. |
getInvoiceEndDateBuilder()
public Date.Builder getInvoiceEndDateBuilder()
The latest invoice date (inclusive).
If this value is not the last day of a month, this will move it forward to the last day of the given month.
.google.type.Date invoice_end_date = 4;
Returns | |
---|---|
Type | Description |
com.google.type.Date.Builder |
getInvoiceEndDateOrBuilder()
public DateOrBuilder getInvoiceEndDateOrBuilder()
The latest invoice date (inclusive).
If this value is not the last day of a month, this will move it forward to the last day of the given month.
.google.type.Date invoice_end_date = 4;
Returns | |
---|---|
Type | Description |
com.google.type.DateOrBuilder |
getInvoiceStartDate()
public Date getInvoiceStartDate()
The earliest invoice date (inclusive).
If this value is not the first day of a month, this will move it back to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Returns | |
---|---|
Type | Description |
com.google.type.Date | The invoiceStartDate. |
getInvoiceStartDateBuilder()
public Date.Builder getInvoiceStartDateBuilder()
The earliest invoice date (inclusive).
If this value is not the first day of a month, this will move it back to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Returns | |
---|---|
Type | Description |
com.google.type.Date.Builder |
getInvoiceStartDateOrBuilder()
public DateOrBuilder getInvoiceStartDateOrBuilder()
The earliest invoice date (inclusive).
If this value is not the first day of a month, this will move it back to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
com.google.type.DateTimeOrBuilder |
hasInvoiceEndDate()
public boolean hasInvoiceEndDate()
The latest invoice date (inclusive).
If this value is not the last day of a month, this will move it forward to the last day of the given month.
.google.type.Date invoice_end_date = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the invoiceEndDate field is set. |
hasInvoiceStartDate()
public boolean hasInvoiceStartDate()
The earliest invoice date (inclusive).
If this value is not the first day of a month, this will move it back to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the usageStartDateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DateRange other)
public DateRange.Builder mergeFrom(DateRange other)
Parameter | |
---|---|
Name | Description |
other | DateRange |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DateRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DateRange.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
mergeInvoiceEndDate(Date value)
public DateRange.Builder mergeInvoiceEndDate(Date value)
The latest invoice date (inclusive).
If this value is not the last day of a month, this will move it forward to the last day of the given month.
.google.type.Date invoice_end_date = 4;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
mergeInvoiceStartDate(Date value)
public DateRange.Builder mergeInvoiceStartDate(Date value)
The earliest invoice date (inclusive).
If this value is not the first day of a month, this will move it back to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DateRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | com.google.type.DateTime |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | com.google.type.DateTime |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DateRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
setInvoiceEndDate(Date value)
public DateRange.Builder setInvoiceEndDate(Date value)
The latest invoice date (inclusive).
If this value is not the last day of a month, this will move it forward to the last day of the given month.
.google.type.Date invoice_end_date = 4;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
setInvoiceEndDate(Date.Builder builderForValue)
public DateRange.Builder setInvoiceEndDate(Date.Builder builderForValue)
The latest invoice date (inclusive).
If this value is not the last day of a month, this will move it forward to the last day of the given month.
.google.type.Date invoice_end_date = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
setInvoiceStartDate(Date value)
public DateRange.Builder setInvoiceStartDate(Date value)
The earliest invoice date (inclusive).
If this value is not the first day of a month, this will move it back to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Parameter | |
---|---|
Name | Description |
value | com.google.type.Date |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
setInvoiceStartDate(Date.Builder builderForValue)
public DateRange.Builder setInvoiceStartDate(Date.Builder builderForValue)
The earliest invoice date (inclusive).
If this value is not the first day of a month, this will move it back to the first day of the given month.
.google.type.Date invoice_start_date = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.Date.Builder |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DateRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
DateRange.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DateRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | com.google.type.DateTime |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.DateTime.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | com.google.type.DateTime |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.DateTime.Builder |
Returns | |
---|---|
Type | Description |
DateRange.Builder |