Class ContractServiceOuterClass.GetContractResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
com.daml.ledger.api.v2.ContractServiceOuterClass.GetContractResponse.Builder
All Implemented Interfaces:
ContractServiceOuterClass.GetContractResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ContractServiceOuterClass.GetContractResponse

public static final class ContractServiceOuterClass.GetContractResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder> implements ContractServiceOuterClass.GetContractResponseOrBuilder
Protobuf type com.daml.ledger.api.v2.GetContractResponse
  • Method Details

    • 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.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
    • getDefaultInstanceForType

      public ContractServiceOuterClass.GetContractResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
    • setField

      public ContractServiceOuterClass.GetContractResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
    • clearField

      public ContractServiceOuterClass.GetContractResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
    • clearOneof

      public ContractServiceOuterClass.GetContractResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
    • setRepeatedField

      public ContractServiceOuterClass.GetContractResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
    • addRepeatedField

      public ContractServiceOuterClass.GetContractResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
    • mergeFrom

      public ContractServiceOuterClass.GetContractResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
    • mergeFrom

      public ContractServiceOuterClass.GetContractResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
      Throws:
      IOException
    • hasCreatedEvent

      public boolean hasCreatedEvent()
       The representative_package_id will be always set to the contract package ID, therefore this endpoint should
       not be used to lookup contract which entered the participant via party replication or repair service.
       The witnesses field will contain only the querying_parties which are also stakeholders of the contract as well.
       The following fields of the created event cannot be populated, so those should not be used / parsed:
      
       - offset
       - node_id
       - created_event_blob
       - interface_views
       - acs_delta
      
       Required
       
      .com.daml.ledger.api.v2.CreatedEvent created_event = 1;
      Specified by:
      hasCreatedEvent in interface ContractServiceOuterClass.GetContractResponseOrBuilder
      Returns:
      Whether the createdEvent field is set.
    • getCreatedEvent

      public EventOuterClass.CreatedEvent getCreatedEvent()
       The representative_package_id will be always set to the contract package ID, therefore this endpoint should
       not be used to lookup contract which entered the participant via party replication or repair service.
       The witnesses field will contain only the querying_parties which are also stakeholders of the contract as well.
       The following fields of the created event cannot be populated, so those should not be used / parsed:
      
       - offset
       - node_id
       - created_event_blob
       - interface_views
       - acs_delta
      
       Required
       
      .com.daml.ledger.api.v2.CreatedEvent created_event = 1;
      Specified by:
      getCreatedEvent in interface ContractServiceOuterClass.GetContractResponseOrBuilder
      Returns:
      The createdEvent.
    • setCreatedEvent

       The representative_package_id will be always set to the contract package ID, therefore this endpoint should
       not be used to lookup contract which entered the participant via party replication or repair service.
       The witnesses field will contain only the querying_parties which are also stakeholders of the contract as well.
       The following fields of the created event cannot be populated, so those should not be used / parsed:
      
       - offset
       - node_id
       - created_event_blob
       - interface_views
       - acs_delta
      
       Required
       
      .com.daml.ledger.api.v2.CreatedEvent created_event = 1;
    • setCreatedEvent

       The representative_package_id will be always set to the contract package ID, therefore this endpoint should
       not be used to lookup contract which entered the participant via party replication or repair service.
       The witnesses field will contain only the querying_parties which are also stakeholders of the contract as well.
       The following fields of the created event cannot be populated, so those should not be used / parsed:
      
       - offset
       - node_id
       - created_event_blob
       - interface_views
       - acs_delta
      
       Required
       
      .com.daml.ledger.api.v2.CreatedEvent created_event = 1;
    • mergeCreatedEvent

       The representative_package_id will be always set to the contract package ID, therefore this endpoint should
       not be used to lookup contract which entered the participant via party replication or repair service.
       The witnesses field will contain only the querying_parties which are also stakeholders of the contract as well.
       The following fields of the created event cannot be populated, so those should not be used / parsed:
      
       - offset
       - node_id
       - created_event_blob
       - interface_views
       - acs_delta
      
       Required
       
      .com.daml.ledger.api.v2.CreatedEvent created_event = 1;
    • clearCreatedEvent

       The representative_package_id will be always set to the contract package ID, therefore this endpoint should
       not be used to lookup contract which entered the participant via party replication or repair service.
       The witnesses field will contain only the querying_parties which are also stakeholders of the contract as well.
       The following fields of the created event cannot be populated, so those should not be used / parsed:
      
       - offset
       - node_id
       - created_event_blob
       - interface_views
       - acs_delta
      
       Required
       
      .com.daml.ledger.api.v2.CreatedEvent created_event = 1;
    • getCreatedEventBuilder

      public EventOuterClass.CreatedEvent.Builder getCreatedEventBuilder()
       The representative_package_id will be always set to the contract package ID, therefore this endpoint should
       not be used to lookup contract which entered the participant via party replication or repair service.
       The witnesses field will contain only the querying_parties which are also stakeholders of the contract as well.
       The following fields of the created event cannot be populated, so those should not be used / parsed:
      
       - offset
       - node_id
       - created_event_blob
       - interface_views
       - acs_delta
      
       Required
       
      .com.daml.ledger.api.v2.CreatedEvent created_event = 1;
    • getCreatedEventOrBuilder

      public EventOuterClass.CreatedEventOrBuilder getCreatedEventOrBuilder()
       The representative_package_id will be always set to the contract package ID, therefore this endpoint should
       not be used to lookup contract which entered the participant via party replication or repair service.
       The witnesses field will contain only the querying_parties which are also stakeholders of the contract as well.
       The following fields of the created event cannot be populated, so those should not be used / parsed:
      
       - offset
       - node_id
       - created_event_blob
       - interface_views
       - acs_delta
      
       Required
       
      .com.daml.ledger.api.v2.CreatedEvent created_event = 1;
      Specified by:
      getCreatedEventOrBuilder in interface ContractServiceOuterClass.GetContractResponseOrBuilder
    • setUnknownFields

      public final ContractServiceOuterClass.GetContractResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder>
    • mergeUnknownFields

      public final ContractServiceOuterClass.GetContractResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractResponse.Builder>