Class RequestOp.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RequestOp.Builder>
com.google.protobuf.GeneratedMessage.Builder<RequestOp.Builder>
io.vertx.grpc.event.v1alpha.RequestOp.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RequestOpOrBuilder, Cloneable
Enclosing class:
RequestOp

public static final class RequestOp.Builder extends com.google.protobuf.GeneratedMessage.Builder<RequestOp.Builder> implements RequestOpOrBuilder
Message used for request-reply pattern
Protobuf type vertx.event.v1alpha.RequestOp
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<RequestOp.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<RequestOp.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RequestOp.Builder>
    • clear

      public RequestOp.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.GeneratedMessage.Builder<RequestOp.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.GeneratedMessage.Builder<RequestOp.Builder>
    • getDefaultInstanceForType

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

      public RequestOp build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RequestOp buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RequestOp.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<RequestOp.Builder>
    • mergeFrom

      public RequestOp.Builder mergeFrom(RequestOp other)
    • isInitialized

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

      public RequestOp.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<RequestOp.Builder>
      Throws:
      IOException
    • getAddress

      public String getAddress()
      The address the message was sent to
      
      string address = 1;
      Specified by:
      getAddress in interface RequestOpOrBuilder
      Returns:
      The address.
    • getAddressBytes

      public com.google.protobuf.ByteString getAddressBytes()
      The address the message was sent to
      
      string address = 1;
      Specified by:
      getAddressBytes in interface RequestOpOrBuilder
      Returns:
      The bytes for address.
    • setAddress

      public RequestOp.Builder setAddress(String value)
      The address the message was sent to
      
      string address = 1;
      Parameters:
      value - The address to set.
      Returns:
      This builder for chaining.
    • clearAddress

      public RequestOp.Builder clearAddress()
      The address the message was sent to
      
      string address = 1;
      Returns:
      This builder for chaining.
    • setAddressBytes

      public RequestOp.Builder setAddressBytes(com.google.protobuf.ByteString value)
      The address the message was sent to
      
      string address = 1;
      Parameters:
      value - The bytes for address to set.
      Returns:
      This builder for chaining.
    • getHeadersCount

      public int getHeadersCount()
      Description copied from interface: RequestOpOrBuilder
      Message headers
      
      map<string, string> headers = 2;
      Specified by:
      getHeadersCount in interface RequestOpOrBuilder
    • containsHeaders

      public boolean containsHeaders(String key)
      Message headers
      
      map<string, string> headers = 2;
      Specified by:
      containsHeaders in interface RequestOpOrBuilder
    • getHeaders

      @Deprecated public Map<String,String> getHeaders()
      Deprecated.
      Use getHeadersMap() instead.
      Specified by:
      getHeaders in interface RequestOpOrBuilder
    • getHeadersMap

      public Map<String,String> getHeadersMap()
      Message headers
      
      map<string, string> headers = 2;
      Specified by:
      getHeadersMap in interface RequestOpOrBuilder
    • getHeadersOrDefault

      public String getHeadersOrDefault(String key, String defaultValue)
      Message headers
      
      map<string, string> headers = 2;
      Specified by:
      getHeadersOrDefault in interface RequestOpOrBuilder
    • getHeadersOrThrow

      public String getHeadersOrThrow(String key)
      Message headers
      
      map<string, string> headers = 2;
      Specified by:
      getHeadersOrThrow in interface RequestOpOrBuilder
    • clearHeaders

      public RequestOp.Builder clearHeaders()
    • removeHeaders

      public RequestOp.Builder removeHeaders(String key)
      Message headers
      
      map<string, string> headers = 2;
    • getMutableHeaders

      @Deprecated public Map<String,String> getMutableHeaders()
      Deprecated.
      Use alternate mutation accessors instead.
    • putHeaders

      public RequestOp.Builder putHeaders(String key, String value)
      Message headers
      
      map<string, string> headers = 2;
    • putAllHeaders

      public RequestOp.Builder putAllHeaders(Map<String,String> values)
      Message headers
      
      map<string, string> headers = 2;
    • hasBody

      public boolean hasBody()
      Message payload
      
      .vertx.event.v1alpha.JsonValue body = 3;
      Specified by:
      hasBody in interface RequestOpOrBuilder
      Returns:
      Whether the body field is set.
    • getBody

      public JsonValue getBody()
      Message payload
      
      .vertx.event.v1alpha.JsonValue body = 3;
      Specified by:
      getBody in interface RequestOpOrBuilder
      Returns:
      The body.
    • setBody

      public RequestOp.Builder setBody(JsonValue value)
      Message payload
      
      .vertx.event.v1alpha.JsonValue body = 3;
    • setBody

      public RequestOp.Builder setBody(JsonValue.Builder builderForValue)
      Message payload
      
      .vertx.event.v1alpha.JsonValue body = 3;
    • mergeBody

      public RequestOp.Builder mergeBody(JsonValue value)
      Message payload
      
      .vertx.event.v1alpha.JsonValue body = 3;
    • clearBody

      public RequestOp.Builder clearBody()
      Message payload
      
      .vertx.event.v1alpha.JsonValue body = 3;
    • getBodyBuilder

      public JsonValue.Builder getBodyBuilder()
      Message payload
      
      .vertx.event.v1alpha.JsonValue body = 3;
    • getBodyOrBuilder

      public JsonValueOrBuilder getBodyOrBuilder()
      Message payload
      
      .vertx.event.v1alpha.JsonValue body = 3;
      Specified by:
      getBodyOrBuilder in interface RequestOpOrBuilder
    • getReplyBodyFormatValue

      public int getReplyBodyFormatValue()
      The desired format of the reply body
      
      .vertx.event.v1alpha.JsonValueFormat reply_body_format = 4;
      Specified by:
      getReplyBodyFormatValue in interface RequestOpOrBuilder
      Returns:
      The enum numeric value on the wire for replyBodyFormat.
    • setReplyBodyFormatValue

      public RequestOp.Builder setReplyBodyFormatValue(int value)
      The desired format of the reply body
      
      .vertx.event.v1alpha.JsonValueFormat reply_body_format = 4;
      Parameters:
      value - The enum numeric value on the wire for replyBodyFormat to set.
      Returns:
      This builder for chaining.
    • getReplyBodyFormat

      public JsonValueFormat getReplyBodyFormat()
      The desired format of the reply body
      
      .vertx.event.v1alpha.JsonValueFormat reply_body_format = 4;
      Specified by:
      getReplyBodyFormat in interface RequestOpOrBuilder
      Returns:
      The replyBodyFormat.
    • setReplyBodyFormat

      public RequestOp.Builder setReplyBodyFormat(JsonValueFormat value)
      The desired format of the reply body
      
      .vertx.event.v1alpha.JsonValueFormat reply_body_format = 4;
      Parameters:
      value - The replyBodyFormat to set.
      Returns:
      This builder for chaining.
    • clearReplyBodyFormat

      public RequestOp.Builder clearReplyBodyFormat()
      The desired format of the reply body
      
      .vertx.event.v1alpha.JsonValueFormat reply_body_format = 4;
      Returns:
      This builder for chaining.
    • hasTimeout

      public boolean hasTimeout()
      Timeout in milliseconds
      
      .google.protobuf.Duration timeout = 5;
      Specified by:
      hasTimeout in interface RequestOpOrBuilder
      Returns:
      Whether the timeout field is set.
    • getTimeout

      public com.google.protobuf.Duration getTimeout()
      Timeout in milliseconds
      
      .google.protobuf.Duration timeout = 5;
      Specified by:
      getTimeout in interface RequestOpOrBuilder
      Returns:
      The timeout.
    • setTimeout

      public RequestOp.Builder setTimeout(com.google.protobuf.Duration value)
      Timeout in milliseconds
      
      .google.protobuf.Duration timeout = 5;
    • setTimeout

      public RequestOp.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
      Timeout in milliseconds
      
      .google.protobuf.Duration timeout = 5;
    • mergeTimeout

      public RequestOp.Builder mergeTimeout(com.google.protobuf.Duration value)
      Timeout in milliseconds
      
      .google.protobuf.Duration timeout = 5;
    • clearTimeout

      public RequestOp.Builder clearTimeout()
      Timeout in milliseconds
      
      .google.protobuf.Duration timeout = 5;
    • getTimeoutBuilder

      public com.google.protobuf.Duration.Builder getTimeoutBuilder()
      Timeout in milliseconds
      
      .google.protobuf.Duration timeout = 5;
    • getTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
      Timeout in milliseconds
      
      .google.protobuf.Duration timeout = 5;
      Specified by:
      getTimeoutOrBuilder in interface RequestOpOrBuilder