Class Grpc.RequestHeaders.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Grpc.RequestHeaders,Grpc.RequestHeaders.Builder>
proto.rpc.webrtc.v1.Grpc.RequestHeaders.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Grpc.RequestHeadersOrBuilder
Enclosing class:
Grpc.RequestHeaders

public static final class Grpc.RequestHeaders.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Grpc.RequestHeaders,Grpc.RequestHeaders.Builder> implements Grpc.RequestHeadersOrBuilder
 RequestHeaders describe the unary or streaming call to make.
 
Protobuf type proto.rpc.webrtc.v1.RequestHeaders
  • Method Details

    • getMethod

      public String getMethod()
      string method = 1 [json_name = "method"];
      Specified by:
      getMethod in interface Grpc.RequestHeadersOrBuilder
      Returns:
      The method.
    • getMethodBytes

      public com.google.protobuf.ByteString getMethodBytes()
      string method = 1 [json_name = "method"];
      Specified by:
      getMethodBytes in interface Grpc.RequestHeadersOrBuilder
      Returns:
      The bytes for method.
    • setMethod

      public Grpc.RequestHeaders.Builder setMethod(String value)
      string method = 1 [json_name = "method"];
      Parameters:
      value - The method to set.
      Returns:
      This builder for chaining.
    • clearMethod

      public Grpc.RequestHeaders.Builder clearMethod()
      string method = 1 [json_name = "method"];
      Returns:
      This builder for chaining.
    • setMethodBytes

      public Grpc.RequestHeaders.Builder setMethodBytes(com.google.protobuf.ByteString value)
      string method = 1 [json_name = "method"];
      Parameters:
      value - The bytes for method to set.
      Returns:
      This builder for chaining.
    • hasMetadata

      public boolean hasMetadata()
      .proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
      Specified by:
      hasMetadata in interface Grpc.RequestHeadersOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public Grpc.Metadata getMetadata()
      .proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
      Specified by:
      getMetadata in interface Grpc.RequestHeadersOrBuilder
      Returns:
      The metadata.
    • setMetadata

      public Grpc.RequestHeaders.Builder setMetadata(Grpc.Metadata value)
      .proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
    • setMetadata

      public Grpc.RequestHeaders.Builder setMetadata(Grpc.Metadata.Builder builderForValue)
      .proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
    • mergeMetadata

      public Grpc.RequestHeaders.Builder mergeMetadata(Grpc.Metadata value)
      .proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
    • clearMetadata

      public Grpc.RequestHeaders.Builder clearMetadata()
      .proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
    • hasTimeout

      public boolean hasTimeout()
      .google.protobuf.Duration timeout = 3 [json_name = "timeout"];
      Specified by:
      hasTimeout in interface Grpc.RequestHeadersOrBuilder
      Returns:
      Whether the timeout field is set.
    • getTimeout

      public com.google.protobuf.Duration getTimeout()
      .google.protobuf.Duration timeout = 3 [json_name = "timeout"];
      Specified by:
      getTimeout in interface Grpc.RequestHeadersOrBuilder
      Returns:
      The timeout.
    • setTimeout

      public Grpc.RequestHeaders.Builder setTimeout(com.google.protobuf.Duration value)
      .google.protobuf.Duration timeout = 3 [json_name = "timeout"];
    • setTimeout

      public Grpc.RequestHeaders.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
      .google.protobuf.Duration timeout = 3 [json_name = "timeout"];
    • mergeTimeout

      public Grpc.RequestHeaders.Builder mergeTimeout(com.google.protobuf.Duration value)
      .google.protobuf.Duration timeout = 3 [json_name = "timeout"];
    • clearTimeout

      public Grpc.RequestHeaders.Builder clearTimeout()
      .google.protobuf.Duration timeout = 3 [json_name = "timeout"];