Class HookCreation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<HookCreation,HookCreation.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<HookCreation,HookCreation.Builder>
com.hedera.hashgraph.sdk.proto.HookCreation.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, HookCreationOrBuilder, Cloneable
Enclosing class:
HookCreation

public static final class HookCreation.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<HookCreation,HookCreation.Builder> implements HookCreationOrBuilder
 *
 Specifies the creation of a new hook at the given id for the given entity.
 
Protobuf type com.hedera.hapi.node.hooks.HookCreation
  • Method Details

    • hasEntityId

      public boolean hasEntityId()
       *
       The id of the hook's entity.
       
      .proto.HookEntityId entity_id = 1;
      Specified by:
      hasEntityId in interface HookCreationOrBuilder
      Returns:
      Whether the entityId field is set.
    • getEntityId

      public HookEntityId getEntityId()
       *
       The id of the hook's entity.
       
      .proto.HookEntityId entity_id = 1;
      Specified by:
      getEntityId in interface HookCreationOrBuilder
      Returns:
      The entityId.
    • setEntityId

      public HookCreation.Builder setEntityId(HookEntityId value)
       *
       The id of the hook's entity.
       
      .proto.HookEntityId entity_id = 1;
    • setEntityId

      public HookCreation.Builder setEntityId(HookEntityId.Builder builderForValue)
       *
       The id of the hook's entity.
       
      .proto.HookEntityId entity_id = 1;
    • mergeEntityId

      public HookCreation.Builder mergeEntityId(HookEntityId value)
       *
       The id of the hook's entity.
       
      .proto.HookEntityId entity_id = 1;
    • clearEntityId

      public HookCreation.Builder clearEntityId()
       *
       The id of the hook's entity.
       
      .proto.HookEntityId entity_id = 1;
    • hasDetails

      public boolean hasDetails()
       *
       The creation details.
       
      .com.hedera.hapi.node.hooks.HookCreationDetails details = 2;
      Specified by:
      hasDetails in interface HookCreationOrBuilder
      Returns:
      Whether the details field is set.
    • getDetails

      public HookCreationDetails getDetails()
       *
       The creation details.
       
      .com.hedera.hapi.node.hooks.HookCreationDetails details = 2;
      Specified by:
      getDetails in interface HookCreationOrBuilder
      Returns:
      The details.
    • setDetails

      public HookCreation.Builder setDetails(HookCreationDetails value)
       *
       The creation details.
       
      .com.hedera.hapi.node.hooks.HookCreationDetails details = 2;
    • setDetails

      public HookCreation.Builder setDetails(HookCreationDetails.Builder builderForValue)
       *
       The creation details.
       
      .com.hedera.hapi.node.hooks.HookCreationDetails details = 2;
    • mergeDetails

      public HookCreation.Builder mergeDetails(HookCreationDetails value)
       *
       The creation details.
       
      .com.hedera.hapi.node.hooks.HookCreationDetails details = 2;
    • clearDetails

      public HookCreation.Builder clearDetails()
       *
       The creation details.
       
      .com.hedera.hapi.node.hooks.HookCreationDetails details = 2;
    • hasNextHookId

      public boolean hasNextHookId()
       *
       If set, the id of the hook following this one in the owner's
       doubly-linked list of hooks.
       
      .google.protobuf.Int64Value next_hook_id = 9;
      Specified by:
      hasNextHookId in interface HookCreationOrBuilder
      Returns:
      Whether the nextHookId field is set.
    • getNextHookId

      public com.google.protobuf.Int64Value getNextHookId()
       *
       If set, the id of the hook following this one in the owner's
       doubly-linked list of hooks.
       
      .google.protobuf.Int64Value next_hook_id = 9;
      Specified by:
      getNextHookId in interface HookCreationOrBuilder
      Returns:
      The nextHookId.
    • setNextHookId

      public HookCreation.Builder setNextHookId(com.google.protobuf.Int64Value value)
       *
       If set, the id of the hook following this one in the owner's
       doubly-linked list of hooks.
       
      .google.protobuf.Int64Value next_hook_id = 9;
    • setNextHookId

      public HookCreation.Builder setNextHookId(com.google.protobuf.Int64Value.Builder builderForValue)
       *
       If set, the id of the hook following this one in the owner's
       doubly-linked list of hooks.
       
      .google.protobuf.Int64Value next_hook_id = 9;
    • mergeNextHookId

      public HookCreation.Builder mergeNextHookId(com.google.protobuf.Int64Value value)
       *
       If set, the id of the hook following this one in the owner's
       doubly-linked list of hooks.
       
      .google.protobuf.Int64Value next_hook_id = 9;
    • clearNextHookId

      public HookCreation.Builder clearNextHookId()
       *
       If set, the id of the hook following this one in the owner's
       doubly-linked list of hooks.
       
      .google.protobuf.Int64Value next_hook_id = 9;