Package com.daml.ledger.api.v1.admin
Class MeteringReportOuterClass.GetMeteringReportRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportRequest.Builder>
-
- com.daml.ledger.api.v1.admin.MeteringReportOuterClass.GetMeteringReportRequest.Builder
-
- All Implemented Interfaces:
MeteringReportOuterClass.GetMeteringReportRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- MeteringReportOuterClass.GetMeteringReportRequest
public static final class MeteringReportOuterClass.GetMeteringReportRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportRequest.Builder> implements MeteringReportOuterClass.GetMeteringReportRequestOrBuilder
Authorized if and only if the authenticated user is a participant admin.
Protobuf typecom.daml.ledger.api.v1.admin.GetMeteringReportRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MeteringReportOuterClass.GetMeteringReportRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
MeteringReportOuterClass.GetMeteringReportRequest
build()
MeteringReportOuterClass.GetMeteringReportRequest
buildPartial()
MeteringReportOuterClass.GetMeteringReportRequest.Builder
clear()
MeteringReportOuterClass.GetMeteringReportRequest.Builder
clearApplicationId()
If set to a non-empty value, then the report will only be generated for that application.MeteringReportOuterClass.GetMeteringReportRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MeteringReportOuterClass.GetMeteringReportRequest.Builder
clearFrom()
The from timestamp (inclusive).MeteringReportOuterClass.GetMeteringReportRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MeteringReportOuterClass.GetMeteringReportRequest.Builder
clearTo()
The to timestamp (exclusive).MeteringReportOuterClass.GetMeteringReportRequest.Builder
clone()
java.lang.String
getApplicationId()
If set to a non-empty value, then the report will only be generated for that application.com.google.protobuf.ByteString
getApplicationIdBytes()
If set to a non-empty value, then the report will only be generated for that application.MeteringReportOuterClass.GetMeteringReportRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getFrom()
The from timestamp (inclusive).com.google.protobuf.Timestamp.Builder
getFromBuilder()
The from timestamp (inclusive).com.google.protobuf.TimestampOrBuilder
getFromOrBuilder()
The from timestamp (inclusive).com.google.protobuf.Timestamp
getTo()
The to timestamp (exclusive).com.google.protobuf.Timestamp.Builder
getToBuilder()
The to timestamp (exclusive).com.google.protobuf.TimestampOrBuilder
getToOrBuilder()
The to timestamp (exclusive).boolean
hasFrom()
The from timestamp (inclusive).boolean
hasTo()
The to timestamp (exclusive).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MeteringReportOuterClass.GetMeteringReportRequest.Builder
mergeFrom(MeteringReportOuterClass.GetMeteringReportRequest other)
MeteringReportOuterClass.GetMeteringReportRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MeteringReportOuterClass.GetMeteringReportRequest.Builder
mergeFrom(com.google.protobuf.Message other)
MeteringReportOuterClass.GetMeteringReportRequest.Builder
mergeFrom(com.google.protobuf.Timestamp value)
The from timestamp (inclusive).MeteringReportOuterClass.GetMeteringReportRequest.Builder
mergeTo(com.google.protobuf.Timestamp value)
The to timestamp (exclusive).MeteringReportOuterClass.GetMeteringReportRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MeteringReportOuterClass.GetMeteringReportRequest.Builder
setApplicationId(java.lang.String value)
If set to a non-empty value, then the report will only be generated for that application.MeteringReportOuterClass.GetMeteringReportRequest.Builder
setApplicationIdBytes(com.google.protobuf.ByteString value)
If set to a non-empty value, then the report will only be generated for that application.MeteringReportOuterClass.GetMeteringReportRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
MeteringReportOuterClass.GetMeteringReportRequest.Builder
setFrom(com.google.protobuf.Timestamp value)
The from timestamp (inclusive).MeteringReportOuterClass.GetMeteringReportRequest.Builder
setFrom(com.google.protobuf.Timestamp.Builder builderForValue)
The from timestamp (inclusive).MeteringReportOuterClass.GetMeteringReportRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
MeteringReportOuterClass.GetMeteringReportRequest.Builder
setTo(com.google.protobuf.Timestamp value)
The to timestamp (exclusive).MeteringReportOuterClass.GetMeteringReportRequest.Builder
setTo(com.google.protobuf.Timestamp.Builder builderForValue)
The to timestamp (exclusive).MeteringReportOuterClass.GetMeteringReportRequest.Builder
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, 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.GetMeteringReportRequest.Builder>
-
clear
public MeteringReportOuterClass.GetMeteringReportRequest.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.GetMeteringReportRequest.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.GetMeteringReportRequest.Builder>
-
getDefaultInstanceForType
public MeteringReportOuterClass.GetMeteringReportRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MeteringReportOuterClass.GetMeteringReportRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MeteringReportOuterClass.GetMeteringReportRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MeteringReportOuterClass.GetMeteringReportRequest.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.GetMeteringReportRequest.Builder>
-
setField
public MeteringReportOuterClass.GetMeteringReportRequest.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.GetMeteringReportRequest.Builder>
-
clearField
public MeteringReportOuterClass.GetMeteringReportRequest.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.GetMeteringReportRequest.Builder>
-
clearOneof
public MeteringReportOuterClass.GetMeteringReportRequest.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.GetMeteringReportRequest.Builder>
-
setRepeatedField
public MeteringReportOuterClass.GetMeteringReportRequest.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.GetMeteringReportRequest.Builder>
-
addRepeatedField
public MeteringReportOuterClass.GetMeteringReportRequest.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.GetMeteringReportRequest.Builder>
-
mergeFrom
public MeteringReportOuterClass.GetMeteringReportRequest.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.GetMeteringReportRequest.Builder>
-
mergeFrom
public MeteringReportOuterClass.GetMeteringReportRequest.Builder mergeFrom(MeteringReportOuterClass.GetMeteringReportRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MeteringReportOuterClass.GetMeteringReportRequest.Builder>
-
mergeFrom
public MeteringReportOuterClass.GetMeteringReportRequest.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.GetMeteringReportRequest.Builder>
- Throws:
java.io.IOException
-
hasFrom
public boolean hasFrom()
The from timestamp (inclusive). Required.
.google.protobuf.Timestamp from = 1 [json_name = "from"];
- Specified by:
hasFrom
in interfaceMeteringReportOuterClass.GetMeteringReportRequestOrBuilder
- Returns:
- Whether the from field is set.
-
getFrom
public com.google.protobuf.Timestamp getFrom()
The from timestamp (inclusive). Required.
.google.protobuf.Timestamp from = 1 [json_name = "from"];
- Specified by:
getFrom
in interfaceMeteringReportOuterClass.GetMeteringReportRequestOrBuilder
- Returns:
- The from.
-
setFrom
public MeteringReportOuterClass.GetMeteringReportRequest.Builder setFrom(com.google.protobuf.Timestamp value)
The from timestamp (inclusive). Required.
.google.protobuf.Timestamp from = 1 [json_name = "from"];
-
setFrom
public MeteringReportOuterClass.GetMeteringReportRequest.Builder setFrom(com.google.protobuf.Timestamp.Builder builderForValue)
The from timestamp (inclusive). Required.
.google.protobuf.Timestamp from = 1 [json_name = "from"];
-
mergeFrom
public MeteringReportOuterClass.GetMeteringReportRequest.Builder mergeFrom(com.google.protobuf.Timestamp value)
The from timestamp (inclusive). Required.
.google.protobuf.Timestamp from = 1 [json_name = "from"];
-
clearFrom
public MeteringReportOuterClass.GetMeteringReportRequest.Builder clearFrom()
The from timestamp (inclusive). Required.
.google.protobuf.Timestamp from = 1 [json_name = "from"];
-
getFromBuilder
public com.google.protobuf.Timestamp.Builder getFromBuilder()
The from timestamp (inclusive). Required.
.google.protobuf.Timestamp from = 1 [json_name = "from"];
-
getFromOrBuilder
public com.google.protobuf.TimestampOrBuilder getFromOrBuilder()
The from timestamp (inclusive). Required.
.google.protobuf.Timestamp from = 1 [json_name = "from"];
- Specified by:
getFromOrBuilder
in interfaceMeteringReportOuterClass.GetMeteringReportRequestOrBuilder
-
hasTo
public boolean hasTo()
The to timestamp (exclusive). If not provided, the server will default to its current time.
.google.protobuf.Timestamp to = 2 [json_name = "to"];
- Specified by:
hasTo
in interfaceMeteringReportOuterClass.GetMeteringReportRequestOrBuilder
- Returns:
- Whether the to field is set.
-
getTo
public com.google.protobuf.Timestamp getTo()
The to timestamp (exclusive). If not provided, the server will default to its current time.
.google.protobuf.Timestamp to = 2 [json_name = "to"];
- Specified by:
getTo
in interfaceMeteringReportOuterClass.GetMeteringReportRequestOrBuilder
- Returns:
- The to.
-
setTo
public MeteringReportOuterClass.GetMeteringReportRequest.Builder setTo(com.google.protobuf.Timestamp value)
The to timestamp (exclusive). If not provided, the server will default to its current time.
.google.protobuf.Timestamp to = 2 [json_name = "to"];
-
setTo
public MeteringReportOuterClass.GetMeteringReportRequest.Builder setTo(com.google.protobuf.Timestamp.Builder builderForValue)
The to timestamp (exclusive). If not provided, the server will default to its current time.
.google.protobuf.Timestamp to = 2 [json_name = "to"];
-
mergeTo
public MeteringReportOuterClass.GetMeteringReportRequest.Builder mergeTo(com.google.protobuf.Timestamp value)
The to timestamp (exclusive). If not provided, the server will default to its current time.
.google.protobuf.Timestamp to = 2 [json_name = "to"];
-
clearTo
public MeteringReportOuterClass.GetMeteringReportRequest.Builder clearTo()
The to timestamp (exclusive). If not provided, the server will default to its current time.
.google.protobuf.Timestamp to = 2 [json_name = "to"];
-
getToBuilder
public com.google.protobuf.Timestamp.Builder getToBuilder()
The to timestamp (exclusive). If not provided, the server will default to its current time.
.google.protobuf.Timestamp to = 2 [json_name = "to"];
-
getToOrBuilder
public com.google.protobuf.TimestampOrBuilder getToOrBuilder()
The to timestamp (exclusive). If not provided, the server will default to its current time.
.google.protobuf.Timestamp to = 2 [json_name = "to"];
- Specified by:
getToOrBuilder
in interfaceMeteringReportOuterClass.GetMeteringReportRequestOrBuilder
-
getApplicationId
public java.lang.String getApplicationId()
If set to a non-empty value, then the report will only be generated for that application. Optional.
string application_id = 3 [json_name = "applicationId"];
- Specified by:
getApplicationId
in interfaceMeteringReportOuterClass.GetMeteringReportRequestOrBuilder
- Returns:
- The applicationId.
-
getApplicationIdBytes
public com.google.protobuf.ByteString getApplicationIdBytes()
If set to a non-empty value, then the report will only be generated for that application. Optional.
string application_id = 3 [json_name = "applicationId"];
- Specified by:
getApplicationIdBytes
in interfaceMeteringReportOuterClass.GetMeteringReportRequestOrBuilder
- Returns:
- The bytes for applicationId.
-
setApplicationId
public MeteringReportOuterClass.GetMeteringReportRequest.Builder setApplicationId(java.lang.String value)
If set to a non-empty value, then the report will only be generated for that application. Optional.
string application_id = 3 [json_name = "applicationId"];
- Parameters:
value
- The applicationId to set.- Returns:
- This builder for chaining.
-
clearApplicationId
public MeteringReportOuterClass.GetMeteringReportRequest.Builder clearApplicationId()
If set to a non-empty value, then the report will only be generated for that application. Optional.
string application_id = 3 [json_name = "applicationId"];
- Returns:
- This builder for chaining.
-
setApplicationIdBytes
public MeteringReportOuterClass.GetMeteringReportRequest.Builder setApplicationIdBytes(com.google.protobuf.ByteString value)
If set to a non-empty value, then the report will only be generated for that application. Optional.
string application_id = 3 [json_name = "applicationId"];
- Parameters:
value
- The bytes for applicationId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final MeteringReportOuterClass.GetMeteringReportRequest.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.GetMeteringReportRequest.Builder>
-
mergeUnknownFields
public final MeteringReportOuterClass.GetMeteringReportRequest.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.GetMeteringReportRequest.Builder>
-
-