Class BillingReportSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BillingReportSpec.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
io.temporal.api.cloud.billing.v1.BillingReportSpec.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BillingReportSpecOrBuilder,Cloneable
- Enclosing class:
BillingReportSpec
public static final class BillingReportSpec.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
implements BillingReportSpecOrBuilder
Protobuf type
temporal.api.cloud.billing.v1.BillingReportSpec-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The description for the billing report.The duration after which the download url will expire.The end time of the billing report (in UTC).clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The data granularity of the billing report.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The start time of the billing report (in UTC).clone()The description for the billing report.com.google.protobuf.ByteStringThe description for the billing report.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationThe duration after which the download url will expire.com.google.protobuf.Duration.BuilderThe duration after which the download url will expire.com.google.protobuf.DurationOrBuilderThe duration after which the download url will expire.com.google.protobuf.TimestampThe end time of the billing report (in UTC).com.google.protobuf.Timestamp.BuilderThe end time of the billing report (in UTC).com.google.protobuf.TimestampOrBuilderThe end time of the billing report (in UTC).The data granularity of the billing report.intThe data granularity of the billing report.com.google.protobuf.TimestampThe start time of the billing report (in UTC).com.google.protobuf.Timestamp.BuilderThe start time of the billing report (in UTC).com.google.protobuf.TimestampOrBuilderThe start time of the billing report (in UTC).booleanThe duration after which the download url will expire.booleanThe end time of the billing report (in UTC).booleanThe start time of the billing report (in UTC).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDownloadUrlExpirationDuration(com.google.protobuf.Duration value) The duration after which the download url will expire.mergeEndTimeExclusive(com.google.protobuf.Timestamp value) The end time of the billing report (in UTC).mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(BillingReportSpec other) mergeStartTimeInclusive(com.google.protobuf.Timestamp value) The start time of the billing report (in UTC).mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDescription(String value) The description for the billing report.setDescriptionBytes(com.google.protobuf.ByteString value) The description for the billing report.setDownloadUrlExpirationDuration(com.google.protobuf.Duration value) The duration after which the download url will expire.setDownloadUrlExpirationDuration(com.google.protobuf.Duration.Builder builderForValue) The duration after which the download url will expire.setEndTimeExclusive(com.google.protobuf.Timestamp value) The end time of the billing report (in UTC).setEndTimeExclusive(com.google.protobuf.Timestamp.Builder builderForValue) The end time of the billing report (in UTC).The data granularity of the billing report.setGranularityValue(int value) The data granularity of the billing report.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStartTimeInclusive(com.google.protobuf.Timestamp value) The start time of the billing report (in UTC).setStartTimeInclusive(com.google.protobuf.Timestamp.Builder builderForValue) The start time of the billing report (in UTC).setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.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.GeneratedMessageV3.Builder<BillingReportSpec.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
-
setField
public BillingReportSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
-
setRepeatedField
public BillingReportSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
-
addRepeatedField
public BillingReportSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BillingReportSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
-
mergeFrom
public BillingReportSpec.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<BillingReportSpec.Builder>- Throws:
IOException
-
hasStartTimeInclusive
public boolean hasStartTimeInclusive()The start time of the billing report (in UTC).
.google.protobuf.Timestamp start_time_inclusive = 1;- Specified by:
hasStartTimeInclusivein interfaceBillingReportSpecOrBuilder- Returns:
- Whether the startTimeInclusive field is set.
-
getStartTimeInclusive
public com.google.protobuf.Timestamp getStartTimeInclusive()The start time of the billing report (in UTC).
.google.protobuf.Timestamp start_time_inclusive = 1;- Specified by:
getStartTimeInclusivein interfaceBillingReportSpecOrBuilder- Returns:
- The startTimeInclusive.
-
setStartTimeInclusive
The start time of the billing report (in UTC).
.google.protobuf.Timestamp start_time_inclusive = 1; -
setStartTimeInclusive
public BillingReportSpec.Builder setStartTimeInclusive(com.google.protobuf.Timestamp.Builder builderForValue) The start time of the billing report (in UTC).
.google.protobuf.Timestamp start_time_inclusive = 1; -
mergeStartTimeInclusive
The start time of the billing report (in UTC).
.google.protobuf.Timestamp start_time_inclusive = 1; -
clearStartTimeInclusive
The start time of the billing report (in UTC).
.google.protobuf.Timestamp start_time_inclusive = 1; -
getStartTimeInclusiveBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeInclusiveBuilder()The start time of the billing report (in UTC).
.google.protobuf.Timestamp start_time_inclusive = 1; -
getStartTimeInclusiveOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeInclusiveOrBuilder()The start time of the billing report (in UTC).
.google.protobuf.Timestamp start_time_inclusive = 1;- Specified by:
getStartTimeInclusiveOrBuilderin interfaceBillingReportSpecOrBuilder
-
hasEndTimeExclusive
public boolean hasEndTimeExclusive()The end time of the billing report (in UTC).
.google.protobuf.Timestamp end_time_exclusive = 2;- Specified by:
hasEndTimeExclusivein interfaceBillingReportSpecOrBuilder- Returns:
- Whether the endTimeExclusive field is set.
-
getEndTimeExclusive
public com.google.protobuf.Timestamp getEndTimeExclusive()The end time of the billing report (in UTC).
.google.protobuf.Timestamp end_time_exclusive = 2;- Specified by:
getEndTimeExclusivein interfaceBillingReportSpecOrBuilder- Returns:
- The endTimeExclusive.
-
setEndTimeExclusive
The end time of the billing report (in UTC).
.google.protobuf.Timestamp end_time_exclusive = 2; -
setEndTimeExclusive
public BillingReportSpec.Builder setEndTimeExclusive(com.google.protobuf.Timestamp.Builder builderForValue) The end time of the billing report (in UTC).
.google.protobuf.Timestamp end_time_exclusive = 2; -
mergeEndTimeExclusive
The end time of the billing report (in UTC).
.google.protobuf.Timestamp end_time_exclusive = 2; -
clearEndTimeExclusive
The end time of the billing report (in UTC).
.google.protobuf.Timestamp end_time_exclusive = 2; -
getEndTimeExclusiveBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeExclusiveBuilder()The end time of the billing report (in UTC).
.google.protobuf.Timestamp end_time_exclusive = 2; -
getEndTimeExclusiveOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeExclusiveOrBuilder()The end time of the billing report (in UTC).
.google.protobuf.Timestamp end_time_exclusive = 2;- Specified by:
getEndTimeExclusiveOrBuilderin interfaceBillingReportSpecOrBuilder
-
hasDownloadUrlExpirationDuration
public boolean hasDownloadUrlExpirationDuration()The duration after which the download url will expire. Optional, default is 5 minutes and maximum is 1 hour.
.google.protobuf.Duration download_url_expiration_duration = 3;- Specified by:
hasDownloadUrlExpirationDurationin interfaceBillingReportSpecOrBuilder- Returns:
- Whether the downloadUrlExpirationDuration field is set.
-
getDownloadUrlExpirationDuration
public com.google.protobuf.Duration getDownloadUrlExpirationDuration()The duration after which the download url will expire. Optional, default is 5 minutes and maximum is 1 hour.
.google.protobuf.Duration download_url_expiration_duration = 3;- Specified by:
getDownloadUrlExpirationDurationin interfaceBillingReportSpecOrBuilder- Returns:
- The downloadUrlExpirationDuration.
-
setDownloadUrlExpirationDuration
public BillingReportSpec.Builder setDownloadUrlExpirationDuration(com.google.protobuf.Duration value) The duration after which the download url will expire. Optional, default is 5 minutes and maximum is 1 hour.
.google.protobuf.Duration download_url_expiration_duration = 3; -
setDownloadUrlExpirationDuration
public BillingReportSpec.Builder setDownloadUrlExpirationDuration(com.google.protobuf.Duration.Builder builderForValue) The duration after which the download url will expire. Optional, default is 5 minutes and maximum is 1 hour.
.google.protobuf.Duration download_url_expiration_duration = 3; -
mergeDownloadUrlExpirationDuration
public BillingReportSpec.Builder mergeDownloadUrlExpirationDuration(com.google.protobuf.Duration value) The duration after which the download url will expire. Optional, default is 5 minutes and maximum is 1 hour.
.google.protobuf.Duration download_url_expiration_duration = 3; -
clearDownloadUrlExpirationDuration
The duration after which the download url will expire. Optional, default is 5 minutes and maximum is 1 hour.
.google.protobuf.Duration download_url_expiration_duration = 3; -
getDownloadUrlExpirationDurationBuilder
public com.google.protobuf.Duration.Builder getDownloadUrlExpirationDurationBuilder()The duration after which the download url will expire. Optional, default is 5 minutes and maximum is 1 hour.
.google.protobuf.Duration download_url_expiration_duration = 3; -
getDownloadUrlExpirationDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDownloadUrlExpirationDurationOrBuilder()The duration after which the download url will expire. Optional, default is 5 minutes and maximum is 1 hour.
.google.protobuf.Duration download_url_expiration_duration = 3;- Specified by:
getDownloadUrlExpirationDurationOrBuilderin interfaceBillingReportSpecOrBuilder
-
getDescription
The description for the billing report. Optional, default is empty.
string description = 4;- Specified by:
getDescriptionin interfaceBillingReportSpecOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The description for the billing report. Optional, default is empty.
string description = 4;- Specified by:
getDescriptionBytesin interfaceBillingReportSpecOrBuilder- Returns:
- The bytes for description.
-
setDescription
The description for the billing report. Optional, default is empty.
string description = 4;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
The description for the billing report. Optional, default is empty.
string description = 4;- Returns:
- This builder for chaining.
-
setDescriptionBytes
The description for the billing report. Optional, default is empty.
string description = 4;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getGranularityValue
public int getGranularityValue()The data granularity of the billing report. Optional, default is hourly. temporal:versioning:min_version=v0.16.0
.temporal.api.cloud.billing.v1.BillingReportSpec.BillingReportGranularity granularity = 5;- Specified by:
getGranularityValuein interfaceBillingReportSpecOrBuilder- Returns:
- The enum numeric value on the wire for granularity.
-
setGranularityValue
The data granularity of the billing report. Optional, default is hourly. temporal:versioning:min_version=v0.16.0
.temporal.api.cloud.billing.v1.BillingReportSpec.BillingReportGranularity granularity = 5;- Parameters:
value- The enum numeric value on the wire for granularity to set.- Returns:
- This builder for chaining.
-
getGranularity
The data granularity of the billing report. Optional, default is hourly. temporal:versioning:min_version=v0.16.0
.temporal.api.cloud.billing.v1.BillingReportSpec.BillingReportGranularity granularity = 5;- Specified by:
getGranularityin interfaceBillingReportSpecOrBuilder- Returns:
- The granularity.
-
setGranularity
The data granularity of the billing report. Optional, default is hourly. temporal:versioning:min_version=v0.16.0
.temporal.api.cloud.billing.v1.BillingReportSpec.BillingReportGranularity granularity = 5;- Parameters:
value- The granularity to set.- Returns:
- This builder for chaining.
-
clearGranularity
The data granularity of the billing report. Optional, default is hourly. temporal:versioning:min_version=v0.16.0
.temporal.api.cloud.billing.v1.BillingReportSpec.BillingReportGranularity granularity = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
public final BillingReportSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
-
mergeUnknownFields
public final BillingReportSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReportSpec.Builder>
-