Class PartyManagementServiceOuterClass.AllocatePartyRequest

    • Field Detail

      • PARTY_ID_HINT_FIELD_NUMBER

        public static final int PARTY_ID_HINT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DISPLAY_NAME_FIELD_NUMBER

        public static final int DISPLAY_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LOCAL_METADATA_FIELD_NUMBER

        public static final int LOCAL_METADATA_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getPartyIdHint

        public java.lang.String getPartyIdHint()
         A hint to the participant which party ID to allocate. It can be
         ignored.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Optional
         
        string party_id_hint = 1 [json_name = "partyIdHint"];
        Specified by:
        getPartyIdHint in interface PartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder
        Returns:
        The partyIdHint.
      • getPartyIdHintBytes

        public com.google.protobuf.ByteString getPartyIdHintBytes()
         A hint to the participant which party ID to allocate. It can be
         ignored.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Optional
         
        string party_id_hint = 1 [json_name = "partyIdHint"];
        Specified by:
        getPartyIdHintBytes in interface PartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder
        Returns:
        The bytes for partyIdHint.
      • getDisplayName

        public java.lang.String getDisplayName()
         Human-readable name of the party to be added to the participant. It doesn't
         have to be unique.
         Use of this field is discouraged. Use ``local_metadata`` instead.
         Optional
         
        string display_name = 2 [json_name = "displayName"];
        Specified by:
        getDisplayName in interface PartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Human-readable name of the party to be added to the participant. It doesn't
         have to be unique.
         Use of this field is discouraged. Use ``local_metadata`` instead.
         Optional
         
        string display_name = 2 [json_name = "displayName"];
        Specified by:
        getDisplayNameBytes in interface PartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder
        Returns:
        The bytes for displayName.
      • hasLocalMetadata

        public boolean hasLocalMetadata()
         Participant-local metadata to be stored in the ``PartyDetails`` of this newly allocated party.
         Optional
         
        .com.daml.ledger.api.v1.admin.ObjectMeta local_metadata = 3 [json_name = "localMetadata"];
        Specified by:
        hasLocalMetadata in interface PartyManagementServiceOuterClass.AllocatePartyRequestOrBuilder
        Returns:
        Whether the localMetadata field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static PartyManagementServiceOuterClass.AllocatePartyRequest parseFrom​(java.nio.ByteBuffer data,
                                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PartyManagementServiceOuterClass.AllocatePartyRequest parseFrom​(com.google.protobuf.ByteString data,
                                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PartyManagementServiceOuterClass.AllocatePartyRequest parseFrom​(byte[] data,
                                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • getParserForType

        public com.google.protobuf.Parser<PartyManagementServiceOuterClass.AllocatePartyRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public PartyManagementServiceOuterClass.AllocatePartyRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder