Class RegisteredServiceEndpoint.GeneralServiceEndpoint.Builder

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

public static final class RegisteredServiceEndpoint.GeneralServiceEndpoint.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<RegisteredServiceEndpoint.GeneralServiceEndpoint,RegisteredServiceEndpoint.GeneralServiceEndpoint.Builder> implements RegisteredServiceEndpoint.GeneralServiceEndpointOrBuilder
 *
 A message indicating this endpoint is a General Service endpoint.
 
Protobuf type com.hedera.hapi.node.addressbook.RegisteredServiceEndpoint.GeneralServiceEndpoint
  • Method Details

    • getDescription

      public String getDescription()
       *
       A short description of the service provided.
       <p>
       This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
       This field is OPTIONAL.
       
      string description = 1;
      Specified by:
      getDescription in interface RegisteredServiceEndpoint.GeneralServiceEndpointOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       *
       A short description of the service provided.
       <p>
       This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
       This field is OPTIONAL.
       
      string description = 1;
      Specified by:
      getDescriptionBytes in interface RegisteredServiceEndpoint.GeneralServiceEndpointOrBuilder
      Returns:
      The bytes for description.
    • setDescription

       *
       A short description of the service provided.
       <p>
       This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
       This field is OPTIONAL.
       
      string description = 1;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

       *
       A short description of the service provided.
       <p>
       This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
       This field is OPTIONAL.
       
      string description = 1;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public RegisteredServiceEndpoint.GeneralServiceEndpoint.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       *
       A short description of the service provided.
       <p>
       This value, if set, MUST NOT exceed 100 bytes when encoded as UTF-8.<br/>
       This field is OPTIONAL.
       
      string description = 1;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.