Package com.daml.ledger.api.v1.admin
Class MeteringReportOuterClass.ParticipantMeteringReport.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.ParticipantMeteringReport.Builder>
-
- com.daml.ledger.api.v1.admin.MeteringReportOuterClass.ParticipantMeteringReport.Builder
-
- All Implemented Interfaces:
MeteringReportOuterClass.ParticipantMeteringReportOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- MeteringReportOuterClass.ParticipantMeteringReport
public static final class MeteringReportOuterClass.ParticipantMeteringReport.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.ParticipantMeteringReport.Builder> implements MeteringReportOuterClass.ParticipantMeteringReportOrBuilder
Protobuf typecom.daml.ledger.api.v1.admin.ParticipantMeteringReport
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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.ParticipantMeteringReport.Builder>
-
clear
public MeteringReportOuterClass.ParticipantMeteringReport.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.ParticipantMeteringReport.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.ParticipantMeteringReport.Builder>
-
getDefaultInstanceForType
public MeteringReportOuterClass.ParticipantMeteringReport getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MeteringReportOuterClass.ParticipantMeteringReport build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MeteringReportOuterClass.ParticipantMeteringReport buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MeteringReportOuterClass.ParticipantMeteringReport.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.ParticipantMeteringReport.Builder>
-
setField
public MeteringReportOuterClass.ParticipantMeteringReport.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.ParticipantMeteringReport.Builder>
-
clearField
public MeteringReportOuterClass.ParticipantMeteringReport.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.ParticipantMeteringReport.Builder>
-
clearOneof
public MeteringReportOuterClass.ParticipantMeteringReport.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.ParticipantMeteringReport.Builder>
-
setRepeatedField
public MeteringReportOuterClass.ParticipantMeteringReport.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.ParticipantMeteringReport.Builder>
-
addRepeatedField
public MeteringReportOuterClass.ParticipantMeteringReport.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.ParticipantMeteringReport.Builder>
-
mergeFrom
public MeteringReportOuterClass.ParticipantMeteringReport.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.ParticipantMeteringReport.Builder>
-
mergeFrom
public MeteringReportOuterClass.ParticipantMeteringReport.Builder mergeFrom(MeteringReportOuterClass.ParticipantMeteringReport other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.ParticipantMeteringReport.Builder>
-
mergeFrom
public MeteringReportOuterClass.ParticipantMeteringReport.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.ParticipantMeteringReport.Builder>
- Throws:
java.io.IOException
-
getParticipantId
public java.lang.String getParticipantId()
The reporting participant
string participant_id = 1 [json_name = "participantId"];
- Specified by:
getParticipantId
in interfaceMeteringReportOuterClass.ParticipantMeteringReportOrBuilder
- Returns:
- The participantId.
-
getParticipantIdBytes
public com.google.protobuf.ByteString getParticipantIdBytes()
The reporting participant
string participant_id = 1 [json_name = "participantId"];
- Specified by:
getParticipantIdBytes
in interfaceMeteringReportOuterClass.ParticipantMeteringReportOrBuilder
- Returns:
- The bytes for participantId.
-
setParticipantId
public MeteringReportOuterClass.ParticipantMeteringReport.Builder setParticipantId(java.lang.String value)
The reporting participant
string participant_id = 1 [json_name = "participantId"];
- Parameters:
value
- The participantId to set.- Returns:
- This builder for chaining.
-
clearParticipantId
public MeteringReportOuterClass.ParticipantMeteringReport.Builder clearParticipantId()
The reporting participant
string participant_id = 1 [json_name = "participantId"];
- Returns:
- This builder for chaining.
-
setParticipantIdBytes
public MeteringReportOuterClass.ParticipantMeteringReport.Builder setParticipantIdBytes(com.google.protobuf.ByteString value)
The reporting participant
string participant_id = 1 [json_name = "participantId"];
- Parameters:
value
- The bytes for participantId to set.- Returns:
- This builder for chaining.
-
getIsFinal
public boolean getIsFinal()
If the report is final it has been generated based on aggregated data so will never change in the future.
bool is_final = 2 [json_name = "isFinal"];
- Specified by:
getIsFinal
in interfaceMeteringReportOuterClass.ParticipantMeteringReportOrBuilder
- Returns:
- The isFinal.
-
setIsFinal
public MeteringReportOuterClass.ParticipantMeteringReport.Builder setIsFinal(boolean value)
If the report is final it has been generated based on aggregated data so will never change in the future.
bool is_final = 2 [json_name = "isFinal"];
- Parameters:
value
- The isFinal to set.- Returns:
- This builder for chaining.
-
clearIsFinal
public MeteringReportOuterClass.ParticipantMeteringReport.Builder clearIsFinal()
If the report is final it has been generated based on aggregated data so will never change in the future.
bool is_final = 2 [json_name = "isFinal"];
- Returns:
- This builder for chaining.
-
getApplicationReportsList
public java.util.List<MeteringReportOuterClass.ApplicationMeteringReport> getApplicationReportsList()
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
- Specified by:
getApplicationReportsList
in interfaceMeteringReportOuterClass.ParticipantMeteringReportOrBuilder
-
getApplicationReportsCount
public int getApplicationReportsCount()
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
- Specified by:
getApplicationReportsCount
in interfaceMeteringReportOuterClass.ParticipantMeteringReportOrBuilder
-
getApplicationReports
public MeteringReportOuterClass.ApplicationMeteringReport getApplicationReports(int index)
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
- Specified by:
getApplicationReports
in interfaceMeteringReportOuterClass.ParticipantMeteringReportOrBuilder
-
setApplicationReports
public MeteringReportOuterClass.ParticipantMeteringReport.Builder setApplicationReports(int index, MeteringReportOuterClass.ApplicationMeteringReport value)
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
setApplicationReports
public MeteringReportOuterClass.ParticipantMeteringReport.Builder setApplicationReports(int index, MeteringReportOuterClass.ApplicationMeteringReport.Builder builderForValue)
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
addApplicationReports
public MeteringReportOuterClass.ParticipantMeteringReport.Builder addApplicationReports(MeteringReportOuterClass.ApplicationMeteringReport value)
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
addApplicationReports
public MeteringReportOuterClass.ParticipantMeteringReport.Builder addApplicationReports(int index, MeteringReportOuterClass.ApplicationMeteringReport value)
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
addApplicationReports
public MeteringReportOuterClass.ParticipantMeteringReport.Builder addApplicationReports(MeteringReportOuterClass.ApplicationMeteringReport.Builder builderForValue)
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
addApplicationReports
public MeteringReportOuterClass.ParticipantMeteringReport.Builder addApplicationReports(int index, MeteringReportOuterClass.ApplicationMeteringReport.Builder builderForValue)
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
addAllApplicationReports
public MeteringReportOuterClass.ParticipantMeteringReport.Builder addAllApplicationReports(java.lang.Iterable<? extends MeteringReportOuterClass.ApplicationMeteringReport> values)
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
clearApplicationReports
public MeteringReportOuterClass.ParticipantMeteringReport.Builder clearApplicationReports()
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
removeApplicationReports
public MeteringReportOuterClass.ParticipantMeteringReport.Builder removeApplicationReports(int index)
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
getApplicationReportsBuilder
public MeteringReportOuterClass.ApplicationMeteringReport.Builder getApplicationReportsBuilder(int index)
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
getApplicationReportsOrBuilder
public MeteringReportOuterClass.ApplicationMeteringReportOrBuilder getApplicationReportsOrBuilder(int index)
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
- Specified by:
getApplicationReportsOrBuilder
in interfaceMeteringReportOuterClass.ParticipantMeteringReportOrBuilder
-
getApplicationReportsOrBuilderList
public java.util.List<? extends MeteringReportOuterClass.ApplicationMeteringReportOrBuilder> getApplicationReportsOrBuilderList()
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
- Specified by:
getApplicationReportsOrBuilderList
in interfaceMeteringReportOuterClass.ParticipantMeteringReportOrBuilder
-
addApplicationReportsBuilder
public MeteringReportOuterClass.ApplicationMeteringReport.Builder addApplicationReportsBuilder()
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
addApplicationReportsBuilder
public MeteringReportOuterClass.ApplicationMeteringReport.Builder addApplicationReportsBuilder(int index)
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
getApplicationReportsBuilderList
public java.util.List<MeteringReportOuterClass.ApplicationMeteringReport.Builder> getApplicationReportsBuilderList()
Per application reports.
repeated .com.daml.ledger.api.v1.admin.ApplicationMeteringReport application_reports = 3 [json_name = "applicationReports"];
-
setUnknownFields
public final MeteringReportOuterClass.ParticipantMeteringReport.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.ParticipantMeteringReport.Builder>
-
mergeUnknownFields
public final MeteringReportOuterClass.ParticipantMeteringReport.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.ParticipantMeteringReport.Builder>
-
-