public static final class PackageServiceOuterClass.ListPackagesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder> implements PackageServiceOuterClass.ListPackagesResponseOrBuilder
com.daml.ledger.api.v1.ListPackagesResponse
Modifier and Type | Method and Description |
---|---|
PackageServiceOuterClass.ListPackagesResponse.Builder |
addAllPackageIds(java.lang.Iterable<java.lang.String> values)
The IDs of all Daml-LF packages supported by the server.
|
PackageServiceOuterClass.ListPackagesResponse.Builder |
addPackageIds(java.lang.String value)
The IDs of all Daml-LF packages supported by the server.
|
PackageServiceOuterClass.ListPackagesResponse.Builder |
addPackageIdsBytes(com.google.protobuf.ByteString value)
The IDs of all Daml-LF packages supported by the server.
|
PackageServiceOuterClass.ListPackagesResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PackageServiceOuterClass.ListPackagesResponse |
build() |
PackageServiceOuterClass.ListPackagesResponse |
buildPartial() |
PackageServiceOuterClass.ListPackagesResponse.Builder |
clear() |
PackageServiceOuterClass.ListPackagesResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PackageServiceOuterClass.ListPackagesResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PackageServiceOuterClass.ListPackagesResponse.Builder |
clearPackageIds()
The IDs of all Daml-LF packages supported by the server.
|
PackageServiceOuterClass.ListPackagesResponse.Builder |
clone() |
PackageServiceOuterClass.ListPackagesResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getPackageIds(int index)
The IDs of all Daml-LF packages supported by the server.
|
com.google.protobuf.ByteString |
getPackageIdsBytes(int index)
The IDs of all Daml-LF packages supported by the server.
|
int |
getPackageIdsCount()
The IDs of all Daml-LF packages supported by the server.
|
com.google.protobuf.ProtocolStringList |
getPackageIdsList()
The IDs of all Daml-LF packages supported by the server.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PackageServiceOuterClass.ListPackagesResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PackageServiceOuterClass.ListPackagesResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
PackageServiceOuterClass.ListPackagesResponse.Builder |
mergeFrom(PackageServiceOuterClass.ListPackagesResponse other) |
PackageServiceOuterClass.ListPackagesResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PackageServiceOuterClass.ListPackagesResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
PackageServiceOuterClass.ListPackagesResponse.Builder |
setPackageIds(int index,
java.lang.String value)
The IDs of all Daml-LF packages supported by the server.
|
PackageServiceOuterClass.ListPackagesResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
PackageServiceOuterClass.ListPackagesResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
public PackageServiceOuterClass.ListPackagesResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
public PackageServiceOuterClass.ListPackagesResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PackageServiceOuterClass.ListPackagesResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PackageServiceOuterClass.ListPackagesResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PackageServiceOuterClass.ListPackagesResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
public PackageServiceOuterClass.ListPackagesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
public PackageServiceOuterClass.ListPackagesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
public PackageServiceOuterClass.ListPackagesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
public PackageServiceOuterClass.ListPackagesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
public PackageServiceOuterClass.ListPackagesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
public PackageServiceOuterClass.ListPackagesResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
public PackageServiceOuterClass.ListPackagesResponse.Builder mergeFrom(PackageServiceOuterClass.ListPackagesResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
public PackageServiceOuterClass.ListPackagesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
java.io.IOException
public com.google.protobuf.ProtocolStringList getPackageIdsList()
The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
getPackageIdsList
in interface PackageServiceOuterClass.ListPackagesResponseOrBuilder
public int getPackageIdsCount()
The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
getPackageIdsCount
in interface PackageServiceOuterClass.ListPackagesResponseOrBuilder
public java.lang.String getPackageIds(int index)
The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
getPackageIds
in interface PackageServiceOuterClass.ListPackagesResponseOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getPackageIdsBytes(int index)
The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
getPackageIdsBytes
in interface PackageServiceOuterClass.ListPackagesResponseOrBuilder
index
- The index of the value to return.public PackageServiceOuterClass.ListPackagesResponse.Builder setPackageIds(int index, java.lang.String value)
The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
index
- The index to set the value at.value
- The packageIds to set.public PackageServiceOuterClass.ListPackagesResponse.Builder addPackageIds(java.lang.String value)
The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
value
- The packageIds to add.public PackageServiceOuterClass.ListPackagesResponse.Builder addAllPackageIds(java.lang.Iterable<java.lang.String> values)
The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
values
- The packageIds to add.public PackageServiceOuterClass.ListPackagesResponse.Builder clearPackageIds()
The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
public PackageServiceOuterClass.ListPackagesResponse.Builder addPackageIdsBytes(com.google.protobuf.ByteString value)
The IDs of all Daml-LF packages supported by the server. Each element must be a valid PackageIdString (as described in ``value.proto``). Required
repeated string package_ids = 1 [json_name = "packageIds"];
value
- The bytes of the packageIds to add.public final PackageServiceOuterClass.ListPackagesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
public final PackageServiceOuterClass.ListPackagesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>