Package com.daml.ledger.api.v1.admin
Class MeteringReportOuterClass.GetMeteringReportResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
- com.daml.ledger.api.v1.admin.MeteringReportOuterClass.GetMeteringReportResponse.Builder
-
- All Implemented Interfaces:
MeteringReportOuterClass.GetMeteringReportResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- MeteringReportOuterClass.GetMeteringReportResponse
public static final class MeteringReportOuterClass.GetMeteringReportResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder> implements MeteringReportOuterClass.GetMeteringReportResponseOrBuilder
Protobuf typecom.daml.ledger.api.v1.admin.GetMeteringReportResponse
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
clear
public MeteringReportOuterClass.GetMeteringReportResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
getDefaultInstanceForType
public MeteringReportOuterClass.GetMeteringReportResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MeteringReportOuterClass.GetMeteringReportResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MeteringReportOuterClass.GetMeteringReportResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MeteringReportOuterClass.GetMeteringReportResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
setField
public MeteringReportOuterClass.GetMeteringReportResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
clearField
public MeteringReportOuterClass.GetMeteringReportResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
clearOneof
public MeteringReportOuterClass.GetMeteringReportResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
setRepeatedField
public MeteringReportOuterClass.GetMeteringReportResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
addRepeatedField
public MeteringReportOuterClass.GetMeteringReportResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
mergeFrom
public MeteringReportOuterClass.GetMeteringReportResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
mergeFrom
public MeteringReportOuterClass.GetMeteringReportResponse.Builder mergeFrom(MeteringReportOuterClass.GetMeteringReportResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
mergeFrom
public MeteringReportOuterClass.GetMeteringReportResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
- Throws:
java.io.IOException
-
hasRequest
public boolean hasRequest()
The actual request that was executed.
.com.daml.ledger.api.v1.admin.GetMeteringReportRequest request = 1 [json_name = "request"];
- Specified by:
hasRequest
in interfaceMeteringReportOuterClass.GetMeteringReportResponseOrBuilder
- Returns:
- Whether the request field is set.
-
getRequest
public MeteringReportOuterClass.GetMeteringReportRequest getRequest()
The actual request that was executed.
.com.daml.ledger.api.v1.admin.GetMeteringReportRequest request = 1 [json_name = "request"];
- Specified by:
getRequest
in interfaceMeteringReportOuterClass.GetMeteringReportResponseOrBuilder
- Returns:
- The request.
-
setRequest
public MeteringReportOuterClass.GetMeteringReportResponse.Builder setRequest(MeteringReportOuterClass.GetMeteringReportRequest value)
The actual request that was executed.
.com.daml.ledger.api.v1.admin.GetMeteringReportRequest request = 1 [json_name = "request"];
-
setRequest
public MeteringReportOuterClass.GetMeteringReportResponse.Builder setRequest(MeteringReportOuterClass.GetMeteringReportRequest.Builder builderForValue)
The actual request that was executed.
.com.daml.ledger.api.v1.admin.GetMeteringReportRequest request = 1 [json_name = "request"];
-
mergeRequest
public MeteringReportOuterClass.GetMeteringReportResponse.Builder mergeRequest(MeteringReportOuterClass.GetMeteringReportRequest value)
The actual request that was executed.
.com.daml.ledger.api.v1.admin.GetMeteringReportRequest request = 1 [json_name = "request"];
-
clearRequest
public MeteringReportOuterClass.GetMeteringReportResponse.Builder clearRequest()
The actual request that was executed.
.com.daml.ledger.api.v1.admin.GetMeteringReportRequest request = 1 [json_name = "request"];
-
getRequestBuilder
public MeteringReportOuterClass.GetMeteringReportRequest.Builder getRequestBuilder()
The actual request that was executed.
.com.daml.ledger.api.v1.admin.GetMeteringReportRequest request = 1 [json_name = "request"];
-
getRequestOrBuilder
public MeteringReportOuterClass.GetMeteringReportRequestOrBuilder getRequestOrBuilder()
The actual request that was executed.
.com.daml.ledger.api.v1.admin.GetMeteringReportRequest request = 1 [json_name = "request"];
- Specified by:
getRequestOrBuilder
in interfaceMeteringReportOuterClass.GetMeteringReportResponseOrBuilder
-
hasReportGenerationTime
public boolean hasReportGenerationTime()
The time at which the report was computed.
.google.protobuf.Timestamp report_generation_time = 3 [json_name = "reportGenerationTime"];
- Specified by:
hasReportGenerationTime
in interfaceMeteringReportOuterClass.GetMeteringReportResponseOrBuilder
- Returns:
- Whether the reportGenerationTime field is set.
-
getReportGenerationTime
public com.google.protobuf.Timestamp getReportGenerationTime()
The time at which the report was computed.
.google.protobuf.Timestamp report_generation_time = 3 [json_name = "reportGenerationTime"];
- Specified by:
getReportGenerationTime
in interfaceMeteringReportOuterClass.GetMeteringReportResponseOrBuilder
- Returns:
- The reportGenerationTime.
-
setReportGenerationTime
public MeteringReportOuterClass.GetMeteringReportResponse.Builder setReportGenerationTime(com.google.protobuf.Timestamp value)
The time at which the report was computed.
.google.protobuf.Timestamp report_generation_time = 3 [json_name = "reportGenerationTime"];
-
setReportGenerationTime
public MeteringReportOuterClass.GetMeteringReportResponse.Builder setReportGenerationTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the report was computed.
.google.protobuf.Timestamp report_generation_time = 3 [json_name = "reportGenerationTime"];
-
mergeReportGenerationTime
public MeteringReportOuterClass.GetMeteringReportResponse.Builder mergeReportGenerationTime(com.google.protobuf.Timestamp value)
The time at which the report was computed.
.google.protobuf.Timestamp report_generation_time = 3 [json_name = "reportGenerationTime"];
-
clearReportGenerationTime
public MeteringReportOuterClass.GetMeteringReportResponse.Builder clearReportGenerationTime()
The time at which the report was computed.
.google.protobuf.Timestamp report_generation_time = 3 [json_name = "reportGenerationTime"];
-
getReportGenerationTimeBuilder
public com.google.protobuf.Timestamp.Builder getReportGenerationTimeBuilder()
The time at which the report was computed.
.google.protobuf.Timestamp report_generation_time = 3 [json_name = "reportGenerationTime"];
-
getReportGenerationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getReportGenerationTimeOrBuilder()
The time at which the report was computed.
.google.protobuf.Timestamp report_generation_time = 3 [json_name = "reportGenerationTime"];
- Specified by:
getReportGenerationTimeOrBuilder
in interfaceMeteringReportOuterClass.GetMeteringReportResponseOrBuilder
-
hasMeteringReportJson
public boolean hasMeteringReportJson()
The metering report json
.google.protobuf.Struct metering_report_json = 4 [json_name = "meteringReportJson"];
- Specified by:
hasMeteringReportJson
in interfaceMeteringReportOuterClass.GetMeteringReportResponseOrBuilder
- Returns:
- Whether the meteringReportJson field is set.
-
getMeteringReportJson
public com.google.protobuf.Struct getMeteringReportJson()
The metering report json
.google.protobuf.Struct metering_report_json = 4 [json_name = "meteringReportJson"];
- Specified by:
getMeteringReportJson
in interfaceMeteringReportOuterClass.GetMeteringReportResponseOrBuilder
- Returns:
- The meteringReportJson.
-
setMeteringReportJson
public MeteringReportOuterClass.GetMeteringReportResponse.Builder setMeteringReportJson(com.google.protobuf.Struct value)
The metering report json
.google.protobuf.Struct metering_report_json = 4 [json_name = "meteringReportJson"];
-
setMeteringReportJson
public MeteringReportOuterClass.GetMeteringReportResponse.Builder setMeteringReportJson(com.google.protobuf.Struct.Builder builderForValue)
The metering report json
.google.protobuf.Struct metering_report_json = 4 [json_name = "meteringReportJson"];
-
mergeMeteringReportJson
public MeteringReportOuterClass.GetMeteringReportResponse.Builder mergeMeteringReportJson(com.google.protobuf.Struct value)
The metering report json
.google.protobuf.Struct metering_report_json = 4 [json_name = "meteringReportJson"];
-
clearMeteringReportJson
public MeteringReportOuterClass.GetMeteringReportResponse.Builder clearMeteringReportJson()
The metering report json
.google.protobuf.Struct metering_report_json = 4 [json_name = "meteringReportJson"];
-
getMeteringReportJsonBuilder
public com.google.protobuf.Struct.Builder getMeteringReportJsonBuilder()
The metering report json
.google.protobuf.Struct metering_report_json = 4 [json_name = "meteringReportJson"];
-
getMeteringReportJsonOrBuilder
public com.google.protobuf.StructOrBuilder getMeteringReportJsonOrBuilder()
The metering report json
.google.protobuf.Struct metering_report_json = 4 [json_name = "meteringReportJson"];
- Specified by:
getMeteringReportJsonOrBuilder
in interfaceMeteringReportOuterClass.GetMeteringReportResponseOrBuilder
-
setUnknownFields
public final MeteringReportOuterClass.GetMeteringReportResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
mergeUnknownFields
public final MeteringReportOuterClass.GetMeteringReportResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportResponse.Builder>
-
-