Class BillingReport.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BillingReport.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<BillingReport.Builder>
io.temporal.api.cloud.billing.v1.BillingReport.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BillingReportOrBuilder,Cloneable
- Enclosing class:
BillingReport
public static final class BillingReport.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BillingReport.Builder>
implements BillingReportOrBuilder
Protobuf type
temporal.api.cloud.billing.v1.BillingReport-
Method Summary
Modifier and TypeMethodDescriptionaddAllDownloadInfo(Iterable<? extends BillingReport.Download> values) The download information for the billing report.addDownloadInfo(int index, BillingReport.Download value) The download information for the billing report.addDownloadInfo(int index, BillingReport.Download.Builder builderForValue) The download information for the billing report.The download information for the billing report.addDownloadInfo(BillingReport.Download.Builder builderForValue) The download information for the billing report.The download information for the billing report.addDownloadInfoBuilder(int index) The download information for the billing report.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The async operation id associated with the billing report generation.The download information for the billing report.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The date and time when the billing report generation completed.clearId()The id of the billing report.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The date and time when the billing report was requested.The spec used to generate this billing report.The current state of the billing report.clone()The async operation id associated with the billing report generation.com.google.protobuf.ByteStringThe async operation id associated with the billing report generation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDownloadInfo(int index) The download information for the billing report.getDownloadInfoBuilder(int index) The download information for the billing report.The download information for the billing report.intThe download information for the billing report.The download information for the billing report.getDownloadInfoOrBuilder(int index) The download information for the billing report.List<? extends BillingReport.DownloadOrBuilder> The download information for the billing report.com.google.protobuf.TimestampThe date and time when the billing report generation completed.com.google.protobuf.Timestamp.BuilderThe date and time when the billing report generation completed.com.google.protobuf.TimestampOrBuilderThe date and time when the billing report generation completed.getId()The id of the billing report.com.google.protobuf.ByteStringThe id of the billing report.com.google.protobuf.TimestampThe date and time when the billing report was requested.com.google.protobuf.Timestamp.BuilderThe date and time when the billing report was requested.com.google.protobuf.TimestampOrBuilderThe date and time when the billing report was requested.getSpec()The spec used to generate this billing report.The spec used to generate this billing report.The spec used to generate this billing report.getState()The current state of the billing report.intThe current state of the billing report.booleanThe date and time when the billing report generation completed.booleanThe date and time when the billing report was requested.booleanhasSpec()The spec used to generate this billing report.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(BillingReport other) mergeGeneratedTime(com.google.protobuf.Timestamp value) The date and time when the billing report generation completed.mergeRequestedTime(com.google.protobuf.Timestamp value) The date and time when the billing report was requested.mergeSpec(BillingReportSpec value) The spec used to generate this billing report.final BillingReport.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeDownloadInfo(int index) The download information for the billing report.setAsyncOperationId(String value) The async operation id associated with the billing report generation.setAsyncOperationIdBytes(com.google.protobuf.ByteString value) The async operation id associated with the billing report generation.setDownloadInfo(int index, BillingReport.Download value) The download information for the billing report.setDownloadInfo(int index, BillingReport.Download.Builder builderForValue) The download information for the billing report.setGeneratedTime(com.google.protobuf.Timestamp value) The date and time when the billing report generation completed.setGeneratedTime(com.google.protobuf.Timestamp.Builder builderForValue) The date and time when the billing report generation completed.The id of the billing report.setIdBytes(com.google.protobuf.ByteString value) The id of the billing report.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestedTime(com.google.protobuf.Timestamp value) The date and time when the billing report was requested.setRequestedTime(com.google.protobuf.Timestamp.Builder builderForValue) The date and time when the billing report was requested.setSpec(BillingReportSpec value) The spec used to generate this billing report.setSpec(BillingReportSpec.Builder builderForValue) The spec used to generate this billing report.The current state of the billing report.setStateValue(int value) The current state of the billing report.final BillingReport.BuildersetUnknownFields(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<BillingReport.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<BillingReport.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<BillingReport.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<BillingReport.Builder>
-
setField
public BillingReport.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<BillingReport.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReport.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReport.Builder>
-
setRepeatedField
public BillingReport.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<BillingReport.Builder>
-
addRepeatedField
public BillingReport.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<BillingReport.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BillingReport.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReport.Builder>
-
mergeFrom
public BillingReport.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<BillingReport.Builder>- Throws:
IOException
-
getId
The id of the billing report.
string id = 1;- Specified by:
getIdin interfaceBillingReportOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The id of the billing report.
string id = 1;- Specified by:
getIdBytesin interfaceBillingReportOrBuilder- Returns:
- The bytes for id.
-
setId
The id of the billing report.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
The id of the billing report.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
The id of the billing report.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()The current state of the billing report.
.temporal.api.cloud.billing.v1.BillingReport.BillingReportState state = 2;- Specified by:
getStateValuein interfaceBillingReportOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The current state of the billing report.
.temporal.api.cloud.billing.v1.BillingReport.BillingReportState state = 2;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The current state of the billing report.
.temporal.api.cloud.billing.v1.BillingReport.BillingReportState state = 2;- Specified by:
getStatein interfaceBillingReportOrBuilder- Returns:
- The state.
-
setState
The current state of the billing report.
.temporal.api.cloud.billing.v1.BillingReport.BillingReportState state = 2;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The current state of the billing report.
.temporal.api.cloud.billing.v1.BillingReport.BillingReportState state = 2;- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()The spec used to generate this billing report.
.temporal.api.cloud.billing.v1.BillingReportSpec spec = 3;- Specified by:
hasSpecin interfaceBillingReportOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
The spec used to generate this billing report.
.temporal.api.cloud.billing.v1.BillingReportSpec spec = 3;- Specified by:
getSpecin interfaceBillingReportOrBuilder- Returns:
- The spec.
-
setSpec
The spec used to generate this billing report.
.temporal.api.cloud.billing.v1.BillingReportSpec spec = 3; -
setSpec
The spec used to generate this billing report.
.temporal.api.cloud.billing.v1.BillingReportSpec spec = 3; -
mergeSpec
The spec used to generate this billing report.
.temporal.api.cloud.billing.v1.BillingReportSpec spec = 3; -
clearSpec
The spec used to generate this billing report.
.temporal.api.cloud.billing.v1.BillingReportSpec spec = 3; -
getSpecBuilder
The spec used to generate this billing report.
.temporal.api.cloud.billing.v1.BillingReportSpec spec = 3; -
getSpecOrBuilder
The spec used to generate this billing report.
.temporal.api.cloud.billing.v1.BillingReportSpec spec = 3;- Specified by:
getSpecOrBuilderin interfaceBillingReportOrBuilder
-
getDownloadInfoList
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;- Specified by:
getDownloadInfoListin interfaceBillingReportOrBuilder
-
getDownloadInfoCount
public int getDownloadInfoCount()The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;- Specified by:
getDownloadInfoCountin interfaceBillingReportOrBuilder
-
getDownloadInfo
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;- Specified by:
getDownloadInfoin interfaceBillingReportOrBuilder
-
setDownloadInfo
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
setDownloadInfo
public BillingReport.Builder setDownloadInfo(int index, BillingReport.Download.Builder builderForValue) The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
addDownloadInfo
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
addDownloadInfo
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
addDownloadInfo
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
addDownloadInfo
public BillingReport.Builder addDownloadInfo(int index, BillingReport.Download.Builder builderForValue) The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
addAllDownloadInfo
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
clearDownloadInfo
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
removeDownloadInfo
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
getDownloadInfoBuilder
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
getDownloadInfoOrBuilder
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;- Specified by:
getDownloadInfoOrBuilderin interfaceBillingReportOrBuilder
-
getDownloadInfoOrBuilderList
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4;- Specified by:
getDownloadInfoOrBuilderListin interfaceBillingReportOrBuilder
-
addDownloadInfoBuilder
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
addDownloadInfoBuilder
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
getDownloadInfoBuilderList
The download information for the billing report. For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
repeated .temporal.api.cloud.billing.v1.BillingReport.Download download_info = 4; -
hasRequestedTime
public boolean hasRequestedTime()The date and time when the billing report was requested.
.google.protobuf.Timestamp requested_time = 5;- Specified by:
hasRequestedTimein interfaceBillingReportOrBuilder- Returns:
- Whether the requestedTime field is set.
-
getRequestedTime
public com.google.protobuf.Timestamp getRequestedTime()The date and time when the billing report was requested.
.google.protobuf.Timestamp requested_time = 5;- Specified by:
getRequestedTimein interfaceBillingReportOrBuilder- Returns:
- The requestedTime.
-
setRequestedTime
The date and time when the billing report was requested.
.google.protobuf.Timestamp requested_time = 5; -
setRequestedTime
public BillingReport.Builder setRequestedTime(com.google.protobuf.Timestamp.Builder builderForValue) The date and time when the billing report was requested.
.google.protobuf.Timestamp requested_time = 5; -
mergeRequestedTime
The date and time when the billing report was requested.
.google.protobuf.Timestamp requested_time = 5; -
clearRequestedTime
The date and time when the billing report was requested.
.google.protobuf.Timestamp requested_time = 5; -
getRequestedTimeBuilder
public com.google.protobuf.Timestamp.Builder getRequestedTimeBuilder()The date and time when the billing report was requested.
.google.protobuf.Timestamp requested_time = 5; -
getRequestedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRequestedTimeOrBuilder()The date and time when the billing report was requested.
.google.protobuf.Timestamp requested_time = 5;- Specified by:
getRequestedTimeOrBuilderin interfaceBillingReportOrBuilder
-
hasGeneratedTime
public boolean hasGeneratedTime()The date and time when the billing report generation completed.
.google.protobuf.Timestamp generated_time = 6;- Specified by:
hasGeneratedTimein interfaceBillingReportOrBuilder- Returns:
- Whether the generatedTime field is set.
-
getGeneratedTime
public com.google.protobuf.Timestamp getGeneratedTime()The date and time when the billing report generation completed.
.google.protobuf.Timestamp generated_time = 6;- Specified by:
getGeneratedTimein interfaceBillingReportOrBuilder- Returns:
- The generatedTime.
-
setGeneratedTime
The date and time when the billing report generation completed.
.google.protobuf.Timestamp generated_time = 6; -
setGeneratedTime
public BillingReport.Builder setGeneratedTime(com.google.protobuf.Timestamp.Builder builderForValue) The date and time when the billing report generation completed.
.google.protobuf.Timestamp generated_time = 6; -
mergeGeneratedTime
The date and time when the billing report generation completed.
.google.protobuf.Timestamp generated_time = 6; -
clearGeneratedTime
The date and time when the billing report generation completed.
.google.protobuf.Timestamp generated_time = 6; -
getGeneratedTimeBuilder
public com.google.protobuf.Timestamp.Builder getGeneratedTimeBuilder()The date and time when the billing report generation completed.
.google.protobuf.Timestamp generated_time = 6; -
getGeneratedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getGeneratedTimeOrBuilder()The date and time when the billing report generation completed.
.google.protobuf.Timestamp generated_time = 6;- Specified by:
getGeneratedTimeOrBuilderin interfaceBillingReportOrBuilder
-
getAsyncOperationId
The async operation id associated with the billing report generation.
string async_operation_id = 7;- Specified by:
getAsyncOperationIdin interfaceBillingReportOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()The async operation id associated with the billing report generation.
string async_operation_id = 7;- Specified by:
getAsyncOperationIdBytesin interfaceBillingReportOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
The async operation id associated with the billing report generation.
string async_operation_id = 7;- Parameters:
value- The asyncOperationId to set.- Returns:
- This builder for chaining.
-
clearAsyncOperationId
The async operation id associated with the billing report generation.
string async_operation_id = 7;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
The async operation id associated with the billing report generation.
string async_operation_id = 7;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BillingReport.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReport.Builder>
-
mergeUnknownFields
public final BillingReport.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingReport.Builder>
-