Package com.daml.ledger.api.v1
Class PackageServiceOuterClass.ListPackagesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
- com.daml.ledger.api.v1.PackageServiceOuterClass.ListPackagesResponse.Builder
-
- All Implemented Interfaces:
PackageServiceOuterClass.ListPackagesResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- PackageServiceOuterClass.ListPackagesResponse
public static final class PackageServiceOuterClass.ListPackagesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder> implements PackageServiceOuterClass.ListPackagesResponseOrBuilder
Protobuf typecom.daml.ledger.api.v1.ListPackagesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(PackageServiceOuterClass.ListPackagesResponse other)
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
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)
-
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<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
clear
public PackageServiceOuterClass.ListPackagesResponse.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<PackageServiceOuterClass.ListPackagesResponse.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<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
getDefaultInstanceForType
public PackageServiceOuterClass.ListPackagesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PackageServiceOuterClass.ListPackagesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PackageServiceOuterClass.ListPackagesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PackageServiceOuterClass.ListPackagesResponse.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<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
setField
public PackageServiceOuterClass.ListPackagesResponse.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<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
clearField
public PackageServiceOuterClass.ListPackagesResponse.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<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
clearOneof
public PackageServiceOuterClass.ListPackagesResponse.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<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
setRepeatedField
public PackageServiceOuterClass.ListPackagesResponse.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<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
addRepeatedField
public PackageServiceOuterClass.ListPackagesResponse.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<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
mergeFrom
public PackageServiceOuterClass.ListPackagesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
mergeFrom
public PackageServiceOuterClass.ListPackagesResponse.Builder mergeFrom(PackageServiceOuterClass.ListPackagesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
mergeFrom
public PackageServiceOuterClass.ListPackagesResponse.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<PackageServiceOuterClass.ListPackagesResponse.Builder>
- Throws:
java.io.IOException
-
getPackageIdsList
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"];
- Specified by:
getPackageIdsList
in interfacePackageServiceOuterClass.ListPackagesResponseOrBuilder
- Returns:
- A list containing the packageIds.
-
getPackageIdsCount
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"];
- Specified by:
getPackageIdsCount
in interfacePackageServiceOuterClass.ListPackagesResponseOrBuilder
- Returns:
- The count of packageIds.
-
getPackageIds
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"];
- Specified by:
getPackageIds
in interfacePackageServiceOuterClass.ListPackagesResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The packageIds at the given index.
-
getPackageIdsBytes
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"];
- Specified by:
getPackageIdsBytes
in interfacePackageServiceOuterClass.ListPackagesResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the packageIds at the given index.
-
setPackageIds
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"];
- Parameters:
index
- The index to set the value at.value
- The packageIds to set.- Returns:
- This builder for chaining.
-
addPackageIds
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"];
- Parameters:
value
- The packageIds to add.- Returns:
- This builder for chaining.
-
addAllPackageIds
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"];
- Parameters:
values
- The packageIds to add.- Returns:
- This builder for chaining.
-
clearPackageIds
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"];
- Returns:
- This builder for chaining.
-
addPackageIdsBytes
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"];
- Parameters:
value
- The bytes of the packageIds to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PackageServiceOuterClass.ListPackagesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
mergeUnknownFields
public final PackageServiceOuterClass.ListPackagesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.ListPackagesResponse.Builder>
-
-