Example #1
0
 public Builder SetStatus(global::Grpc.Health.V1Alpha.HealthCheckResponse.Types.ServingStatus value)
 {
     PrepareBuilder();
     result.hasStatus = true;
     result.status_   = value;
     return(this);
 }
Example #2
0
 public void MergeFrom(HealthCheckResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Status != global::Grpc.Health.V1Alpha.HealthCheckResponse.Types.ServingStatus.UNKNOWN)
     {
         Status = other.Status;
     }
 }
Example #3
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 8: {
                    status_ = (global::Grpc.Health.V1Alpha.HealthCheckResponse.Types.ServingStatus)input.ReadEnum();
                    break;
                }
                }
            }
        }