Class HealthCheckRequest.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      HealthCheckRequest.Builder clearService()
      optional string service = 1 [json_name = "service"];
      HealthCheckRequest.Builder clearTimeout()
      optional int32 timeout = 2 [json_name = "timeout"];
      java.lang.String getService()
      optional string service = 1 [json_name = "service"];
      com.google.protobuf.ByteString getServiceBytes()
      optional string service = 1 [json_name = "service"];
      int getTimeout()
      optional int32 timeout = 2 [json_name = "timeout"];
      boolean hasService()
      optional string service = 1 [json_name = "service"];
      boolean hasTimeout()
      optional int32 timeout = 2 [json_name = "timeout"];
      HealthCheckRequest.Builder setService​(java.lang.String value)
      optional string service = 1 [json_name = "service"];
      HealthCheckRequest.Builder setServiceBytes​(com.google.protobuf.ByteString value)
      optional string service = 1 [json_name = "service"];
      HealthCheckRequest.Builder setTimeout​(int value)
      optional int32 timeout = 2 [json_name = "timeout"];
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • hasService

        public boolean hasService()
        optional string service = 1 [json_name = "service"];
        Specified by:
        hasService in interface HealthCheckRequestOrBuilder
        Returns:
        Whether the service field is set.
      • getService

        public java.lang.String getService()
        optional string service = 1 [json_name = "service"];
        Specified by:
        getService in interface HealthCheckRequestOrBuilder
        Returns:
        The service.
      • getServiceBytes

        public com.google.protobuf.ByteString getServiceBytes()
        optional string service = 1 [json_name = "service"];
        Specified by:
        getServiceBytes in interface HealthCheckRequestOrBuilder
        Returns:
        The bytes for service.
      • setService

        public HealthCheckRequest.Builder setService​(java.lang.String value)
        optional string service = 1 [json_name = "service"];
        Parameters:
        value - The service to set.
        Returns:
        This builder for chaining.
      • clearService

        public HealthCheckRequest.Builder clearService()
        optional string service = 1 [json_name = "service"];
        Returns:
        This builder for chaining.
      • setServiceBytes

        public HealthCheckRequest.Builder setServiceBytes​(com.google.protobuf.ByteString value)
        optional string service = 1 [json_name = "service"];
        Parameters:
        value - The bytes for service to set.
        Returns:
        This builder for chaining.
      • hasTimeout

        public boolean hasTimeout()
        optional int32 timeout = 2 [json_name = "timeout"];
        Specified by:
        hasTimeout in interface HealthCheckRequestOrBuilder
        Returns:
        Whether the timeout field is set.
      • setTimeout

        public HealthCheckRequest.Builder setTimeout​(int value)
        optional int32 timeout = 2 [json_name = "timeout"];
        Parameters:
        value - The timeout to set.
        Returns:
        This builder for chaining.
      • clearTimeout

        public HealthCheckRequest.Builder clearTimeout()
        optional int32 timeout = 2 [json_name = "timeout"];
        Returns:
        This builder for chaining.