Class PartyManagementServiceOuterClass.PartyDetails

    • Field Detail

      • 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
      • IDENTITY_PROVIDER_ID_FIELD_NUMBER

        public static final int IDENTITY_PROVIDER_ID_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
      • 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
      • getParty

        public java.lang.String getParty()
         The stable unique identifier of a Daml party.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Required
         
        string party = 1 [json_name = "party"];
        Specified by:
        getParty in interface PartyManagementServiceOuterClass.PartyDetailsOrBuilder
        Returns:
        The party.
      • getPartyBytes

        public com.google.protobuf.ByteString getPartyBytes()
         The stable unique identifier of a Daml party.
         Must be a valid PartyIdString (as described in ``value.proto``).
         Required
         
        string party = 1 [json_name = "party"];
        Specified by:
        getPartyBytes in interface PartyManagementServiceOuterClass.PartyDetailsOrBuilder
        Returns:
        The bytes for party.
      • getDisplayName

        public java.lang.String getDisplayName()
         Human readable name associated with the party at allocation time.
         Caution, it might not be unique.
         Use of this field is discouraged. Use the `local_metadata` field instead.
         Optional
         
        string display_name = 2 [json_name = "displayName"];
        Specified by:
        getDisplayName in interface PartyManagementServiceOuterClass.PartyDetailsOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Human readable name associated with the party at allocation time.
         Caution, it might not be unique.
         Use of this field is discouraged. Use the `local_metadata` field instead.
         Optional
         
        string display_name = 2 [json_name = "displayName"];
        Specified by:
        getDisplayNameBytes in interface PartyManagementServiceOuterClass.PartyDetailsOrBuilder
        Returns:
        The bytes for displayName.
      • getIsLocal

        public boolean getIsLocal()
         true if party is hosted by the participant and the party shares the same identity provider as the user issuing the request.
         Optional
         
        bool is_local = 3 [json_name = "isLocal"];
        Specified by:
        getIsLocal in interface PartyManagementServiceOuterClass.PartyDetailsOrBuilder
        Returns:
        The isLocal.
      • hasLocalMetadata

        public boolean hasLocalMetadata()
         Participant-local metadata of this party.
         Optional,
         Modifiable
         
        .com.daml.ledger.api.v1.admin.ObjectMeta local_metadata = 4 [json_name = "localMetadata"];
        Specified by:
        hasLocalMetadata in interface PartyManagementServiceOuterClass.PartyDetailsOrBuilder
        Returns:
        Whether the localMetadata field is set.
      • getIdentityProviderId

        public java.lang.String getIdentityProviderId()
         The id of the ``Identity Provider``
         Optional, if not set, there could be 3 options:
         1) the party is managed by the default identity provider.
         2) party is not hosted by the participant.
         3) party is hosted by the participant, but is outside of the user's identity provider.
         
        string identity_provider_id = 5 [json_name = "identityProviderId"];
        Specified by:
        getIdentityProviderId in interface PartyManagementServiceOuterClass.PartyDetailsOrBuilder
        Returns:
        The identityProviderId.
      • getIdentityProviderIdBytes

        public com.google.protobuf.ByteString getIdentityProviderIdBytes()
         The id of the ``Identity Provider``
         Optional, if not set, there could be 3 options:
         1) the party is managed by the default identity provider.
         2) party is not hosted by the participant.
         3) party is hosted by the participant, but is outside of the user's identity provider.
         
        string identity_provider_id = 5 [json_name = "identityProviderId"];
        Specified by:
        getIdentityProviderIdBytes in interface PartyManagementServiceOuterClass.PartyDetailsOrBuilder
        Returns:
        The bytes for identityProviderId.
      • 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.PartyDetails parseFrom​(java.nio.ByteBuffer data)
                                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

        public static PartyManagementServiceOuterClass.PartyDetails parseFrom​(com.google.protobuf.ByteString data)
                                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PartyManagementServiceOuterClass.PartyDetails 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.PartyDetails parseFrom​(byte[] data,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static PartyManagementServiceOuterClass.PartyDetails parseFrom​(java.io.InputStream input,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static PartyManagementServiceOuterClass.PartyDetails parseDelimitedFrom​(java.io.InputStream input,
                                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static PartyManagementServiceOuterClass.PartyDetails parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • getParserForType

        public com.google.protobuf.Parser<PartyManagementServiceOuterClass.PartyDetails> 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.PartyDetails getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder