Package com.google.cloud.channel.v1
Class DateRange.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DateRange.Builder>
com.google.cloud.channel.v1.DateRange.Builder
- All Implemented Interfaces:
DateRangeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DateRange
public static final class DateRange.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DateRange.Builder>
implements DateRangeOrBuilder
A representation of usage or invoice date ranges.Protobuf type
google.cloud.channel.v1.DateRange-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The latest invoice date (inclusive).The earliest invoice date (inclusive).The latest usage date time (exclusive).The earliest usage date time (inclusive).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe latest invoice date (inclusive).The latest invoice date (inclusive).The latest invoice date (inclusive).The earliest invoice date (inclusive).The earliest invoice date (inclusive).The earliest invoice date (inclusive).The latest usage date time (exclusive).The latest usage date time (exclusive).The latest usage date time (exclusive).The earliest usage date time (inclusive).The earliest usage date time (inclusive).The earliest usage date time (inclusive).booleanThe latest invoice date (inclusive).booleanThe earliest invoice date (inclusive).booleanThe latest usage date time (exclusive).booleanThe earliest usage date time (inclusive).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInvoiceEndDate(Date value) The latest invoice date (inclusive).mergeInvoiceStartDate(Date value) The earliest invoice date (inclusive).mergeUsageEndDateTime(DateTime value) The latest usage date time (exclusive).mergeUsageStartDateTime(DateTime value) The earliest usage date time (inclusive).setInvoiceEndDate(Date value) The latest invoice date (inclusive).setInvoiceEndDate(Date.Builder builderForValue) The latest invoice date (inclusive).setInvoiceStartDate(Date value) The earliest invoice date (inclusive).setInvoiceStartDate(Date.Builder builderForValue) The earliest invoice date (inclusive).setUsageEndDateTime(DateTime value) The latest usage date time (exclusive).setUsageEndDateTime(DateTime.Builder builderForValue) The latest usage date time (exclusive).setUsageStartDateTime(DateTime value) The earliest usage date time (inclusive).setUsageStartDateTime(DateTime.Builder builderForValue) The earliest usage date time (inclusive).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DateRange.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DateRange.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DateRange.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DateRange.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DateRange.Builder>
-
mergeFrom
public DateRange.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DateRange.Builder>- Throws:
IOException
-
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;- Specified by:
hasUsageStartDateTimein interfaceDateRangeOrBuilder- Returns:
- Whether the usageStartDateTime field is set.
-
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;- Specified by:
getUsageStartDateTimein interfaceDateRangeOrBuilder- Returns:
- The usageStartDateTime.
-
setUsageStartDateTime
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; -
setUsageStartDateTime
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; -
mergeUsageStartDateTime
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; -
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; -
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; -
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;- Specified by:
getUsageStartDateTimeOrBuilderin interfaceDateRangeOrBuilder
-
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;- Specified by:
hasUsageEndDateTimein interfaceDateRangeOrBuilder- Returns:
- Whether the usageEndDateTime field is set.
-
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;- Specified by:
getUsageEndDateTimein interfaceDateRangeOrBuilder- Returns:
- The usageEndDateTime.
-
setUsageEndDateTime
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; -
setUsageEndDateTime
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; -
mergeUsageEndDateTime
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; -
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; -
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; -
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;- Specified by:
getUsageEndDateTimeOrBuilderin interfaceDateRangeOrBuilder
-
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;- Specified by:
hasInvoiceStartDatein interfaceDateRangeOrBuilder- Returns:
- Whether the invoiceStartDate field is set.
-
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;- Specified by:
getInvoiceStartDatein interfaceDateRangeOrBuilder- Returns:
- The invoiceStartDate.
-
setInvoiceStartDate
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; -
setInvoiceStartDate
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; -
mergeInvoiceStartDate
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; -
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; -
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; -
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;- Specified by:
getInvoiceStartDateOrBuilderin interfaceDateRangeOrBuilder
-
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;- Specified by:
hasInvoiceEndDatein interfaceDateRangeOrBuilder- Returns:
- Whether the invoiceEndDate field is set.
-
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;- Specified by:
getInvoiceEndDatein interfaceDateRangeOrBuilder- Returns:
- The invoiceEndDate.
-
setInvoiceEndDate
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; -
setInvoiceEndDate
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; -
mergeInvoiceEndDate
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; -
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; -
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; -
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;- Specified by:
getInvoiceEndDateOrBuilderin interfaceDateRangeOrBuilder
-